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 ?
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.
QA-C++ now has accurate, precise detection of important defect and security vulnerabilities including buffer overflows, division by zero, null pointer dereference, integer overflow, loss making conversions, dead code, unusual logic flows and much more, by linking the in-depth language analysis performed by QA-C++ with its state of the art SMT solver.
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.
He'd worked on the front end, the user interface, and all that was dead code by now, decomposing bits on a tape in a cold storage room somewhere.
Classical optimizations that are effective in reducing code size include the elimination of redundant, unreachable, and dead code, as well as certain kinds of strength reduction.
It also removes dead code and can provide reports to help with the simplification and acceleration of program analysis, testing and debugging.
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.
Improved reachability analysis to identify and highlight dead code.