dead code

dead code

[′ded ′kōd]
(computer science)
Statements in a computer program that are not executed, usually as the result of modification of a large program.

dead code

(programming)
(Or "infeasible path", "grunge") Any part of a program that can never be accessed because all calls to it have been removed, or because it is guarded by a control structure that provably must always transfer control somewhere else. The presence of dead code may reveal either logical errors due to alterations in the program or significant changes in the assumptions and environment of the program (see also software rot); a good compiler should report dead code so a maintainer can think about what it means. Sometimes it simply means that an *extremely* defensive programmer has inserted can't happen tests which really can't happen - yet.

Synonym grunge.
Mentioned in ?
References in periodicals archive ?
This new solution can find issues such as incorrect expressions, dead code, syntax errors, leaking variables and many more.
For JavaScript Streaming, it downloads only what a web page or web application needs, while ignoring unused or dead code.
Hezbollah's priority lies in letting PM-designate Salam assume the mantle of premiership in a bid to prepare for elections even though, those could not based on the dead Code # 60.
FILMFLEX WARGAMES: THE DEAD CODE Acomputer hacker stumbles on a top-secret government anti-terrorist programme and pushes the world to the brink of nuclear war.
There's a straight-to-DVD update out, too, called "WarGames: The Dead Code.
Topics include performance of MANET multicast routing algorithms with multiple sources, load balancing using connection pool in RFID middleware, kernel-based learning suitable for text categorization, reengineering class hierarchies into 3D bridge form, and dead code elimination in CTOC.
Further, the Modernization Workbench can accelerate code renovation activities like dead code removal that streamline the application.
Dead code is code that has been replaced by new code that performs the same function.
Fadlullah criticized attempts undertaken by certain politicians aimed at reviving the # 60 electoral Code; extending deadlines would be tantamount to reviving a dead code, he concluded.
The product reduces software maintenance costs by eliminating dead code.
These can be used to simplify a wide range of tasks, including (for example) converting currency, checking Website links, debugging CGI programs, getting stock quotes, and locating dead code.
Thanks to tools like this, developers can quickly identify and correct application shortcomings whether they are caused by incomplete or erroneous test cases, imprecise or inadequate requirements or unexecutable dead code.