Bug Points
An incomplete list.
Per:
- line of code: 1 point
- line of generated code: 5 points
- repeated line of code: 50 points
- repeated comment: 10 points
- TODO note: -10 points
- comment explaining hack: -10 points
- hack: 50 points
- clever hack: -50 points
- memory leak: 10 points
- ignored warning: 100-1000 points
- public but should be private: 100 points
- unreadable line of code: 50 points
- whitespace at the end of a line of code: 15 points
- a tab: 25 points
- incorrect indentation: 5 points
Compare: technical debt.