Checkstyle Results

The following document contains the results of Checkstyle 12.2.0 with google_checks.xml ruleset.

Summary

Files  Info  Warnings  Errors
36 0 33 0

Files

File  I  W  E
org/bremersee/comparator/ComparatorBuilder.java 0 1 0
org/bremersee/comparator/ComparatorChain.java 0 2 0
org/bremersee/comparator/ComparatorChainTest.java 0 3 0
org/bremersee/comparator/DelegatingComparator.java 0 1 0
org/bremersee/comparator/DelegatingComparatorTest.java 0 1 0
org/bremersee/comparator/ValueComparator.java 0 2 0
org/bremersee/comparator/ValueComparatorTest.java 0 14 0
org/bremersee/comparator/model/SortOrder.java 0 3 0
org/bremersee/comparator/model/SortOrderItemTest.java 0 3 0
org/bremersee/comparator/model/SortOrderTest.java 0 3 0

Rules

Category Rule Violations Severity
coding MatchXpath
  • query: "//SINGLE_LINE_COMMENT[./COMMENT_CONTENT[not(starts-with(@text, ' ')) and not(starts-with(@text, '/')) and not(@text = '\n') and not(ends-with(@text, '//\n'))]]"
  • id: "singleLineCommentStartWithSpace"
20  Warning
javadoc MissingJavadocMethod
  • allowMissingPropertyJavadoc: "true"
  • scope: "protected"
  • tokens: "METHOD_DEF, CTOR_DEF, ANNOTATION_FIELD_DEF, COMPACT_CTOR_DEF"
  • allowedAnnotations: "Override, Test"
1  Warning
naming MethodName
  • format: "^(?![a-z]$)(?![a-z][A-Z])[a-z][a-z0-9]*(?:[A-Z][a-z0-9]*)*(?:_[0-9]+)*$"
10  Warning
sizes LineLength
  • fileExtensions: "java"
  • max: "100"
  • ignorePattern: "^package.*|^import.*|href\s*=\s*"[^"]*"|http://|https://|ftp://"
2  Error

Details

org/bremersee/comparator/ComparatorBuilder.java

Severity Category Rule Message Line
 Warning coding MatchXpath '//' must be followed by a whitespace. 278

org/bremersee/comparator/ComparatorChain.java

Severity Category Rule Message Line
 Warning coding MatchXpath '//' must be followed by a whitespace. 50
 Warning coding MatchXpath '//' must be followed by a whitespace. 60

org/bremersee/comparator/ComparatorChainTest.java

Severity Category Rule Message Line
 Warning coding MatchXpath '//' must be followed by a whitespace. 55
 Warning coding MatchXpath '//' must be followed by a whitespace. 69
 Warning coding MatchXpath '//' must be followed by a whitespace. 81

org/bremersee/comparator/DelegatingComparator.java

Severity Category Rule Message Line
 Warning coding MatchXpath '//' must be followed by a whitespace. 71

org/bremersee/comparator/DelegatingComparatorTest.java

Severity Category Rule Message Line
 Warning coding MatchXpath '//' must be followed by a whitespace. 72

org/bremersee/comparator/ValueComparator.java

Severity Category Rule Message Line
 Warning coding MatchXpath '//' must be followed by a whitespace. 103
 Warning coding MatchXpath '//' must be followed by a whitespace. 113

org/bremersee/comparator/ValueComparatorTest.java

Severity Category Rule Message Line
 Warning coding MatchXpath '//' must be followed by a whitespace. 53
 Warning coding MatchXpath '//' must be followed by a whitespace. 66
 Warning naming MethodName Method name 'testWith_1_And_1' must match pattern '^(?![a-z]$)(?![a-z][A-Z])[a-z][a-z0-9]*(?:[A-Z][a-z0-9]*)*(?:_[0-9]+)*$'. 247
 Warning coding MatchXpath '//' must be followed by a whitespace. 252
 Warning naming MethodName Method name 'testWith_1_And_2_And_Asc' must match pattern '^(?![a-z]$)(?![a-z][A-Z])[a-z][a-z0-9]*(?:[A-Z][a-z0-9]*)*(?:_[0-9]+)*$'. 265
 Warning naming MethodName Method name 'testWith_1_And_2_And_Desc' must match pattern '^(?![a-z]$)(?![a-z][A-Z])[a-z][a-z0-9]*(?:[A-Z][a-z0-9]*)*(?:_[0-9]+)*$'. 284
 Warning naming MethodName Method name 'testWith_2_And_1_And_Asc' must match pattern '^(?![a-z]$)(?![a-z][A-Z])[a-z][a-z0-9]*(?:[A-Z][a-z0-9]*)*(?:_[0-9]+)*$'. 304
 Warning naming MethodName Method name 'testWith_2_And_1_And_Desc' must match pattern '^(?![a-z]$)(?![a-z][A-Z])[a-z][a-z0-9]*(?:[A-Z][a-z0-9]*)*(?:_[0-9]+)*$'. 324
 Warning naming MethodName Method name 'testWith_A_And_A' must match pattern '^(?![a-z]$)(?![a-z][A-Z])[a-z][a-z0-9]*(?:[A-Z][a-z0-9]*)*(?:_[0-9]+)*$'. 344
 Warning coding MatchXpath '//' must be followed by a whitespace. 349
 Warning naming MethodName Method name 'testWith_A_And_B_And_Asc_And_IgnoreCase' must match pattern '^(?![a-z]$)(?![a-z][A-Z])[a-z][a-z0-9]*(?:[A-Z][a-z0-9]*)*(?:_[0-9]+)*$'. 362
 Warning naming MethodName Method name 'testWith_A_And_B_And_Desc_And_IgnoreCase' must match pattern '^(?![a-z]$)(?![a-z][A-Z])[a-z][a-z0-9]*(?:[A-Z][a-z0-9]*)*(?:_[0-9]+)*$'. 383
 Warning naming MethodName Method name 'testWith_B_And_A_And_Asc_And_IgnoreCase' must match pattern '^(?![a-z]$)(?![a-z][A-Z])[a-z][a-z0-9]*(?:[A-Z][a-z0-9]*)*(?:_[0-9]+)*$'. 404
 Warning naming MethodName Method name 'testWith_B_And_A_And_Desc_And_IgnoreCase' must match pattern '^(?![a-z]$)(?![a-z][A-Z])[a-z][a-z0-9]*(?:[A-Z][a-z0-9]*)*(?:_[0-9]+)*$'. 425

org/bremersee/comparator/model/SortOrder.java

Severity Category Rule Message Line
 Warning sizes LineLength Zeile ist 114 Zeichen lang (Obergrenze ist 100). 139
 Warning sizes LineLength Zeile ist 114 Zeichen lang (Obergrenze ist 100). 160
 Warning javadoc MissingJavadocMethod Es fehlt ein Javadoc-Kommentar. 237

org/bremersee/comparator/model/SortOrderItemTest.java

Severity Category Rule Message Line
 Warning coding MatchXpath '//' must be followed by a whitespace. 119
 Warning coding MatchXpath '//' must be followed by a whitespace. 121
 Warning coding MatchXpath '//' must be followed by a whitespace. 129

org/bremersee/comparator/model/SortOrderTest.java

Severity Category Rule Message Line
 Warning coding MatchXpath '//' must be followed by a whitespace. 144
 Warning coding MatchXpath '//' must be followed by a whitespace. 146
 Warning coding MatchXpath '//' must be followed by a whitespace. 152