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.
- Test are not executable at my developer computer
- Long test methods or test classes
- Tests with conditions (if, ...)
- Test with checks against a logger
- Inheritance in test or in main code
- Comments
- Byte code or class manipulation
- ... 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