Checkstyle Results

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

rss feed

Summary

Files
 Info
 Warnings
 Errors
51 2 40 0

Files

File
 I
 W
 E
org/opentrafficsim/kpi/interfaces/GtuDataInterface.java 1 0 0
org/opentrafficsim/kpi/sampling/KpiDirectedLanePosition.java 0 8 0
org/opentrafficsim/kpi/sampling/KpiLaneDirection.java 0 1 0
org/opentrafficsim/kpi/sampling/Sampler.java 1 10 0
org/opentrafficsim/kpi/sampling/Trajectory.java 0 5 0
org/opentrafficsim/kpi/sampling/indicator/AbstractIndicator.java 0 4 0
org/opentrafficsim/kpi/sampling/indicator/TotalDelay.java 0 1 0
org/opentrafficsim/kpi/sampling/meta/MetaDataCrossSections.java 0 2 0
org/opentrafficsim/kpi/sampling/meta/MetaDataDestination.java 0 2 0
org/opentrafficsim/kpi/sampling/meta/MetaDataGtuType.java 0 2 0
org/opentrafficsim/kpi/sampling/meta/MetaDataOrigin.java 0 2 0
org/opentrafficsim/kpi/sampling/meta/MetaDataRoute.java 0 2 0
org/opentrafficsim/kpi/sampling/meta/MetaDataType.java 0 1 0

Rules

Category Rule Violations Severity
blocks NeedBraces 8
 Warning
design FinalClass 1
 Warning
VisibilityModifier 2
 Warning
javadoc JavadocMethod 6
 Warning
JavadocPackage 1
 Info
misc FinalParameters 11
 Warning
TodoComment 1
 Warning
modifier RedundantModifier 11
 Warning
sizes MethodLength 1
 Info

Details

org/opentrafficsim/kpi/interfaces/GtuDataInterface.java

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

org/opentrafficsim/kpi/sampling/KpiDirectedLanePosition.java

Severity Category Rule Message Line
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 95
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 97
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 99
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 102
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 106
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 109
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 113
 Warning
blocks NeedBraces 'if' construct must use '{}'s. 116

org/opentrafficsim/kpi/sampling/KpiLaneDirection.java

Severity Category Rule Message Line
 Warning
misc FinalParameters Parameter position should be final. 64

org/opentrafficsim/kpi/sampling/Sampler.java

Severity Category Rule Message Line
 Warning
modifier RedundantModifier Redundant 'final' modifier. 101
 Warning
modifier RedundantModifier Redundant 'final' modifier. 101
 Warning
modifier RedundantModifier Redundant 'final' modifier. 108
 Warning
modifier RedundantModifier Redundant 'final' modifier. 108
 Warning
modifier RedundantModifier Redundant 'final' modifier. 159
 Warning
modifier RedundantModifier Redundant 'final' modifier. 179
 Info
sizes MethodLength Method length is 162 lines (max allowed is 150). 333
 Warning
javadoc JavadocMethod Expected @param tag for '<T>'. 503
 Warning
javadoc JavadocMethod Expected @param tag for '<T>'. 517
 Warning
javadoc JavadocMethod Expected @param tag for '<O>'. 517
 Warning
javadoc JavadocMethod Expected @param tag for '<S>'. 517

org/opentrafficsim/kpi/sampling/Trajectory.java

Severity Category Rule Message Line
 Warning
javadoc JavadocMethod Expected @param tag for '<T>'. 172
 Warning
javadoc JavadocMethod Expected @param tag for '<S>'. 172
 Warning
design FinalClass Class SpaceTimeView should be declared as final. 1090
 Warning
design VisibilityModifier Variable 'distance' must be private and have accessor methods. 1094
 Warning
design VisibilityModifier Variable 'time' must be private and have accessor methods. 1097

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

Severity Category Rule Message Line
 Warning
modifier RedundantModifier Redundant 'final' modifier. 90
 Warning
modifier RedundantModifier Redundant 'final' modifier. 90
 Warning
modifier RedundantModifier Redundant 'final' modifier. 90
 Warning
modifier RedundantModifier Redundant 'final' modifier. 91

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

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

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

Severity Category Rule Message Line
 Warning
misc FinalParameters Parameter format should be final. 45
 Warning
misc FinalParameters Parameter value should be final. 45

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

Severity Category Rule Message Line
 Warning
misc FinalParameters Parameter format should be final. 39
 Warning
misc FinalParameters Parameter value should be final. 39

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

Severity Category Rule Message Line
 Warning
misc FinalParameters Parameter format should be final. 39
 Warning
misc FinalParameters Parameter value should be final. 39

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

Severity Category Rule Message Line
 Warning
misc FinalParameters Parameter format should be final. 39
 Warning
misc FinalParameters Parameter value should be final. 39

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

Severity Category Rule Message Line
 Warning
misc FinalParameters Parameter format should be final. 39
 Warning
misc FinalParameters Parameter value should be final. 39

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

Severity Category Rule Message Line
 Warning
modifier RedundantModifier Redundant 'final' modifier. 51