This anti-pattern applies to functions/methods which are not called.

Impact

  • Unused methods unnecessarily bloat the code.
  • Such methods adversely impact understandability and maintainability.

Characteristics

  • A function/ method is not called.

Guidelines

  • Consider removing or commenting the unused methods.