Checkstyle Results

The following document contains the results of Checkstyle 6.2 with development/dsol-checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
45 3 45 0

Rules

Category Rule Violations Severity
blocks NeedBraces 8  Warning
design DesignForExtension 21  Warning
javadoc JavadocMethod 4  Warning
JavadocPackage 1  Info
misc FinalParameters 10  Warning
TodoComment 1  Warning
modifier RedundantModifier 1  Warning
sizes LineLength
  • max: "128"
2  Info

Details

org/opentrafficsim/kpi/interfaces/GtuDataInterface.java

Severity Category Rule Message Line
 Info javadoc JavadocPackage Missing package-info.java file.

org/opentrafficsim/kpi/sampling/CrossSection.java

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 139). 52

org/opentrafficsim/kpi/sampling/KpiDirectedLanePosition.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. 81
 Warning design DesignForExtension Method 'equals' is not designed for extension - needs to be abstract, final or empty. 93
 Warning blocks NeedBraces 'if' construct must use '{}'s. 96
 Warning blocks NeedBraces 'if' construct must use '{}'s. 98
 Warning blocks NeedBraces 'if' construct must use '{}'s. 100
 Warning blocks NeedBraces 'if' construct must use '{}'s. 103
 Warning blocks NeedBraces 'if' construct must use '{}'s. 107
 Warning blocks NeedBraces 'if' construct must use '{}'s. 110
 Warning blocks NeedBraces 'if' construct must use '{}'s. 114
 Warning blocks NeedBraces 'if' construct must use '{}'s. 117
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 123

org/opentrafficsim/kpi/sampling/KpiLaneDirection.java

Severity Category Rule Message Line
 Warning misc FinalParameters Parameter position should be final. 65
 Warning javadoc JavadocMethod Expected @param tag for 'position'. 65
 Warning design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 72

org/opentrafficsim/kpi/sampling/Sampler.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'hashCode' is not designed for extension - needs to be abstract, final or empty. 294
 Warning design DesignForExtension Method 'equals' is not designed for extension - needs to be abstract, final or empty. 308

org/opentrafficsim/kpi/sampling/indicator/ConfidenceInterval.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'getLowerValue' is not designed for extension - needs to be abstract, final or empty. 39
 Warning design DesignForExtension Method 'getUpperValue' is not designed for extension - needs to be abstract, final or empty. 47

org/opentrafficsim/kpi/sampling/indicator/MeanDensity.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'calculate' is not designed for extension - needs to be abstract, final or empty. 35
 Warning misc FinalParameters Parameter query should be final. 36
 Warning misc FinalParameters Parameter startTime should be final. 36
 Warning misc FinalParameters Parameter endTime should be final. 36

org/opentrafficsim/kpi/sampling/indicator/MeanIntensity.java

Severity Category Rule Message Line
 Warning design DesignForExtension Method 'calculate' is not designed for extension - needs to be abstract, final or empty. 35
 Warning misc FinalParameters Parameter query should be final. 36
 Warning misc FinalParameters Parameter startTime should be final. 36
 Warning misc FinalParameters Parameter endTime should be final. 36

org/opentrafficsim/kpi/sampling/indicator/Persistent.java

Severity Category Rule Message Line
 Warning misc FinalParameters Parameter value should be final. 84
 Warning javadoc JavadocMethod Expected @param tag for 'value'. 84
 Warning misc FinalParameters Parameter weight should be final. 84
 Warning javadoc JavadocMethod Expected @param tag for 'weight'. 84
 Warning modifier RedundantModifier Redundant 'final' modifier. 247
 Warning misc FinalParameters Parameter valueSI should be final. 247

org/opentrafficsim/kpi/sampling/indicator/PersistentStatistic.java

Severity Category Rule Message Line
 Warning javadoc JavadocMethod Expected @param tag for 'persistent'. 27
 Warning design DesignForExtension Method 'getConfidenceInterval' is not designed for extension - needs to be abstract, final or empty. 36
 Warning design DesignForExtension Method 'getConfidenceInterval' is not designed for extension - needs to be abstract, final or empty. 46
 Warning design DesignForExtension Method 'getSum' is not designed for extension - needs to be abstract, final or empty. 54
 Warning design DesignForExtension Method 'getMin' is not designed for extension - needs to be abstract, final or empty. 62
 Warning design DesignForExtension Method 'getMax' is not designed for extension - needs to be abstract, final or empty. 70
 Warning design DesignForExtension Method 'getMean' is not designed for extension - needs to be abstract, final or empty. 78
 Warning design DesignForExtension Method 'getStDev' is not designed for extension - needs to be abstract, final or empty. 86
 Warning design DesignForExtension Method 'getVariance' is not designed for extension - needs to be abstract, final or empty. 94
 Warning design DesignForExtension Method 'getN' is not designed for extension - needs to be abstract, final or empty. 102
 Warning design DesignForExtension Method 'getSI' is not designed for extension - needs to be abstract, final or empty. 108
 Warning design DesignForExtension Method 'getInUnit' is not designed for extension - needs to be abstract, final or empty. 115

org/opentrafficsim/kpi/sampling/indicator/TotalDelay.java

Severity Category Rule Message Line
 Warning misc TodoComment Comment matches to-do format 'TODO:'. 45

org/opentrafficsim/kpi/sampling/meta/MetaDataCrossSections.java

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 134). 69