Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
30 0 12 0

Files

File  I  W  E
fr/univtln/bruno/samples/java101/tp2/PolymorphismTest.java 0 1 0
fr/univtln/bruno/samples/java101/tp2/app/DemoVehicle.java 0 2 0
fr/univtln/bruno/samples/java101/tp2/impl/Car.java 0 2 0
fr/univtln/bruno/samples/java101/tp2/impl/ElectricBike.java 0 2 0
fr/univtln/bruno/samples/java101/tp2/impl/ElectricCar.java 0 2 0
fr/univtln/bruno/samples/java101/tp2/model/Vehicle.java 0 3 0

Rules

Category Rule Violations Severity
blocks NeedBraces 9  Warning
imports AvoidStarImport 1  Warning
whitespace WhitespaceAround 2  Warning

Details

fr/univtln/bruno/samples/java101/tp2/PolymorphismTest.java

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

fr/univtln/bruno/samples/java101/tp2/app/DemoVehicle.java

Severity Category Rule Message Line
 Warning whitespace WhitespaceAround '{' is not followed by whitespace. 20
 Warning whitespace WhitespaceAround '}' is not preceded with whitespace. 20

fr/univtln/bruno/samples/java101/tp2/impl/Car.java

Severity Category Rule Message Line
 Warning blocks NeedBraces 'if' construct must use '{}'s. 28
 Warning blocks NeedBraces 'if' construct must use '{}'s. 62

fr/univtln/bruno/samples/java101/tp2/impl/ElectricBike.java

Severity Category Rule Message Line
 Warning blocks NeedBraces 'if' construct must use '{}'s. 29
 Warning blocks NeedBraces 'if' construct must use '{}'s. 43

fr/univtln/bruno/samples/java101/tp2/impl/ElectricCar.java

Severity Category Rule Message Line
 Warning blocks NeedBraces 'if' construct must use '{}'s. 35
 Warning blocks NeedBraces 'if' construct must use '{}'s. 49

fr/univtln/bruno/samples/java101/tp2/model/Vehicle.java

Severity Category Rule Message Line
 Warning blocks NeedBraces 'if' construct must use '{}'s. 65
 Warning blocks NeedBraces 'if' construct must use '{}'s. 66
 Warning blocks NeedBraces 'if' construct must use '{}'s. 67