The following document contains the results of Checkstyle 6.2 with development/dsol-checks.xml ruleset.
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | NeedBraces | 8 | ![]() |
design | DesignForExtension | 22 | ![]() |
imports | UnusedImports | 7 | ![]() |
javadoc | JavadocPackage | 1 | ![]() |
misc | FinalParameters | 7 | ![]() |
TodoComment | 1 | ![]() | |
modifier | RedundantModifier | 1 | ![]() |
sizes | LineLength
|
3 | ![]() |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 139). | 52 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 81 |
![]() |
design | DesignForExtension | Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 93 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 96 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 98 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 100 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 103 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 107 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 110 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 114 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 117 |
![]() |
design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 123 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | FinalParameters | Parameter position should be final. | 65 |
![]() |
design | DesignForExtension | Method 'toString' is not designed for extension - needs to be abstract, final or empty. | 72 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 138). | 82 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | UnusedImports | Unused import - java.util.HashMap. | 3 |
![]() |
imports | UnusedImports | Unused import - java.util.HashSet. | 4 |
![]() |
design | DesignForExtension | Method 'contains' is not designed for extension - needs to be abstract, final or empty. | 127 |
![]() |
design | DesignForExtension | Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. | 311 |
![]() |
design | DesignForExtension | Method 'equals' is not designed for extension - needs to be abstract, final or empty. | 325 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Method 'getLowerValue' is not designed for extension - needs to be abstract, final or empty. | 39 |
![]() |
design | DesignForExtension | Method 'getUpperValue' is not designed for extension - needs to be abstract, final or empty. | 47 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Method 'calculate' is not designed for extension - needs to be abstract, final or empty. | 37 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Method 'calculate' is not designed for extension - needs to be abstract, final or empty. | 37 |
![]() |
misc | FinalParameters | Parameter query should be final. | 38 |
![]() |
misc | FinalParameters | Parameter startTime should be final. | 38 |
![]() |
misc | FinalParameters | Parameter endTime should be final. | 38 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | UnusedImports | Unused import - java.util.HashSet. | 3 |
![]() |
imports | UnusedImports | Unused import - java.util.Set. | 5 |
![]() |
imports | UnusedImports | Unused import - org.djunits.unit.LengthUnit. | 7 |
![]() |
imports | UnusedImports | Unused import - org.djunits.value.vdouble.scalar.Length. | 10 |
![]() |
imports | UnusedImports | Unused import - org.opentrafficsim.kpi.interfaces.LinkDataInterface. | 12 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | FinalParameters | Parameter value should be final. | 84 |
![]() |
misc | FinalParameters | Parameter weight should be final. | 84 |
![]() |
modifier | RedundantModifier | Redundant 'final' modifier. | 247 |
![]() |
misc | FinalParameters | Parameter valueSI should be final. | 247 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | DesignForExtension | Method 'getConfidenceInterval' is not designed for extension - needs to be abstract, final or empty. | 36 |
![]() |
design | DesignForExtension | Method 'getConfidenceInterval' is not designed for extension - needs to be abstract, final or empty. | 46 |
![]() |
design | DesignForExtension | Method 'getSum' is not designed for extension - needs to be abstract, final or empty. | 54 |
![]() |
design | DesignForExtension | Method 'getMin' is not designed for extension - needs to be abstract, final or empty. | 62 |
![]() |
design | DesignForExtension | Method 'getMax' is not designed for extension - needs to be abstract, final or empty. | 70 |
![]() |
design | DesignForExtension | Method 'getMean' is not designed for extension - needs to be abstract, final or empty. | 78 |
![]() |
design | DesignForExtension | Method 'getStDev' is not designed for extension - needs to be abstract, final or empty. | 86 |
![]() |
design | DesignForExtension | Method 'getVariance' is not designed for extension - needs to be abstract, final or empty. | 94 |
![]() |
design | DesignForExtension | Method 'getN' is not designed for extension - needs to be abstract, final or empty. | 102 |
![]() |
design | DesignForExtension | Method 'getSI' is not designed for extension - needs to be abstract, final or empty. | 108 |
![]() |
design | DesignForExtension | Method 'getInUnit' is not designed for extension - needs to be abstract, final or empty. | 115 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 48 |
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 134). | 69 |