Computer Programming Software Terms, Glossary and Dictionary

Dead CodeĀ 

In computer programming, dead code, also known as unreachable code, typically consists of blocks of programming instructions or entire routines that will never be accessed because all calls to them have been removed, or code that cannot be reached for some reason. Dead code is undesirable for a number of reasons, but primarily because it suggests that there is a fault in the software. Detecting dead code is a form of static analysis and involves performing control flow analysis to find any code that will never be executed regardless of the values of variables and other conditions at runtime.



Related Terms:

Dead CodeĀ