src/main/java/neo/landscape/theory/apps/pseudoboolean/experiments

Severity

Blocker 0
Critical 0
Major 204
Minor 74
Info 13

Rule

Standard outputs should not be used directly to log anything 45
Control structures should use curly braces 30
Strings literals should be placed on the left side when checking for equality 22
Local variable and method parameter names should comply with a naming convention 20
Generic exceptions should never be thrown 16
Branches should have sufficient coverage by unit tests 11
Source files should not have any duplicated blocks 9
Methods should not be too complex 8
Statements should be on separate lines 7
Class variable fields should not have public accessibility 5
Collection.isEmpty() should be used to test for emptiness 5
Local variables should not shadow class fields 4
Exception handlers should preserve the original exceptions 3
Sections of code should not be "commented out" 3
Empty statements should be removed 3
Synchronized classes Vector, Hashtable, Stack and StringBuffer should not be used 2
Method parameters, caught exceptions and foreach variables should not be reassigned 2
Unused local variables should be removed 2
Field names should comply with a naming convention 2
Empty arrays and collections should be returned instead of null 1
Utility classes should not have public constructors 1
Loops should not contain more than a single "break" or "continue" statement 1
Generic wildcard types should not be used in return parameters 1
Collapsible "if" statements should be merged 1
Magic numbers should not be used 56
Tabulation characters should not be used 10
Useless imports should be removed 4
Control flow statements "if", "for", "while", "switch" and "try" should not be nested too deeply 3
Local Variables should not be declared and then immediately returned or thrown 1
"TODO" tags should be handled 13