Checkstyle Results
The following document contains the results of Checkstyle 12.1.1 with /config/dsol-checks.xml ruleset.
Summary
| Files | |||
|---|---|---|---|
| 219 | 1 | 39 | 0 |
Files
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| blocks | NeedBraces | 15 | |
| coding | HiddenField
|
7 | |
| design | VisibilityModifier | 1 | |
| javadoc | JavadocMethod | 4 | |
| JavadocPackage | 1 | ||
| misc | TodoComment | 1 | |
| modifier | RedundantModifier | 6 | |
| naming | ConstantName | 5 |
Details
nl/tudelft/simulation/dsol/experiment/ExperimentReplication.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | VisibilityModifier | Variable 'replicationNr' must be private and have accessor methods. | 29 |
nl/tudelft/simulation/dsol/experiment/RunControl.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| blocks | NeedBraces | 'if' construct must use '{}'s. | 132 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 134 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 136 |
nl/tudelft/simulation/dsol/experiment/Treatment.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| modifier | RedundantModifier | Redundant 'final' modifier. | 32 | |
| javadoc | JavadocMethod | Expected @param tag for '<M>'. | 82 | |
| javadoc | JavadocMethod | Expected @param tag for '<M>'. | 90 |
nl/tudelft/simulation/dsol/logger/SimLogger.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| blocks | NeedBraces | 'if' construct must use '{}'s. | 42 | |
| blocks | NeedBraces | 'else' construct must use '{}'s. | 44 |
nl/tudelft/simulation/dsol/model/DsolModel.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocMethod | Expected @param tag for '<U>'. | 246 |
nl/tudelft/simulation/dsol/simtime/SimTime.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocPackage | Missing package-info.java file. | 1 | |
| naming | ConstantName | Name 'hashDouble' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 21 | |
| naming | ConstantName | Name 'hashFloat' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 24 | |
| naming | ConstantName | Name 'hashLong' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 27 | |
| naming | ConstantName | Name 'hashDuration' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 30 | |
| naming | ConstantName | Name 'hashFloatDuration' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 33 | |
| javadoc | JavadocMethod | Expected @param tag for '<T>'. | 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 |
nl/tudelft/simulation/dsol/simulators/DevsRealTimeAnimator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| misc | TodoComment | Comment matches to-do format 'TODO:'. | 31 |
nl/tudelft/simulation/dsol/simulators/RealTime.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| modifier | RedundantModifier | Redundant 'final' modifier. | 25 | |
| modifier | RedundantModifier | Redundant 'final' modifier. | 40 | |
| modifier | RedundantModifier | Redundant 'final' modifier. | 40 | |
| modifier | RedundantModifier | Redundant 'final' modifier. | 62 | |
| modifier | RedundantModifier | Redundant 'final' modifier. | 80 |
nl/tudelft/simulation/dsol/simulators/Simulator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | HiddenField | 'model' hides a field. | 104 | |
| coding | HiddenField | 'replication' hides a field. | 104 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 607 |
nl/tudelft/simulation/dsol/simulators/clock/ClockDevDessAnimator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | HiddenField | 'startTime' hides a field. | 48 |
nl/tudelft/simulation/dsol/simulators/clock/ClockDevDessSimulator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | HiddenField | 'startTime' hides a field. | 48 |
nl/tudelft/simulation/dsol/simulators/clock/ClockDevsAnimator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | HiddenField | 'startTime' hides a field. | 45 |
nl/tudelft/simulation/dsol/simulators/clock/ClockDevsRealTimeAnimator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | HiddenField | 'startTime' hides a field. | 45 |
nl/tudelft/simulation/dsol/simulators/clock/ClockDevsSimulator.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | HiddenField | 'startTime' hides a field. | 45 |
nl/tudelft/simulation/dsol/simulators/clock/ClockDevsSimulatorInterface.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| blocks | NeedBraces | 'if' construct must use '{}'s. | 71 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 105 |
nl/tudelft/simulation/dsol/simulators/time/TimeDevsSimulatorInterface.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| blocks | NeedBraces | 'if' construct must use '{}'s. | 65 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 99 |
