Friday, March 17, 2023

Indicators for bad software design

There are many well known bad code indicator which are tested by different metric tools like PMD, FindBugs/SpotBugs, Sonar or ..


 

But there some bad software design indicators that are not covered by tools, at the moment. Remember these indicator works well for every day software development.

  1. Test are not executable at my developer computer
  2. Long test methods or test classes
  3. Tests with conditions (if, ...)
  4. Test with checks against a logger
  5. Inheritance in test or in main code
  6. Comments 
  7. Byte code or class manipulation
  8. ... will be extended

Not every indicator will point to bad code but in over 90% the indicator is right. I will explain the indicator in later posts. 

If you know a good indicator for bad software design. Please comment!


No comments:

Post a Comment