Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
48 0 22 0

Files

File  I  W  E
org/bremersee/comparator/ComparatorJaxbContextDataProvider.java 0 1 0
org/bremersee/comparator/ValueComparatorTest.java 0 10 0
org/bremersee/comparator/model/BufferSchemaOutputResolver.java 0 1 0
org/bremersee/comparator/model/SortOrder.java 0 2 0
org/bremersee/comparator/model/SortOrderTest.java 0 3 0
org/bremersee/comparator/model/SortOrders.java 0 2 0
org/bremersee/comparator/model/SortOrdersTest.java 0 3 0

Rules

Category Rule Violations Severity
coding OverloadMethodsDeclarationOrder 4  Warning
imports CustomImportOrder
  • separateLineBetweenGroups: "true"
  • sortImportsInGroupAlphabetically: "true"
  • customImportOrderRules: "STATIC###THIRD_PARTY_PACKAGE"
  • tokens: "IMPORT, STATIC_IMPORT, PACKAGE_DEF"
8  Warning
naming MethodName
  • format: "^[a-z][a-z0-9][a-zA-Z0-9]*$"
10  Warning

Details

org/bremersee/comparator/ComparatorJaxbContextDataProvider.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'jakarta.xml.bind.annotation.XmlSchema' import. Should be before 'java.util.Optional'. 24

org/bremersee/comparator/ValueComparatorTest.java

Severity Category Rule Message Line
 Warning naming MethodName Method name 'testWith_1_And_1' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 218
 Warning naming MethodName Method name 'testWith_1_And_2_And_Asc' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 235
 Warning naming MethodName Method name 'testWith_1_And_2_And_Desc' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 253
 Warning naming MethodName Method name 'testWith_2_And_1_And_Asc' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 271
 Warning naming MethodName Method name 'testWith_2_And_1_And_Desc' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 289
 Warning naming MethodName Method name 'testWith_A_And_A' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 307
 Warning naming MethodName Method name 'testWith_A_And_B_And_Asc_And_IgnoreCase' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 324
 Warning naming MethodName Method name 'testWith_A_And_B_And_Desc_And_IgnoreCase' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 342
 Warning naming MethodName Method name 'testWith_B_And_A_And_Asc_And_IgnoreCase' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 360
 Warning naming MethodName Method name 'testWith_B_And_A_And_Desc_And_IgnoreCase' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. 378

org/bremersee/comparator/model/BufferSchemaOutputResolver.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'jakarta.xml.bind.SchemaOutputResolver' import. Should be before 'java.util.Set'. 23

org/bremersee/comparator/model/SortOrder.java

Severity Category Rule Message Line
 Warning coding OverloadMethodsDeclarationOrder All overloaded methods should be placed next to each other. Previous overloaded method located at line '195'. 241
 Warning coding OverloadMethodsDeclarationOrder All overloaded methods should be placed next to each other. Previous overloaded method located at line '217'. 270

org/bremersee/comparator/model/SortOrderTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'jakarta.xml.bind.JAXBContext' import. Should be before 'java.io.StringWriter'. 24
 Warning imports CustomImportOrder Wrong lexicographical order for 'jakarta.xml.bind.JAXBException' import. Should be before 'java.io.StringWriter'. 25
 Warning imports CustomImportOrder Wrong lexicographical order for 'jakarta.xml.bind.Marshaller' import. Should be before 'java.io.StringWriter'. 26

org/bremersee/comparator/model/SortOrders.java

Severity Category Rule Message Line
 Warning coding OverloadMethodsDeclarationOrder All overloaded methods should be placed next to each other. Previous overloaded method located at line '137'. 183
 Warning coding OverloadMethodsDeclarationOrder All overloaded methods should be placed next to each other. Previous overloaded method located at line '159'. 211

org/bremersee/comparator/model/SortOrdersTest.java

Severity Category Rule Message Line
 Warning imports CustomImportOrder Wrong lexicographical order for 'jakarta.xml.bind.JAXBContext' import. Should be before 'java.util.List'. 26
 Warning imports CustomImportOrder Wrong lexicographical order for 'jakarta.xml.bind.JAXBException' import. Should be before 'java.util.List'. 27
 Warning imports CustomImportOrder Wrong lexicographical order for 'jakarta.xml.bind.Marshaller' import. Should be before 'java.util.List'. 28