Checkstyle Results
The following document contains the results of Checkstyle 12.1.1 with /config/dsol-checks.xml ruleset.
Summary
| Files | |||
|---|---|---|---|
| 14 | 0 | 40 | 0 |
Files
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| blocks | NeedBraces | 10 | |
| design | HideUtilityClassConstructor | 1 | |
| VisibilityModifier | 6 | ||
| modifier | RedundantModifier | 22 | |
| naming | StaticVariableName | 1 |
Details
nl/tudelft/simulation/naming/context/ContextFactory.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| modifier | RedundantModifier | Redundant 'final' modifier. | 30 |
nl/tudelft/simulation/naming/context/ContextInterface.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| modifier | RedundantModifier | Redundant 'public' modifier. | 47 | |
| modifier | RedundantModifier | Redundant 'static' modifier. | 47 | |
| modifier | RedundantModifier | Redundant 'final' modifier. | 47 | |
| modifier | RedundantModifier | Redundant 'public' modifier. | 50 | |
| modifier | RedundantModifier | Redundant 'static' modifier. | 50 | |
| modifier | RedundantModifier | Redundant 'final' modifier. | 50 | |
| modifier | RedundantModifier | Redundant 'public' modifier. | 53 | |
| modifier | RedundantModifier | Redundant 'static' modifier. | 53 | |
| modifier | RedundantModifier | Redundant 'final' modifier. | 53 | |
| modifier | RedundantModifier | Redundant 'public' modifier. | 61 | |
| modifier | RedundantModifier | Redundant 'static' modifier. | 61 | |
| modifier | RedundantModifier | Redundant 'final' modifier. | 61 | |
| modifier | RedundantModifier | Redundant 'public' modifier. | 72 | |
| modifier | RedundantModifier | Redundant 'static' modifier. | 72 | |
| modifier | RedundantModifier | Redundant 'final' modifier. | 72 | |
| modifier | RedundantModifier | Redundant 'public' modifier. | 84 | |
| modifier | RedundantModifier | Redundant 'static' modifier. | 84 | |
| modifier | RedundantModifier | Redundant 'final' modifier. | 84 | |
| modifier | RedundantModifier | Redundant 'final' modifier. | 328 | |
| modifier | RedundantModifier | Redundant 'final' modifier. | 340 | |
| modifier | RedundantModifier | Redundant 'final' modifier. | 381 |
nl/tudelft/simulation/naming/context/JvmContext.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | VisibilityModifier | Variable 'parent' must be private and have accessor methods. | 33 | |
| design | VisibilityModifier | Variable 'elements' must be private and have accessor methods. | 42 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 422 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 572 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 574 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 576 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 581 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 584 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 588 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 591 |
nl/tudelft/simulation/naming/context/event/InitialEventContext.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| naming | StaticVariableName | Name 'INSTANCE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 84 | |
| design | VisibilityModifier | Variable 'properties' must be private and have accessor methods. | 87 | |
| design | VisibilityModifier | Variable 'defaultInitCtx' must be private and have accessor methods. | 93 | |
| design | VisibilityModifier | Variable 'gotDefault' must be private and have accessor methods. | 96 | |
| design | VisibilityModifier | Variable 'contextEventProducerImpl' must be private and have accessor methods. | 99 |
nl/tudelft/simulation/naming/context/util/ContextUtil.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| design | HideUtilityClassConstructor | Utility classes should not have a public or default constructor. | 23 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 41 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 68 |
