Low-quality code, or How to fight the seven deadly sins of a developer
summary
An overview of common low-quality code issues in Java and practical ways to address them using SonarSource tools and code analysis techniques. It covers seven major developer 'sins' (types of problematic practices) and recommends automated static analysis and best-practice fixes to improve code quality.
AI-written summary · about
chapters (22)
- 0:00Introduction
- 1:52Who works already
- 3:18Ideal vs real development
- 5:45Technical debt explained
- 8:56Seven deadly sins of code
- 12:48Sin one: complexity
- 14:12Sin two: spaghetti design
- 15:35Sin three: bad comments
- 17:32Sin four: coding standards
- 20:00Time spent reading code
- 21:50Sin five: goto statements
- 24:03Code coverage explained
- 27:00Coverage target values
- 29:51100% coverage myth
- 31:23Sin six: potential bugs
- 33:10Sin seven: duplicated code
- 35:18Broken windows theory
- 36:24Measuring code quality
- 38:33Static analysis tools
- 41:02Fixing debt in releases
- 42:28Root cause fixes
- 43:34Clean code principles
