Dashboards
Projects
Recent Projects
All Projects
Measures
Issues
Rules
Quality Profiles
Quality Gates
Log in
Efficient Hill Climbers
Dashboard
Issues
Time Machine
Tools
Components
Issues Drilldown
Design
Libraries
Compare
Efficient Hill Climbers
[
hide
]
[
hide
]
[
hide
]
Time changes...
Δ since previous analysis (26 Jul 2015)
Δ over 30 days (24 Jul 2015)
Severity
Blocker
0
Critical
1
Major
674
Minor
618
Info
22
Rule
Switch cases should end with an unconditional "break" statement
1
Standard outputs should not be used directly to log anything
137
Local variable and method parameter names should comply with a naming convention
121
Control structures should use curly braces
63
Generic exceptions should never be thrown
43
Branches should have sufficient coverage by unit tests
42
Strings literals should be placed on the left side when checking for equality
36
Sections of code should not be "commented out"
34
Methods should not be too complex
30
Class variable fields should not have public accessibility
24
Source files should not have any duplicated blocks
24
Empty statements should be removed
10
Field names should comply with a naming convention
10
Method parameters, caught exceptions and foreach variables should not be reassigned
9
Utility classes should not have public constructors
8
Lambdas and anonymous classes should not have too many lines
8
Exception handlers should preserve the original exceptions
7
Statements should be on separate lines
7
Local variables should not shadow class fields
7
Try-catch blocks should not be nested
6
Collection.isEmpty() should be used to test for emptiness
6
Assignments should not be made from within sub-expressions
6
Useless parentheses around expressions should be removed to prevent any misunderstanding
5
Unused local variables should be removed
4
Generic wildcard types should not be used in return parameters
4
"switch case" clauses should not have too many lines
4
Close curly brace and the next "else", "catch" and "finally" keywords should be located on the same line
3
"switch" statements should end with "default" clauses
2
Collapsible "if" statements should be merged
2
Empty arrays and collections should be returned instead of null
2
Synchronized classes Vector, Hashtable, Stack and StringBuffer should not be used
2
Declarations should use Java collection interfaces such as "List" rather than specific implementation classes such as "LinkedList"
2
Loops should not contain more than a single "break" or "continue" statement
2
The default unnamed package should not be used
1
Unused method parameters should be removed
1
Only static class initializers should be used
1
Public methods should throw at most one checked exception
1
Magic numbers should not be used
432
Tabulation characters should not be used
72
Control flow statements "if", "for", "while", "switch" and "try" should not be nested too deeply
49
Useless imports should be removed
26
The members of an interface declaration or class should appear in a pre-defined order
16
Comments should not be located at the end of lines of code
11
String literals should not be duplicated
4
Array designators "[]" should be on the type, not the variable
4
Local Variables should not be declared and then immediately returned or thrown
2
Boolean literals should not be redundant
1
Overriding methods should do more than simply call the same method in the super class
1
"TODO" tags should be handled
22
src/main/java/neo/landscape/theory/apps/pseudoboolean/experiments
291
src/test/java
243
src/main/java/neo/landscape/theory/apps/pseudoboolean/parsers
142
src/main/java/neo/landscape/theory/apps/pseudoboolean/problems
122
src/main/java/neo/landscape/theory/apps/graphcoloring
98
src/main/java/neo/landscape/theory/apps/pseudoboolean/hillclimbers
85
src/test/java/neo/landscape/theory/apps/pseudoboolean
73
src/main/java/neo/landscape/theory/apps/pseudoboolean/exactsolvers
72
src/main/java/neo/landscape/theory/apps/util
63
src/main/java/neo/landscape/theory/apps/pseudoboolean
60
src/main/java/neo/landscape/theory/apps/pseudoboolean/util
37
src/main/java/neo/landscape/theory/apps/pseudoboolean/px
11
src/main/java/neo/landscape/theory/apps/efficienthc
11
src/test/java/neo/landscape/theory/apps/util
4
src/test/java/neo/landscape/theory/apps/pseudoboolean/parsers
3
EfficientHillClimberTest.java
243