Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
76 7 39 0

Files

File  I  W  E
nl/tudelft/simulation/dsol/demo/des/mm1/package-info.java 0 1 0
nl/tudelft/simulation/dsol/demo/des/mm1/step1/Entity.java 0 2 0
nl/tudelft/simulation/dsol/demo/des/mm1/step1/package-info.java 0 1 0
nl/tudelft/simulation/dsol/demo/des/mm1/step2/Entity.java 0 2 0
nl/tudelft/simulation/dsol/demo/des/mm1/step2/QueueEntry.java 0 1 0
nl/tudelft/simulation/dsol/demo/des/mm1/step2/package-info.java 0 1 0
nl/tudelft/simulation/dsol/demo/devs/mm1/package-info.java 0 1 0
nl/tudelft/simulation/dsol/demo/event/mm1/MM1Application.java 0 1 0
nl/tudelft/simulation/dsol/demo/event/mm1/MM1Model.java 0 5 0
nl/tudelft/simulation/dsol/demo/event/mm1/MM1Panel.java 0 1 0
nl/tudelft/simulation/dsol/demo/event/mm1/MM1SwingApplication.java 0 1 0
nl/tudelft/simulation/dsol/demo/event/mm1/package-info.java 0 1 0
nl/tudelft/simulation/dsol/demo/flow/mm1/MM1Application.java 0 1 0
nl/tudelft/simulation/dsol/demo/flow/mm1/MM1ExperimentApplication.java 0 1 0
nl/tudelft/simulation/dsol/demo/flow/mm1/MM1Model.java 0 1 0
nl/tudelft/simulation/dsol/demo/flow/mm1/MM1Panel.java 0 1 0
nl/tudelft/simulation/dsol/demo/flow/mm1/MM1SwingApplication.java 0 1 0
nl/tudelft/simulation/dsol/demo/flow/mm1/MM1SwingApplicationEvents.java 0 1 0
nl/tudelft/simulation/dsol/demo/flow/mm1/package-info.java 0 1 0
nl/tudelft/simulation/dsol/demo/visualization/VisualizationDemo.java 0 3 0
nl/tudelft/simulation/dsol/demo/visualization/package-info.java 0 1 0
nl/tudelft/simulation/dsol/tutorial/section25/Customer.java 0 2 0
nl/tudelft/simulation/dsol/tutorial/section42/Customer.java 0 1 0
nl/tudelft/simulation/dsol/tutorial/section42/Retailer.java 0 1 0
nl/tudelft/simulation/dsol/tutorial/section42/Warehouse42SwingApplication.java 1 0 0
nl/tudelft/simulation/examples/dsol/animation/Ball.java 0 1 0
nl/tudelft/simulation/examples/dsol/terminal/Container.java 1 0 0
nl/tudelft/simulation/examples/dsol/terminal/ExperimentRunnerTerminal.java 1 1 0
nl/tudelft/simulation/examples/dsol/terminal/IntResource.java 0 4 0
nl/tudelft/simulation/examples/dsol/timesharedcomputer/Cpu.java 2 0 0
nl/tudelft/simulation/examples/dsol/timesharedcomputer/Job.java 1 0 0
nl/tudelft/simulation/examples/dsol/timesharedcomputer/Terminal.java 1 0 0

Rules

Category Rule Violations Severity
design FinalClass 1  Warning
VisibilityModifier 9  Warning
imports RedundantImport 1  Warning
misc NewlineAtEndOfFile
  • fileExtensions: "java"
  • lineSeparator: "crlf"
21  Warning
modifier RedundantModifier 4  Warning
sizes LineLength
  • max: "128"
7  Info
whitespace WhitespaceAfter 3  Warning

Details

nl/tudelft/simulation/dsol/demo/des/mm1/package-info.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline. 1

nl/tudelft/simulation/dsol/demo/des/mm1/step1/Entity.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline. 1
 Warning modifier RedundantModifier Redundant 'public' modifier. 28

nl/tudelft/simulation/dsol/demo/des/mm1/step1/package-info.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline. 1

nl/tudelft/simulation/dsol/demo/des/mm1/step2/Entity.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline. 1
 Warning modifier RedundantModifier Redundant 'public' modifier. 28

nl/tudelft/simulation/dsol/demo/des/mm1/step2/QueueEntry.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline. 1

nl/tudelft/simulation/dsol/demo/des/mm1/step2/package-info.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline. 1

nl/tudelft/simulation/dsol/demo/devs/mm1/package-info.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline. 1

nl/tudelft/simulation/dsol/demo/event/mm1/MM1Application.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline. 1

nl/tudelft/simulation/dsol/demo/event/mm1/MM1Model.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline. 1
 Warning design VisibilityModifier Variable 'persistentUtilization' must be private and have accessor methods. 57
 Warning design VisibilityModifier Variable 'persistentQueueLength' must be private and have accessor methods. 60
 Warning design VisibilityModifier Variable 'tallyTimeInQueue' must be private and have accessor methods. 63
 Warning design VisibilityModifier Variable 'tallyTimeInSystem' must be private and have accessor methods. 66

nl/tudelft/simulation/dsol/demo/event/mm1/MM1Panel.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline. 1

nl/tudelft/simulation/dsol/demo/event/mm1/MM1SwingApplication.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline. 1

nl/tudelft/simulation/dsol/demo/event/mm1/package-info.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline. 1

nl/tudelft/simulation/dsol/demo/flow/mm1/MM1Application.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline. 1

nl/tudelft/simulation/dsol/demo/flow/mm1/MM1ExperimentApplication.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline. 1

nl/tudelft/simulation/dsol/demo/flow/mm1/MM1Model.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline. 1

nl/tudelft/simulation/dsol/demo/flow/mm1/MM1Panel.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline. 1

nl/tudelft/simulation/dsol/demo/flow/mm1/MM1SwingApplication.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline. 1

nl/tudelft/simulation/dsol/demo/flow/mm1/MM1SwingApplicationEvents.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline. 1

nl/tudelft/simulation/dsol/demo/flow/mm1/package-info.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline. 1

nl/tudelft/simulation/dsol/demo/visualization/VisualizationDemo.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline. 1
 Warning modifier RedundantModifier Redundant 'public' modifier. 94
 Warning modifier RedundantModifier Redundant 'public' modifier. 137

nl/tudelft/simulation/dsol/demo/visualization/package-info.java

Severity Category Rule Message Line
 Warning misc NewlineAtEndOfFile File does not end with a newline. 1

nl/tudelft/simulation/dsol/tutorial/section25/Customer.java

Severity Category Rule Message Line
 Warning imports RedundantImport Duplicate import to line 3 - nl.tudelft.simulation.dsol.formalisms.eventscheduling.SimEvent. 4
 Warning whitespace WhitespaceAfter ',' is not followed by whitespace. 44

nl/tudelft/simulation/dsol/tutorial/section42/Customer.java

Severity Category Rule Message Line
 Warning whitespace WhitespaceAfter ',' is not followed by whitespace. 74

nl/tudelft/simulation/dsol/tutorial/section42/Retailer.java

Severity Category Rule Message Line
 Warning whitespace WhitespaceAfter ',' is not followed by whitespace. 119

nl/tudelft/simulation/dsol/tutorial/section42/Warehouse42SwingApplication.java

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

nl/tudelft/simulation/examples/dsol/animation/Ball.java

Severity Category Rule Message Line
 Warning design VisibilityModifier Variable 'theta' must be private and have accessor methods. 26

nl/tudelft/simulation/examples/dsol/terminal/Container.java

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

nl/tudelft/simulation/examples/dsol/terminal/ExperimentRunnerTerminal.java

Severity Category Rule Message Line
 Warning design FinalClass Class ExperimentRunnerTerminal should be declared as final. 30
 Info sizes LineLength Line is longer than 128 characters (found 138). 88

nl/tudelft/simulation/examples/dsol/terminal/IntResource.java

Severity Category Rule Message Line
 Warning design VisibilityModifier Variable 'claimedCapacity' must be private and have accessor methods. 63
 Warning design VisibilityModifier Variable 'requests' must be private and have accessor methods. 66
 Warning design VisibilityModifier Variable 'simulator' must be private and have accessor methods. 70
 Warning design VisibilityModifier Variable 'description' must be private and have accessor methods. 73

nl/tudelft/simulation/examples/dsol/timesharedcomputer/Cpu.java

Severity Category Rule Message Line
 Info sizes LineLength Line is longer than 128 characters (found 129). 135
 Info sizes LineLength Line is longer than 128 characters (found 135). 141

nl/tudelft/simulation/examples/dsol/timesharedcomputer/Job.java

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

nl/tudelft/simulation/examples/dsol/timesharedcomputer/Terminal.java

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