Checkstyle Results
The following document contains the results of Checkstyle 10.21.3 with /config/dsol-checks.xml ruleset.
Summary
Files | ![]() |
![]() |
![]() |
---|---|---|---|
122 | 24 | 130 | 0 |
Files
Rules
Category | Rule | Violations | Severity |
---|---|---|---|
blocks | AvoidNestedBlocks
|
1 | ![]() |
NeedBraces | 36 | ![]() | |
coding | HiddenField
|
6 | ![]() |
design | HideUtilityClassConstructor | 1 | ![]() |
VisibilityModifier | 35 | ![]() | |
imports | UnusedImports | 1 | ![]() |
javadoc | JavadocPackage | 8 | ![]() |
JavadocStyle | 18 | ![]() | |
misc | FinalParameters | 2 | ![]() |
NewlineAtEndOfFile
|
16 | ![]() | |
TodoComment | 5 | ![]() | |
modifier | RedundantModifier | 3 | ![]() |
naming | MemberName | 4 | ![]() |
sizes | LineLength
|
16 | ![]() |
whitespace | WhitespaceAfter | 2 | ![]() |
Details
nl/tudelft/simulation/dsol/swing/animation/d2/AnimationPanel.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
nl/tudelft/simulation/dsol/swing/animation/d2/AnimationUpdaterThread.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 88 |
nl/tudelft/simulation/dsol/swing/animation/d2/AutoPanAnimationPanel.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 84 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 127 |
![]() |
blocks | AvoidNestedBlocks | Avoid nested blocks. | 129 |
nl/tudelft/simulation/dsol/swing/animation/d2/InputListener.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 113 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 115 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 120 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 122 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 185 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 187 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 192 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 194 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 198 |
nl/tudelft/simulation/dsol/swing/animation/d2/VisualizationPanel.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 569 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 749 |
![]() |
coding | HiddenField | 'extent' hides a field. | 754 |
![]() |
coding | HiddenField | 'extent' hides a field. | 959 |
nl/tudelft/simulation/dsol/swing/animation/d2/actions/HomeAction.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
nl/tudelft/simulation/dsol/swing/animation/d2/actions/IntrospectionAction.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
nl/tudelft/simulation/dsol/swing/animation/d2/actions/PanDownAction.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
nl/tudelft/simulation/dsol/swing/animation/d2/actions/PanLeftAction.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
nl/tudelft/simulation/dsol/swing/animation/d2/actions/PanRightAction.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
nl/tudelft/simulation/dsol/swing/animation/d2/actions/PanUpAction.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
nl/tudelft/simulation/dsol/swing/animation/d2/actions/ShowGridAction.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
nl/tudelft/simulation/dsol/swing/animation/d2/actions/ZoomInAction.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
nl/tudelft/simulation/dsol/swing/animation/d2/actions/ZoomOutAction.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
nl/tudelft/simulation/dsol/swing/animation/d2/actions/package-info.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
nl/tudelft/simulation/dsol/swing/animation/d2/package-info.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | NewlineAtEndOfFile | File does not end with a newline. | 1 |
nl/tudelft/simulation/dsol/swing/charts/boxwhisker/BoxAndWhiskerPlot.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | 1 |
![]() |
design | VisibilityModifier | Variable 'tallies' must be private and have accessor methods. | 58 |
![]() |
design | VisibilityModifier | Variable 'formatter' must be private and have accessor methods. | 61 |
![]() |
design | VisibilityModifier | Variable 'confidenceInterval' must be private and have accessor methods. | 64 |
nl/tudelft/simulation/dsol/swing/charts/histogram/Histogram.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'chart' must be private and have accessor methods. | 53 |
![]() |
design | VisibilityModifier | Variable 'dataset' must be private and have accessor methods. | 56 |
nl/tudelft/simulation/dsol/swing/charts/histogram/HistogramDataset.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'domain' must be private and have accessor methods. | 33 |
![]() |
design | VisibilityModifier | Variable 'range' must be private and have accessor methods. | 36 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 38 |
![]() |
design | VisibilityModifier | Variable 'numberOfBins' must be private and have accessor methods. | 39 |
![]() |
design | VisibilityModifier | Variable 'series' must be private and have accessor methods. | 42 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 71 |
nl/tudelft/simulation/dsol/swing/charts/histogram/HistogramDomainAxis.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | 1 |
![]() |
design | VisibilityModifier | Variable 'labels' must be private and have accessor methods. | 38 |
![]() |
design | VisibilityModifier | Variable 'maxLabelHeight' must be private and have accessor methods. | 41 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 101 |
nl/tudelft/simulation/dsol/swing/charts/xy/XYChart.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'chart' must be private and have accessor methods. | 64 |
![]() |
design | VisibilityModifier | Variable 'simulator' must be private and have accessor methods. | 67 |
![]() |
design | VisibilityModifier | Variable 'dataset' must be private and have accessor methods. | 70 |
![]() |
design | VisibilityModifier | Variable 'axisType' must be private and have accessor methods. | 73 |
nl/tudelft/simulation/dsol/swing/charts/xy/XYDataset.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 52 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 116 |
nl/tudelft/simulation/dsol/swing/charts/xy/XYSeries.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | 1 |
![]() |
design | VisibilityModifier | Variable 'entries' must be private and have accessor methods. | 45 |
![]() |
naming | MemberName | Name 'PERIOD' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 57 |
![]() |
misc | FinalParameters | Parameter item should be final. | 156 |
![]() |
misc | FinalParameters | Parameter item should be final. | 167 |
nl/tudelft/simulation/dsol/swing/gui/LabeledPanel.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | 1 |
nl/tudelft/simulation/dsol/swing/gui/TablePanel.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 83 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 85 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 87 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 89 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 101 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 103 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 105 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 107 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 109 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 111 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 113 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 115 |
nl/tudelft/simulation/dsol/swing/gui/animation/AnimationToggles.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 130). | 7 |
nl/tudelft/simulation/dsol/swing/gui/control/AbstractControlPanel.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 138). | 105 |
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 295 |
nl/tudelft/simulation/dsol/swing/gui/control/DevsControlPanel.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 84 |
![]() |
whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 165 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 134). | 229 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 133). | 263 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 132). | 297 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 331 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 365 |
nl/tudelft/simulation/dsol/swing/gui/control/GenericControlPanel.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 130). | 65 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 129). | 99 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 132). | 203 |
nl/tudelft/simulation/dsol/swing/gui/control/RealTimeControlPanel.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
misc | TodoComment | Comment matches to-do format 'TODO:'. | 128 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 131). | 197 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 130). | 232 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 134). | 267 |
![]() |
sizes | LineLength | Line is longer than 128 characters (found 134). | 302 |
nl/tudelft/simulation/dsol/swing/gui/inputparameters/Test.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 28 |
nl/tudelft/simulation/dsol/swing/gui/util/Icons.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
modifier | RedundantModifier | Redundant 'final' modifier. | 33 |
![]() |
modifier | RedundantModifier | Redundant 'final' modifier. | 51 |
nl/tudelft/simulation/dsol/swing/introspection/gui/CollectionTableModel.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'instances' must be private and have accessor methods. | 44 |
![]() |
design | VisibilityModifier | Variable 'keys' must be private and have accessor methods. | 47 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 58 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 193 |
![]() |
coding | HiddenField | 'manager' hides a field. | 321 |
nl/tudelft/simulation/dsol/swing/introspection/gui/DefaultModelManager.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'defaultObjectTableModel' must be private and have accessor methods. | 17 |
![]() |
design | VisibilityModifier | Variable 'defaultCollectionObjectTableModel' must be private and have accessor methods. | 20 |
![]() |
design | VisibilityModifier | Variable 'defaultMapObjectTableModel' must be private and have accessor methods. | 23 |
nl/tudelft/simulation/dsol/swing/introspection/gui/ExpandButton.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 42 |
![]() |
naming | MemberName | Name 'PROPERTY' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 43 |
![]() |
naming | MemberName | Name 'MODEL' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 46 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 182 |
nl/tudelft/simulation/dsol/swing/introspection/gui/ImmutableCollectionTableModel.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | 1 |
![]() |
design | VisibilityModifier | Variable 'instances' must be private and have accessor methods. | 40 |
![]() |
design | VisibilityModifier | Variable 'keys' must be private and have accessor methods. | 43 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 51 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 179 |
![]() |
coding | HiddenField | 'manager' hides a field. | 243 |
nl/tudelft/simulation/dsol/swing/introspection/gui/MapTableModel.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'keyMap' must be private and have accessor methods. | 35 |
![]() |
design | VisibilityModifier | Variable 'valueMap' must be private and have accessor methods. | 38 |
![]() |
design | VisibilityModifier | Variable 'rowKeys' must be private and have accessor methods. | 41 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 49 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 180 |
![]() |
coding | HiddenField | 'manager' hides a field. | 249 |
nl/tudelft/simulation/dsol/swing/introspection/gui/ObjectJTable.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'hasShown' must be private and have accessor methods. | 54 |
![]() |
naming | MemberName | Name 'CONFIG' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 62 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 144 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 146 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 148 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 150 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 152 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 154 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 156 |
nl/tudelft/simulation/dsol/swing/introspection/gui/ObjectTableModel.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 135). | 16 |
![]() |
design | VisibilityModifier | Variable 'properties' must be private and have accessor methods. | 28 |
![]() |
coding | HiddenField | 'manager' hides a field. | 210 |
nl/tudelft/simulation/dsol/swing/introspection/gui/UpdateTimer.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
sizes | LineLength | Line is longer than 128 characters (found 135). | 14 |
nl/tudelft/simulation/dsol/swing/introspection/mapping/CellPresentationConfiguration.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 19 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 26 |
nl/tudelft/simulation/dsol/swing/introspection/mapping/DefaultConfiguration.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
imports | UnusedImports | Unused import - java.awt.Component. | 4 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 68 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 78 |
nl/tudelft/simulation/dsol/swing/introspection/mapping/ImmutableMapRenderer.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 45 |
nl/tudelft/simulation/dsol/swing/introspection/mapping/MyColorEditor.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'color' must be private and have accessor methods. | 34 |
![]() |
design | VisibilityModifier | Variable 'cellPanel' must be private and have accessor methods. | 37 |
nl/tudelft/simulation/dsol/swing/introspection/mapping/MyTableCellEditor.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | 1 |
nl/tudelft/simulation/dsol/swing/introspection/sortable/Sortable.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
modifier | RedundantModifier | Redundant 'public' modifier. | 21 |
nl/tudelft/simulation/dsol/swing/introspection/sortable/SortingHeaderCell.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'instanceCounter' must be private and have accessor methods. | 38 |
nl/tudelft/simulation/dsol/swing/introspection/sortable/SortingTableHeader.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | 1 |
![]() |
design | VisibilityModifier | Variable 'definitions' must be private and have accessor methods. | 34 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 64 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 70 |
![]() |
blocks | NeedBraces | 'if' construct must use '{}'s. | 74 |
![]() |
blocks | NeedBraces | 'else' construct must use '{}'s. | 76 |
nl/tudelft/simulation/dsol/swing/introspection/sortable/SortingTableModel.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
design | VisibilityModifier | Variable 'proxyListeners' must be private and have accessor methods. | 35 |
![]() |
design | VisibilityModifier | Variable 'source' must be private and have accessor methods. | 38 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 40 |
![]() |
javadoc | JavadocStyle | First sentence should end with a period. | 43 |
![]() |
design | VisibilityModifier | Variable 'expandedIndex' must be private and have accessor methods. | 44 |
nl/tudelft/simulation/dsol/swing/introspection/table/DynamicTableModel.java
Severity | Category | Rule | Message | Line |
---|---|---|---|---|
![]() |
javadoc | JavadocPackage | Missing package-info.java file. | 1 |