Checkstyle Results
The following document contains the results of Checkstyle 9.3 with checkstyle.xml ruleset.
Summary
| Files | |||
|---|---|---|---|
| 33 | 0 | 52 | 0 |
Files
Rules
| Category | Rule | Violations | Severity |
|---|---|---|---|
| blocks | NeedBraces | 29 | |
| imports | AvoidStarImport | 9 | |
| UnusedImports | 1 | ||
| naming | MethodName | 7 | |
| whitespace | WhitespaceAfter | 6 |
Details
fr/univtln/bruno/samples/java101/tp3/Book.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| blocks | NeedBraces | 'if' construct must use '{}'s. | 38 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 39 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 40 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 41 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 42 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 54 |
fr/univtln/bruno/samples/java101/tp3/BookTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | AvoidStarImport | Using the '.*' form of import should be avoided - org.assertj.core.api.Assertions.*. | 7 | |
| naming | MethodName | Name 'of_validatesArguments' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 12 | |
| naming | MethodName | Name 'compareTo_consistent_ordering' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 21 | |
| whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 22 | |
| whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 22 | |
| whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 23 | |
| whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 23 | |
| whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 24 | |
| whitespace | WhitespaceAfter | ',' is not followed by whitespace. | 24 |
fr/univtln/bruno/samples/java101/tp3/CompareConsistencyTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | AvoidStarImport | Using the '.*' form of import should be avoided - org.assertj.core.api.Assertions.*. | 5 | |
| naming | MethodName | Name 'person_compareTo_consistentWithEquals' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 10 | |
| naming | MethodName | Name 'book_compareTo_consistentWithEquals' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 18 |
fr/univtln/bruno/samples/java101/tp3/Person.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| blocks | NeedBraces | 'if' construct must use '{}'s. | 52 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 53 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 54 |
fr/univtln/bruno/samples/java101/tp3/PersonTest.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | AvoidStarImport | Using the '.*' form of import should be avoided - org.assertj.core.api.Assertions.*. | 5 | |
| naming | MethodName | Name 'of_validatesArguments' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 10 | |
| naming | MethodName | Name 'compareTo_ordersByLastThenFirstThenAge' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 22 | |
| naming | MethodName | Name 'fullName_returnsConcatenation' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 34 |
fr/univtln/bruno/samples/java101/tp3/bestpractices/CollectionBestPractices.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | AvoidStarImport | Using the '.*' form of import should be avoided - java.util.*. | 5 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 184 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 193 | |
| blocks | NeedBraces | 'for' construct must use '{}'s. | 213 | |
| blocks | NeedBraces | 'for' construct must use '{}'s. | 216 | |
| blocks | NeedBraces | 'for' construct must use '{}'s. | 220 | |
| blocks | NeedBraces | 'for' construct must use '{}'s. | 223 | |
| blocks | NeedBraces | 'for' construct must use '{}'s. | 228 | |
| blocks | NeedBraces | 'for' construct must use '{}'s. | 230 | |
| blocks | NeedBraces | 'for' construct must use '{}'s. | 233 | |
| blocks | NeedBraces | 'for' construct must use '{}'s. | 235 |
fr/univtln/bruno/samples/java101/tp3/comparable/ComparatorExamples.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | AvoidStarImport | Using the '.*' form of import should be avoided - java.util.*. | 9 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 163 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 233 |
fr/univtln/bruno/samples/java101/tp3/functional/ParallelStreamsExamples.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | UnusedImports | Unused import - java.util.stream.Collectors. | 7 |
fr/univtln/bruno/samples/java101/tp3/list/ListExamples.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | AvoidStarImport | Using the '.*' form of import should be avoided - java.util.*. | 7 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 57 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 60 |
fr/univtln/bruno/samples/java101/tp3/map/MapExamples.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | AvoidStarImport | Using the '.*' form of import should be avoided - java.util.*. | 7 | |
| blocks | NeedBraces | 'for' construct must use '{}'s. | 101 | |
| blocks | NeedBraces | 'for' construct must use '{}'s. | 113 |
fr/univtln/bruno/samples/java101/tp3/queue/QueueExamples.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | AvoidStarImport | Using the '.*' form of import should be avoided - java.util.*. | 6 | |
| blocks | NeedBraces | 'while' construct must use '{}'s. | 71 | |
| blocks | NeedBraces | 'while' construct must use '{}'s. | 76 | |
| blocks | NeedBraces | 'while' construct must use '{}'s. | 89 | |
| blocks | NeedBraces | 'if' construct must use '{}'s. | 134 |
fr/univtln/bruno/samples/java101/tp3/set/SetExamples.java
| Severity | Category | Rule | Message | Line |
|---|---|---|---|---|
| imports | AvoidStarImport | Using the '.*' form of import should be avoided - java.util.*. | 6 |
