Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
23 0 312 0

Rules

Rules Violations Severity
JavadocMethod
  • suppressLoadErrors: "true"
  • logLoadErrors: "true"
34 Warnings Warning
JavadocStyle 64 Warnings Warning
JavadocType 0 Warnings Warning
MissingDeprecated 0 Warnings Warning
MissingOverride 6 Warnings Warning
ConstantName 2 Warnings Warning
LocalFinalVariableName 0 Warnings Warning
LocalVariableName 0 Warnings Warning
MemberName 0 Warnings Warning
MethodName 13 Warnings Warning
PackageName 0 Warnings Warning
MethodTypeParameterName 0 Warnings Warning
StaticVariableName 0 Warnings Warning
PackageName 0 Warnings Warning
ParameterName 0 Warnings Warning
TypeName 0 Warnings Warning
AvoidStarImport 0 Warnings Warning
IllegalImport 0 Warnings Warning
RedundantImport 0 Warnings Warning
UnusedImports 35 Warnings Warning
LineLength
  • tabWidth: "4"
  • max: "100"
31 Warnings Warning
EmptyForIteratorPad 0 Warnings Warning
GenericWhitespace 0 Warnings Warning
ModifierOrder 0 Warnings Warning
RedundantModifier 0 Warnings Warning
AvoidNestedBlocks 0 Warnings Warning
EmptyBlock 2 Warnings Warning
LeftCurly
  • maxLineLength: "100"
0 Warnings Warning
NeedBraces 2 Warnings Warning
AvoidInlineConditionals 0 Warnings Warning
DoubleCheckedLocking 0 Warnings Warning
EmptyStatement 0 Warnings Warning
EqualsHashCode 0 Warnings Warning
HiddenField 37 Warnings Warning
IllegalInstantiation 0 Warnings Warning
InnerAssignment 0 Warnings Warning
MagicNumber 4 Warnings Warning
MissingSwitchDefault 0 Warnings Warning
RedundantThrows
  • suppressLoadErrors: "true"
  • logLoadErrors: "true"
0 Warnings Warning
SimplifyBooleanExpression 0 Warnings Warning
SimplifyBooleanReturn 0 Warnings Warning
StringLiteralEquality 0 Warnings Warning
FinalLocalVariable 8 Warnings Warning
FinalClass 0 Warnings Warning
HideUtilityClassConstructor 0 Warnings Warning
VisibilityModifier 5 Warnings Warning
MutableException 0 Warnings Warning
InterfaceIsType 0 Warnings Warning
ArrayTypeStyle 0 Warnings Warning
FinalParameters 69 Warnings Warning
TodoComment 0 Warnings Warning
UpperEll 0 Warnings Warning
CyclomaticComplexity
  • max: "7"
0 Warnings Warning
BooleanExpressionComplexity
  • max: "4"
0 Warnings Warning
FallThrough 0 Warnings Warning
ParameterAssignment 0 Warnings Warning
SuperFinalize 0 Warnings Warning
SuperClone 0 Warnings Warning
ClassFanOutComplexity 0 Warnings Warning
FileTabCharacter 0 Warnings Warning

Details

org/company/thesandbox/domain/ArtistImplBase.java

Violation Message Line
Warnings Unused import - java.util.Collections. 7
Warnings Unused import - java.util.Set. 8
Warnings Unused import - java.util.HashSet. 9
Warnings Unused import - org.mod4j.runtime.validation.MinValueValidator. 10
Warnings Unused import - org.mod4j.runtime.validation.MaxValueValidator. 11
Warnings Unused import - org.mod4j.runtime.validation.MinLengthValidator. 12
Warnings Unused import - org.mod4j.runtime.validation.MaxLengthValidator. 13
Warnings Unused import - org.mod4j.runtime.validation.RegExpValidator. 14
Warnings First sentence should end with a period. 16
Warnings First sentence should end with a period. 25
Warnings First sentence should end with a period. 30
Warnings First sentence should end with a period. 37
Warnings Parameter firstName should be final. 47
Warnings Parameter lastName should be final. 47
Warnings Parameter title should be final. 47
Warnings 'title' hides a field. 47
Warnings 'title' hides a field. 67
Warnings Line is longer than 100 characters. 73
Warnings Parameter value should be final. 79

org/company/thesandbox/domain/CopyOfOrder.java

Violation Message Line
Warnings Missing a Javadoc comment. 16
Warnings Variable 'aMap' should be declared final. 17
Warnings Variable 'person' should be declared final. 18
Warnings Variable 'name' should be declared final. 23
Warnings Variable 'b' should be declared final. 25
Warnings Must have at least one statement. 27

org/company/thesandbox/domain/Customer.java

Violation Message Line
Warnings First sentence should end with a period. 13
Warnings First sentence should end with a period. 20
Warnings Parameter firstName should be final. 30
Warnings Parameter lastName should be final. 30
Warnings Parameter customerNr should be final. 30

org/company/thesandbox/domain/CustomerImplBase.java

Violation Message Line
Warnings First sentence should end with a period. 28
Warnings First sentence should end with a period. 33
Warnings First sentence should end with a period. 42
Warnings Line is longer than 100 characters. 47
Warnings First sentence should end with a period. 49
Warnings First sentence should end with a period. 54
Warnings First sentence should end with a period. 63
Warnings First sentence should end with a period. 75
Warnings Parameter element should be final. 78
Warnings Expected @param tag for 'element'. 78
Warnings First sentence should end with a period. 95
Warnings Parameter element should be final. 100
Warnings Expected @param tag for 'element'. 100
Warnings Name 'z_internalAddToorders' must match pattern '^[a-z][a-zA-Z0-9]*$'. 116
Warnings Parameter element should be final. 116
Warnings Expected @param tag for 'element'. 116
Warnings Name 'z_internalRemoveFromorders' must match pattern '^[a-z][a-zA-Z0-9]*$'. 126
Warnings Parameter element should be final. 126
Warnings Expected @param tag for 'element'. 126
Warnings First sentence should end with a period. 130
Warnings First sentence should end with a period. 137
Warnings Parameter firstName should be final. 147
Warnings Parameter lastName should be final. 147
Warnings Parameter customerNr should be final. 147
Warnings 'customerNr' hides a field. 147
Warnings 'customerNr' hides a field. 217
Warnings 'username' hides a field. 226
Warnings 'emailAddress' hides a field. 235
Warnings 'blackListed' hides a field. 244
Warnings 'discountPercentage' hides a field. 253
Warnings Parameter value should be final. 265

org/company/thesandbox/domain/Order.java

Violation Message Line
Warnings Line is longer than 100 characters. 10
Warnings Missing a Javadoc comment. 16
Warnings Variable 'aMap' should be declared final. 18
Warnings Variable 'person' should be declared final. 19
Warnings Must have at least one statement. 29
Warnings First sentence should end with a period. 37
Warnings First sentence should end with a period. 43
Warnings Parameter orderNumber should be final. 49

org/company/thesandbox/domain/OrderImplBase.java

Violation Message Line
Warnings Line is longer than 100 characters. 2
Warnings Unused import - org.mod4j.runtime.validation.MinLengthValidator. 13
Warnings Unused import - org.mod4j.runtime.validation.MaxLengthValidator. 14
Warnings Unused import - org.mod4j.runtime.validation.RegExpValidator. 15
Warnings Line is longer than 100 characters. 22
Warnings Line is longer than 100 characters. 31
Warnings Variable 'validation' must be private and have accessor methods. 34
Warnings First sentence should end with a period. 52
Warnings First sentence should end with a period. 57
Warnings First sentence should end with a period. 64
Warnings First sentence should end with a period. 71
Warnings First sentence should end with a period. 80
Warnings First sentence should end with a period. 92
Warnings Parameter element should be final. 95
Warnings Expected @param tag for 'element'. 95
Warnings First sentence should end with a period. 106
Warnings Parameter element should be final. 111
Warnings Expected @param tag for 'element'. 111
Warnings Line is longer than 100 characters. 121
Warnings Name 'z_internalAddToorderLines' must match pattern '^[a-z][a-zA-Z0-9]*$'. 125
Warnings Parameter element should be final. 125
Warnings Expected @param tag for 'element'. 125
Warnings Line is longer than 100 characters. 130
Warnings Name 'z_internalRemoveFromorderLines' must match pattern '^[a-z][a-zA-Z0-9]*$'. 134
Warnings Parameter element should be final. 134
Warnings Expected @param tag for 'element'. 134
Warnings First sentence should end with a period. 140
Warnings Expected an @return tag. 145
Warnings First sentence should end with a period. 149
Warnings Parameter element should be final. 154
Warnings Expected @param tag for 'element'. 154
Warnings Line is longer than 100 characters. 168
Warnings Name 'z_internalAddTocustomer' must match pattern '^[a-z][a-zA-Z0-9]*$'. 173
Warnings Parameter element should be final. 173
Warnings Expected @param tag for 'element'. 173
Warnings Line is longer than 100 characters. 178
Warnings Name 'z_internalRemoveFromcustomer' must match pattern '^[a-z][a-zA-Z0-9]*$'. 183
Warnings Parameter element should be final. 183
Warnings Expected @param tag for 'element'. 183
Warnings First sentence should end with a period. 187
Warnings First sentence should end with a period. 194
Warnings Parameter orderNumber should be final. 200
Warnings 'orderNumber' hides a field. 200
Warnings Line is longer than 100 characters. 204
Warnings Line is longer than 100 characters. 206
Warnings 'orderNumber' hides a field. 249
Warnings 'orderDate' hides a field. 258
Warnings 'deliveryDateTime' hides a field. 267
Warnings 'discountPercentage' hides a field. 276
Warnings Line is longer than 100 characters. 282
Warnings Parameter value should be final. 288

org/company/thesandbox/domain/OrderLine.java

Violation Message Line
Warnings First sentence should end with a period. 13
Warnings First sentence should end with a period. 20
Warnings Parameter lineNumber should be final. 30
Warnings Parameter description should be final. 30
Warnings Parameter lineAmount should be final. 30

org/company/thesandbox/domain/OrderLineImplBase.java

Violation Message Line
Warnings Variable 'validation' must be private and have accessor methods. 25
Warnings First sentence should end with a period. 43
Warnings First sentence should end with a period. 52
Warnings First sentence should end with a period. 57
Warnings First sentence should end with a period. 62
Warnings First sentence should end with a period. 74
Warnings Parameter element should be final. 77
Warnings Expected @param tag for 'element'. 77
Warnings Name 'z_internalSetrecord' must match pattern '^[a-z][a-zA-Z0-9]*$'. 100
Warnings Parameter element should be final. 100
Warnings Expected @param tag for 'element'. 100
Warnings Name 'z_internalRemoverecord' must match pattern '^[a-z][a-zA-Z0-9]*$'. 110
Warnings Parameter element should be final. 110
Warnings Expected @param tag for 'element'. 110
Warnings First sentence should end with a period. 114
Warnings First sentence should end with a period. 121
Warnings Parameter lineNumber should be final. 131
Warnings 'lineNumber' hides a field. 131
Warnings Parameter description should be final. 131
Warnings 'description' hides a field. 131
Warnings Parameter lineAmount should be final. 131
Warnings 'lineAmount' hides a field. 131
Warnings 'lineNumber' hides a field. 174
Warnings 'description' hides a field. 183
Warnings 'lineAmount' hides a field. 192

org/company/thesandbox/domain/Person.java

Violation Message Line
Warnings First sentence should end with a period. 13
Warnings First sentence should end with a period. 20
Warnings Parameter firstName should be final. 28
Warnings Parameter lastName should be final. 28

org/company/thesandbox/domain/PersonImplBase.java

Violation Message Line
Warnings Line is longer than 100 characters. 2
Warnings Unused import - java.util.Collections. 8
Warnings Unused import - java.util.Set. 9
Warnings Unused import - java.util.HashSet. 10
Warnings Unused import - org.mod4j.runtime.validation.MinLengthValidator. 13
Warnings Unused import - org.mod4j.runtime.validation.MaxLengthValidator. 14
Warnings Unused import - org.mod4j.runtime.validation.RegExpValidator. 15
Warnings Line is longer than 100 characters. 27
Warnings Variable 'validation' must be private and have accessor methods. 30
Warnings First sentence should end with a period. 58
Warnings First sentence should end with a period. 72
Warnings First sentence should end with a period. 77
Warnings First sentence should end with a period. 84
Warnings Parameter firstName should be final. 92
Warnings 'firstName' hides a field. 92
Warnings Parameter lastName should be final. 92
Warnings 'lastName' hides a field. 92
Warnings Line is longer than 100 characters. 97
Warnings Line is longer than 100 characters. 99
Warnings 'firstName' hides a field. 148
Warnings 'lastName' hides a field. 157
Warnings 'age' hides a field. 166
Warnings 'numberOfEars' hides a field. 175
Warnings 'sexe' hides a field. 184
Warnings Line is longer than 100 characters. 190
Warnings Parameter value should be final. 196

org/company/thesandbox/domain/Product.java

Violation Message Line
Warnings First sentence should end with a period. 13
Warnings First sentence should end with a period. 20
Warnings Parameter productNumnber should be final. 28
Warnings Parameter price should be final. 28

org/company/thesandbox/domain/ProductImplBase.java

Violation Message Line
Warnings Line is longer than 100 characters. 2
Warnings Unused import - java.util.Collections. 8
Warnings Unused import - org.mod4j.runtime.validation.MinValueValidator. 11
Warnings Unused import - org.mod4j.runtime.validation.MaxValueValidator. 12
Warnings Unused import - org.mod4j.runtime.validation.MinLengthValidator. 13
Warnings Unused import - org.mod4j.runtime.validation.MaxLengthValidator. 14
Warnings Unused import - org.mod4j.runtime.validation.RegExpValidator. 15
Warnings Line is longer than 100 characters. 27
Warnings Variable 'validation' must be private and have accessor methods. 30
Warnings First sentence should end with a period. 48
Warnings First sentence should end with a period. 53
Warnings Missing a Javadoc comment. 60
Warnings First sentence should end with a period. 64
Warnings Parameter element should be final. 69
Warnings Expected @param tag for 'element'. 69
Warnings Missing a Javadoc comment. 84
Warnings Parameter element should be final. 84
Warnings Line is longer than 100 characters. 94
Warnings Name 'z_internalAddToRecord' must match pattern '^[a-z][a-zA-Z0-9]*$'. 99
Warnings Parameter element should be final. 99
Warnings Expected @param tag for 'element'. 99
Warnings Line is longer than 100 characters. 104
Warnings Name 'z_internalRemoveFromRecord' must match pattern '^[a-z][a-zA-Z0-9]*$'. 109
Warnings Parameter element should be final. 109
Warnings Expected @param tag for 'element'. 109
Warnings First sentence should end with a period. 113
Warnings First sentence should end with a period. 120
Warnings Parameter productNumnber should be final. 128
Warnings 'productNumnber' hides a field. 128
Warnings Parameter price should be final. 128
Warnings 'price' hides a field. 128
Warnings 'productNumnber' hides a field. 156
Warnings 'price' hides a field. 165
Warnings Line is longer than 100 characters. 171
Warnings Parameter value should be final. 177

org/company/thesandbox/domain/Record.java

Violation Message Line
Warnings First sentence should end with a period. 13
Warnings First sentence should end with a period. 20
Warnings Parameter asin should be final. 28
Warnings Parameter price should be final. 28

org/company/thesandbox/domain/RecordImplBase.java

Violation Message Line
Warnings Unused import - org.mod4j.runtime.validation.MinValueValidator. 12
Warnings Unused import - org.mod4j.runtime.validation.MaxValueValidator. 13
Warnings Unused import - org.mod4j.runtime.validation.MinLengthValidator. 14
Warnings Unused import - org.mod4j.runtime.validation.MaxLengthValidator. 15
Warnings Unused import - org.mod4j.runtime.validation.RegExpValidator. 16
Warnings Variable 'validation' must be private and have accessor methods. 32
Warnings First sentence should end with a period. 50
Warnings First sentence should end with a period. 55
Warnings First sentence should end with a period. 60
Warnings '111' is a magic number. 63
Warnings First sentence should end with a period. 65
Warnings First sentence should end with a period. 70
Warnings First sentence should end with a period. 75
Warnings First sentence should end with a period. 87
Warnings Parameter element should be final. 90
Warnings Expected @param tag for 'element'. 90
Warnings Name 'z_internalSetProduct' must match pattern '^[a-z][a-zA-Z0-9]*$'. 112
Warnings Parameter element should be final. 112
Warnings Expected @param tag for 'element'. 112
Warnings Name 'z_internalRemoveProduct' must match pattern '^[a-z][a-zA-Z0-9]*$'. 122
Warnings Parameter element should be final. 122
Warnings Expected @param tag for 'element'. 122
Warnings First sentence should end with a period. 126
Warnings Parameter element should be final. 141
Warnings Expected @param tag for 'element'. 141
Warnings Parameter element should be final. 149
Warnings Expected @param tag for 'element'. 149
Warnings Parameter element should be final. 166
Warnings Expected @param tag for 'element'. 166
Warnings Name 'z_internalRemoveorderLine' must match pattern '^[a-z][a-zA-Z0-9]*$'. 190
Warnings 'asin' hides a field. 261
Warnings 'title' hides a field. 270
Warnings 'mediumCode' hides a field. 279
Warnings 'price' hides a field. 288
Warnings 'type' hides a field. 297
Warnings Parameter value should be final. 309

org/company/thesandbox/domain/RecordType.java

Violation Message Line
Warnings First sentence should end with a period. 7
Warnings Name 'lookup' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 16
Warnings 'for' construct must use '{}'s. 18
Warnings Missing a Javadoc comment. 24
Warnings 'id' hides a field. 24
Warnings Missing a Javadoc comment. 28
Warnings Missing a Javadoc comment. 32
Warnings Parameter id should be final. 32

org/company/thesandbox/domain/Sexe.java

Violation Message Line
Warnings Name 'lookup' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 16
Warnings 'for' construct must use '{}'s. 18
Warnings Missing a Javadoc comment. 24
Warnings Parameter id should be final. 24
Warnings 'id' hides a field. 24
Warnings Missing a Javadoc comment. 28
Warnings Missing a Javadoc comment. 32
Warnings Parameter id should be final. 32

org/company/thesandbox/domain/businessrules/AnotherRule.java

Violation Message Line
Warnings Must include @java.lang.Override annotation when {@inheritDoc} Javadoc tag exists. 20
Warnings Parameter target should be final. 20
Warnings Parameter errors should be final. 20

org/company/thesandbox/domain/businessrules/AnotherRuleImplBase.java

Violation Message Line
Warnings Line is longer than 100 characters. 2
Warnings Unused import - org.springframework.validation.Errors. 7
Warnings Unused import - org.springframework.validation.ValidationUtils. 8
Warnings First sentence should end with a period. 13
Warnings Must include @java.lang.Override annotation when {@inheritDoc} Javadoc tag exists. 23
Warnings Parameter clazz should be final. 24

org/company/thesandbox/domain/businessrules/OneEarDiscount.java

Violation Message Line
Warnings Must include @java.lang.Override annotation when {@inheritDoc} Javadoc tag exists. 21
Warnings Parameter target should be final. 21
Warnings Parameter errors should be final. 21
Warnings Variable 'cust' should be declared final. 23
Warnings '50' is a magic number. 24
Warnings Line is longer than 100 characters. 25
Warnings Line is longer than 100 characters. 26
Warnings '50' is a magic number. 26
Warnings Line is longer than 100 characters. 27
Warnings '50' is a magic number. 27

org/company/thesandbox/domain/businessrules/OneEarDiscountImplBase.java

Violation Message Line
Warnings Line is longer than 100 characters. 2
Warnings Unused import - org.springframework.validation.Errors. 7
Warnings Unused import - org.springframework.validation.ValidationUtils. 8
Warnings Must include @java.lang.Override annotation when {@inheritDoc} Javadoc tag exists. 23
Warnings Parameter clazz should be final. 24

org/company/thesandbox/domain/businessrules/OrderDateBeforeDeliveryDate.java

Violation Message Line
Warnings Unused import - org.joda.time.DateTime. 8
Warnings Must include @java.lang.Override annotation when {@inheritDoc} Javadoc tag exists. 22
Warnings Parameter target should be final. 22
Warnings Parameter errors should be final. 22
Warnings Variable 'order' should be declared final. 24
Warnings Line is longer than 100 characters. 28
Warnings Line is longer than 100 characters. 29

org/company/thesandbox/domain/businessrules/OrderDateBeforeDeliveryDateImplBase.java

Violation Message Line
Warnings Line is longer than 100 characters. 2
Warnings Unused import - org.springframework.validation.Errors. 7
Warnings Unused import - org.springframework.validation.ValidationUtils. 8
Warnings First sentence should end with a period. 13
Warnings Must include @java.lang.Override annotation when {@inheritDoc} Javadoc tag exists. 23
Warnings Parameter clazz should be final. 24