Code Run Only By Tests

Definition:

  • Dead code (never touched in production) is very confusing to the developer trying to understand the system. Tested dead code doubly so.

References:

Quality attributes

  • - Code Example

  • - Cause and Effect

  • - Frequency

  • - Refactoring