Redundant code
From Wikipedia, the free encyclopedia
Redundant code is a computer programming term for code that is executed but has no effect on the output of a program (dead code is the term applied to code that is never executed).
Some developers also apply this term to what is essentially duplicate code. The argument being that the second and subsequent copies of functionally the same code are redundant because they could all be encapsulated in (for instance) a function definition.
A NOP might be considered to be redundant code that has been explicitly inserted to pad out the instruction stream or introduce a time delay.