Checkstyle Results

The following document contains the results of Checkstyle 9.3 with checkstyle.xml ruleset.

Summary

Files  Info  Warnings  Errors
14 0 42 0

Files

File  I  W  E
fr/univtln/bruno/samples/java101/tp1/builder/AddressWithBuilder.java 0 7 0
fr/univtln/bruno/samples/java101/tp1/builder/AddressWithBuilderTest.java 0 1 0
fr/univtln/bruno/samples/java101/tp1/factory/PersonSingleton.java 0 4 0
fr/univtln/bruno/samples/java101/tp1/factory/PersonWithFactory.java 0 7 0
fr/univtln/bruno/samples/java101/tp1/factory/PersonWithFactoryTest.java 0 1 0
fr/univtln/bruno/samples/java101/tp1/immutable/PersonImmutable.java 0 12 0
fr/univtln/bruno/samples/java101/tp1/immutable/PersonImmutableTest.java 0 1 0
fr/univtln/bruno/samples/java101/tp1/immutable/PersonValueObject.java 0 3 0
fr/univtln/bruno/samples/java101/tp1/immutable/PersonValueObjectTest.java 0 1 0
fr/univtln/bruno/samples/java101/tp1/lombok/PersonLombok.java 0 1 0
fr/univtln/bruno/samples/java101/tp1/lombok/PersonLombokSecure.java 0 2 0
fr/univtln/bruno/samples/java101/tp1/lombok/PersonLombokSecureTest.java 0 1 0
fr/univtln/bruno/samples/java101/tp1/lombok/PersonLombokTest.java 0 1 0

Rules

Category Rule Violations Severity
blocks LeftCurly 19  Warning
NeedBraces 14  Warning
imports AvoidStarImport 8  Warning
naming StaticVariableName 1  Warning

Details

fr/univtln/bruno/samples/java101/tp1/builder/AddressWithBuilder.java

Severity Category Rule Message Line
 Warning blocks LeftCurly '{' at column 28 should have line break after. 33
 Warning blocks LeftCurly '{' at column 26 should have line break after. 40
 Warning blocks LeftCurly '{' at column 29 should have line break after. 47
 Warning blocks LeftCurly '{' at column 37 should have line break after. 58
 Warning blocks LeftCurly '{' at column 41 should have line break after. 83
 Warning blocks LeftCurly '{' at column 39 should have line break after. 90
 Warning blocks LeftCurly '{' at column 42 should have line break after. 97

fr/univtln/bruno/samples/java101/tp1/builder/AddressWithBuilderTest.java

Severity Category Rule Message Line
 Warning imports AvoidStarImport Using the '.*' form of import should be avoided - org.assertj.core.api.Assertions.*. 4

fr/univtln/bruno/samples/java101/tp1/factory/PersonSingleton.java

Severity Category Rule Message Line
 Warning naming StaticVariableName Name 'INSTANCE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 35
 Warning blocks NeedBraces 'if' construct must use '{}'s. 57
 Warning blocks NeedBraces 'if' construct must use '{}'s. 58
 Warning blocks NeedBraces 'if' construct must use '{}'s. 59

fr/univtln/bruno/samples/java101/tp1/factory/PersonWithFactory.java

Severity Category Rule Message Line
 Warning blocks NeedBraces 'if' construct must use '{}'s. 24
 Warning blocks NeedBraces 'if' construct must use '{}'s. 39
 Warning blocks LeftCurly '{' at column 34 should have line break after. 68
 Warning blocks LeftCurly '{' at column 33 should have line break after. 75
 Warning blocks LeftCurly '{' at column 25 should have line break after. 82
 Warning blocks NeedBraces 'if' construct must use '{}'s. 91
 Warning blocks NeedBraces 'if' construct must use '{}'s. 92

fr/univtln/bruno/samples/java101/tp1/factory/PersonWithFactoryTest.java

Severity Category Rule Message Line
 Warning imports AvoidStarImport Using the '.*' form of import should be avoided - org.assertj.core.api.Assertions.*. 4

fr/univtln/bruno/samples/java101/tp1/immutable/PersonImmutable.java

Severity Category Rule Message Line
 Warning blocks LeftCurly '{' at column 34 should have line break after. 52
 Warning blocks LeftCurly '{' at column 33 should have line break after. 59
 Warning blocks LeftCurly '{' at column 25 should have line break after. 66
 Warning blocks LeftCurly '{' at column 30 should have line break after. 69
 Warning blocks NeedBraces 'if' construct must use '{}'s. 73
 Warning blocks NeedBraces 'if' construct must use '{}'s. 74
 Warning blocks LeftCurly '{' at column 27 should have line break after. 80
 Warning blocks LeftCurly '{' at column 37 should have line break after. 87
 Warning blocks LeftCurly '{' at column 44 should have line break after. 114
 Warning blocks LeftCurly '{' at column 43 should have line break after. 122
 Warning blocks LeftCurly '{' at column 35 should have line break after. 130
 Warning blocks NeedBraces 'if' construct must use '{}'s. 143

fr/univtln/bruno/samples/java101/tp1/immutable/PersonImmutableTest.java

Severity Category Rule Message Line
 Warning imports AvoidStarImport Using the '.*' form of import should be avoided - org.assertj.core.api.Assertions.*. 4

fr/univtln/bruno/samples/java101/tp1/immutable/PersonValueObject.java

Severity Category Rule Message Line
 Warning blocks NeedBraces 'if' construct must use '{}'s. 41
 Warning blocks NeedBraces 'if' construct must use '{}'s. 89
 Warning blocks NeedBraces 'if' construct must use '{}'s. 116

fr/univtln/bruno/samples/java101/tp1/immutable/PersonValueObjectTest.java

Severity Category Rule Message Line
 Warning imports AvoidStarImport Using the '.*' form of import should be avoided - org.assertj.core.api.Assertions.*. 4

fr/univtln/bruno/samples/java101/tp1/lombok/PersonLombok.java

Severity Category Rule Message Line
 Warning imports AvoidStarImport Using the '.*' form of import should be avoided - lombok.*. 3

fr/univtln/bruno/samples/java101/tp1/lombok/PersonLombokSecure.java

Severity Category Rule Message Line
 Warning imports AvoidStarImport Using the '.*' form of import should be avoided - lombok.*. 3
 Warning blocks NeedBraces 'if' construct must use '{}'s. 59

fr/univtln/bruno/samples/java101/tp1/lombok/PersonLombokSecureTest.java

Severity Category Rule Message Line
 Warning imports AvoidStarImport Using the '.*' form of import should be avoided - org.assertj.core.api.Assertions.*. 4

fr/univtln/bruno/samples/java101/tp1/lombok/PersonLombokTest.java

Severity Category Rule Message Line
 Warning imports AvoidStarImport Using the '.*' form of import should be avoided - org.assertj.core.api.Assertions.*. 4