Checkstyle Results
The following document contains the results of Checkstyle 12.1.1 with /config/dsol-checks.xml ruleset.
Summary
| Files | |||
|---|---|---|---|
| 121 | 0 | 40 | 0 |
Files
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| blocks | LeftCurly
|
1 | |
| NeedBraces | 2 | ||
RightCurly
|
9 | ||
| coding | HiddenField
|
1 | |
| design | FinalClass | 1 | |
| HideUtilityClassConstructor | 4 | ||
| VisibilityModifier | 6 | ||
| imports | UnusedImports | 1 | |
| javadoc | JavadocStyle | 4 | |
| modifier | RedundantModifier | 11 |
Details
nl/tudelft/simulation/dsol/demo/des/experiment/DesExperimentApplication.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocStyle | First sentence should end with a period. | 90 |
nl/tudelft/simulation/dsol/demo/des/experiment/DesExperimentModel.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| modifier | RedundantModifier | Redundant 'public' modifier. | 68 |
nl/tudelft/simulation/dsol/demo/des/experiment/DesExperimentStoppingApp.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| coding | HiddenField | 'model' hides a field. | 47 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 99 |
nl/tudelft/simulation/dsol/demo/des/mm1/step03/DesQueueingModel3.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| modifier | RedundantModifier | Redundant 'public' modifier. | 49 |
nl/tudelft/simulation/dsol/demo/des/mm1/step04/DesQueueingModel4.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| modifier | RedundantModifier | Redundant 'public' modifier. | 49 |
nl/tudelft/simulation/dsol/demo/des/mm1/step05/DesQueueingModel5.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| modifier | RedundantModifier | Redundant 'public' modifier. | 61 |
nl/tudelft/simulation/dsol/demo/des/mm1/step06/DesQueueingApplication6.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 19 |
nl/tudelft/simulation/dsol/demo/des/mm1/step06/DesQueueingModel6.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| modifier | RedundantModifier | Redundant 'public' modifier. | 61 |
nl/tudelft/simulation/dsol/demo/des/mm1/step07/DesQueueingApplication7.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 17 |
nl/tudelft/simulation/dsol/demo/des/mm1/step07/DesQueueingModel7.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| modifier | RedundantModifier | Redundant 'public' modifier. | 68 |
nl/tudelft/simulation/dsol/demo/des/mm1/step08/DesQueueingApplication8.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 17 |
nl/tudelft/simulation/dsol/demo/des/mm1/step08/DesQueueingModel8.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| modifier | RedundantModifier | Redundant 'public' modifier. | 68 |
nl/tudelft/simulation/dsol/demo/des/mm1/step09/DesQueueingModel9.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| modifier | RedundantModifier | Redundant 'public' modifier. | 72 |
nl/tudelft/simulation/dsol/demo/des/mm1/step10/DesQueueingModel10.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| modifier | RedundantModifier | Redundant 'public' modifier. | 72 |
nl/tudelft/simulation/dsol/demo/flow/mm1/MM1ExperimentApplication.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| blocks | RightCurly | '}' at column 42 should be alone on a line. | 63 | |
| blocks | RightCurly | '}' at column 36 should be alone on a line. | 65 |
nl/tudelft/simulation/dsol/demo/flow/mm1/step01/FlowQueueingApplication1.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 19 |
nl/tudelft/simulation/dsol/demo/flow/mm1/step01/FlowQueueingModel1.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | VisibilityModifier | Variable 'entityNumber' must be private and have accessor methods. | 35 | |
| blocks | LeftCurly | '{' at column 43 should be on a new line. | 57 |
nl/tudelft/simulation/dsol/demo/visualization/VisualizationDemo.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| modifier | RedundantModifier | Redundant 'public' modifier. | 93 | |
| blocks | RightCurly | '}' at column 72 should be alone on a line. | 116 | |
| modifier | RedundantModifier | Redundant 'public' modifier. | 130 |
nl/tudelft/simulation/dsol/tutorial/section25/CustomerOrderApp.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | UnusedImports | Unused import - java.rmi.RemoteException. | 3 | |
| blocks | RightCurly | '}' at column 27 should be alone on a line. | 44 |
nl/tudelft/simulation/dsol/tutorial/section42/Retailer.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| blocks | RightCurly | '}' at column 69 should be alone on a line. | 119 |
nl/tudelft/simulation/dsol/tutorial/section42/policies/StationaryPolicy.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| blocks | RightCurly | '}' at column 47 should be alone on a line. | 49 |
nl/tudelft/simulation/examples/dsol/animation/Ball.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | VisibilityModifier | Variable 'theta' must be private and have accessor methods. | 23 |
nl/tudelft/simulation/examples/dsol/animation/BallAnimation.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| blocks | NeedBraces | 'if' construct must use '{}'s. | 110 | |
| blocks | NeedBraces | 'else' construct must use '{}'s. | 112 |
nl/tudelft/simulation/examples/dsol/animation/Wall.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| javadoc | JavadocStyle | First sentence should end with a period. | 37 | |
| javadoc | JavadocStyle | First sentence should end with a period. | 48 |
nl/tudelft/simulation/examples/dsol/terminal/ExperimentRunnerTerminal.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | FinalClass | Class ExperimentRunnerTerminal should be declared as final. | 29 |
nl/tudelft/simulation/examples/dsol/terminal/IntResource.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | VisibilityModifier | Variable 'claimedCapacity' must be private and have accessor methods. | 58 | |
| design | VisibilityModifier | Variable 'requests' must be private and have accessor methods. | 61 | |
| design | VisibilityModifier | Variable 'simulator' must be private and have accessor methods. | 65 | |
| design | VisibilityModifier | Variable 'description' must be private and have accessor methods. | 68 |
nl/tudelft/simulation/examples/dsol/terminal/Ship.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| blocks | RightCurly | '}' at column 66 should be alone on a line. | 44 |
nl/tudelft/simulation/examples/dsol/terminal/Terminal.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| blocks | RightCurly | '}' at column 64 should be alone on a line. | 109 | |
| blocks | RightCurly | '}' at column 59 should be alone on a line. | 113 |
