Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos info Warnings warning Errors error
10 0 0 289

Rules

Rules Violations Severity
PackageHtml 2 error Error
NewlineAtEndOfFile 0 error Error
Translation 0 error Error
JavadocMethod 51 error Error
JavadocType 0 error Error
JavadocVariable 27 error Error
JavadocStyle 9 error Error
ConstantName 1 error Error
LocalFinalVariableName 0 error Error
LocalVariableName 0 error Error
MemberName 0 error Error
MethodName 0 error Error
PackageName 0 error Error
ParameterName 0 error Error
StaticVariableName 0 error Error
TypeName 0 error Error
AvoidStarImport 0 error Error
IllegalImport 0 error Error
RedundantImport 0 error Error
UnusedImports 0 error Error
FileLength 0 error Error
LineLength 5 error Error
MethodLength 1 error Error
ParameterNumber 0 error Error
EmptyForIteratorPad 0 error Error
MethodParamPad 0 error Error
NoWhitespaceAfter 0 error Error
NoWhitespaceBefore 0 error Error
OperatorWrap 0 error Error
ParenPad 0 error Error
TypecastParenPad 0 error Error
TabCharacter 0 error Error
WhitespaceAfter 48 error Error
WhitespaceAround 0 error Error
ModifierOrder 1 error Error
RedundantModifier 0 error Error
AvoidNestedBlocks 0 error Error
EmptyBlock 0 error Error
LeftCurly 0 error Error
NeedBraces 37 error Error
RightCurly 27 error Error
AvoidInlineConditionals 11 error Error
DoubleCheckedLocking 0 error Error
EmptyStatement 0 error Error
EqualsHashCode 0 error Error
HiddenField 2 error Error
IllegalInstantiation 0 error Error
InnerAssignment 0 error Error
MagicNumber 5 error Error
MissingSwitchDefault 0 error Error
RedundantThrows 0 error Error
SimplifyBooleanExpression 0 error Error
SimplifyBooleanReturn 0 error Error
DesignForExtension 28 error Error
FinalClass 0 error Error
HideUtilityClassConstructor 0 error Error
InterfaceIsType 0 error Error
VisibilityModifier 15 error Error
ArrayTypeStyle 0 error Error
FinalParameters 17 error Error
GenericIllegalRegexp
  • message : "Line has trailing spaces."
  • format : "\s+$"
2 error Error
TodoComment 0 error Error
UpperEll 0 error Error

Details

org/paneris/PMS/controller/ProjectDisplay.java

Violation Message Line
error Missing a Javadoc comment. 14
error Line is longer than 80 characters. 18
error Method 'handle' is not designed for extension - needs to be abstract, final or empty. 20
error Parameter context should be final. 20
error 'cast' is not followed by whitespace. 21
error 'cast' is not followed by whitespace. 22
error 'if' construct must use '{}'s. 23
error 'if' construct must use '{}'s. 26
error 'cast' is not followed by whitespace. 28
error '}' should be on the same line. 32
error 'cast' is not followed by whitespace. 39
error '}' should be on the same line. 40

org/paneris/PMS/model/Project.java

Violation Message Line
error Missing a Javadoc comment. 22
error Missing a Javadoc comment. 23
error Missing a Javadoc comment. 24
error Missing a Javadoc comment. 25
error Variable 'userhours' must be private and have accessor methods. 25
error Missing a Javadoc comment. 26
error First sentence should end with a period. 28
error Parameter db should be final. 33
error Expected @param tag for 'db'. 33
error Parameter rs should be final. 33
error Expected @param tag for 'rs'. 33
error First sentence should end with a period. 38
error Parameter db should be final. 43
error Expected @param tag for 'db'. 43
error First sentence should end with a period. 47
error Parameter db should be final. 52
error Expected @param tag for 'db'. 52
error Parameter record should be final. 52
error Expected @param tag for 'record'. 52
error Missing a Javadoc comment. 57
error 'if' construct must use '{}'s. 59
error Missing a Javadoc comment. 64
error 'if' construct must use '{}'s. 66
error Missing a Javadoc comment. 71
error Method 'getFixedValueLeftDisplay' is not designed for extension - needs to be abstract, final or empty. 75
error Missing a Javadoc comment. 75
error Missing a Javadoc comment. 79
error 'if' construct must use '{}'s. 81
error Missing a Javadoc comment. 86
error '100' is a magic number. 87
error Missing a Javadoc comment. 90
error Method 'getSalesFeeDisplay' is not designed for extension - needs to be abstract, final or empty. 94
error Missing a Javadoc comment. 94
error Method 'getSalesFeeLeftDisplay' is not designed for extension - needs to be abstract, final or empty. 98
error Missing a Javadoc comment. 98
error Missing a Javadoc comment. 102
error 'if' construct must use '{}'s. 104
error Missing a Javadoc comment. 109
error '100' is a magic number. 110
error Missing a Javadoc comment. 113
error Method 'getManagementFeeDisplay' is not designed for extension - needs to be abstract, final or empty. 117
error Missing a Javadoc comment. 117
error Method 'getManagementFeeLeftDisplay' is not designed for extension - needs to be abstract, final or empty. 121
error Missing a Javadoc comment. 121
error Method 'getHoursWorkedDisplay' is not designed for extension - needs to be abstract, final or empty. 125
error Missing a Javadoc comment. 125
error Method 'getBudgetRemaining' is not designed for extension - needs to be abstract, final or empty. 129
error Missing a Javadoc comment. 129
error Method 'getBudgetRemainingPercent' is not designed for extension - needs to be abstract, final or empty. 133
error Missing a Javadoc comment. 133
error 'if' construct must use '{}'s. 134
error '100' is a magic number. 136
error Missing a Javadoc comment. 140
error '}' should be on the same line. 143
error Method 'getHourlyRateDisplay' is not designed for extension - needs to be abstract, final or empty. 149
error Missing a Javadoc comment. 149
error Missing a Javadoc comment. 153
error Parameter f should be final. 153
error Expected an @return tag. 160
error Method 'getBreakdown' is not designed for extension - needs to be abstract, final or empty. 160
error Line is longer than 80 characters. 170
error '}' should be on the same line. 180
error 'cast' is not followed by whitespace. 182
error 'cast' is not followed by whitespace. 191
error Method 'getBudget' is not designed for extension - needs to be abstract, final or empty. 199
error Missing a Javadoc comment. 199
error First sentence should end with a period. 220
error Line is longer than 80 characters. 221
error Missing a Javadoc comment. 224
error Variable 'user' must be private and have accessor methods. 224
error Missing a Javadoc comment. 225
error Variable 'hours' must be private and have accessor methods. 225
error Missing a Javadoc comment. 226
error Variable 'payment' must be private and have accessor methods. 226
error Method 'getPaymentDisplay' is not designed for extension - needs to be abstract, final or empty. 228
error Missing a Javadoc comment. 228

org/paneris/PMS/controller/InvoiceList.java

Violation Message Line
error Missing a Javadoc comment. 26
error Method 'handle' is not designed for extension - needs to be abstract, final or empty. 28
error Missing a Javadoc comment. 28
error Parameter context should be final. 28
error 'cast' is not followed by whitespace. 29
error 'cast' is not followed by whitespace. 30
error 'if' construct must use '{}'s. 31
error 'if' construct must use '{}'s. 34
error 'cast' is not followed by whitespace. 36
error 'cast' is not followed by whitespace. 37
error 'cast' is not followed by whitespace. 38
error 'if' construct must use '{}'s. 39
error 'if' construct must use '{}'s. 41
error 'if' construct must use '{}'s. 60
error 'if' construct must use '{}'s. 62
error 'cast' is not followed by whitespace. 75
error '}' should be on the same line. 81
error '}' should be on the same line. 84
error '}' should be on the same line. 104
error '}' should be on the same line. 108
error 'cast' is not followed by whitespace. 115
error '}' should be on the same line. 116

org/paneris/PMS/controller/InvoiceDisplay.java

Violation Message Line
error Missing a Javadoc comment. 14
error Line is longer than 80 characters. 18
error Method 'handle' is not designed for extension - needs to be abstract, final or empty. 20
error Parameter context should be final. 20
error 'cast' is not followed by whitespace. 21
error 'cast' is not followed by whitespace. 22
error 'if' construct must use '{}'s. 23
error 'cast' is not followed by whitespace. 26
error 'if' construct must use '{}'s. 27
error 'if' construct must use '{}'s. 29
error 'cast' is not followed by whitespace. 31
error '}' should be on the same line. 35
error 'cast' is not followed by whitespace. 42
error '}' should be on the same line. 43

org/paneris/PMS/controller/Timesheets.java

Violation Message Line
error Line has trailing spaces. 21
error Line has trailing spaces. 22
error Missing a Javadoc comment. 28
error First sentence should end with a period. 30
error Variable 'connMgr' must be private and have accessor methods. 31
error 'static' modifier out of order with the JLS suggestions. 34
error Name 'debug' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 34
error Expected an @return tag. 51
error Method 'handle' is not designed for extension - needs to be abstract, final or empty. 51
error Method length is 426 lines (max allowed is 150). 51
error Parameter context should be final. 51
error Expected @param tag for 'context'. 51
error Expected @throws tag for 'HandlerException'. 51
error 'cast' is not followed by whitespace. 65
error 'if' construct must use '{}'s. 66
error 'cast' is not followed by whitespace. 71
error 'if' construct must use '{}'s. 72
error 'cast' is not followed by whitespace. 77
error 'if' construct must use '{}'s. 108
error '}' should be on the same line. 129
error 'if' construct must use '{}'s. 140
error 'if' construct must use '{}'s. 157
error 'if' construct must use '{}'s. 186
error Line is longer than 80 characters. 188
error 'if' construct must use '{}'s. 203
error '}' should be on the same line. 216
error '}' should be on the same line. 229
error Avoid inline conditionals. 249
error Avoid inline conditionals. 250
error Avoid inline conditionals. 255
error Avoid inline conditionals. 263
error Avoid inline conditionals. 269
error '}' should be on the same line. 270
error '}' should be on the same line. 288
error 'cast' is not followed by whitespace. 302
error Avoid inline conditionals. 307
error 'if' construct must use '{}'s. 320
error '}' should be on the same line. 322
error 'cast' is not followed by whitespace. 346
error 'cast' is not followed by whitespace. 353
error Avoid inline conditionals. 358
error Avoid inline conditionals. 359
error Avoid inline conditionals. 361
error Avoid inline conditionals. 364
error 'if' construct must use '{}'s. 376
error '}' should be on the same line. 384
error 'if' construct must use '{}'s. 388
error '}' should be on the same line. 393
error 'cast' is not followed by whitespace. 431
error 'if' construct must use '{}'s. 432
error Avoid inline conditionals. 457
error ',' is not followed by whitespace. 461
error 'cast' is not followed by whitespace. 468
error '}' should be on the same line. 469
error '}' should be on the same line. 472
error First sentence should end with a period. 478
error Expected an @return tag. 482
error Parameter param should be final. 482
error Expected @param tag for 'param'. 482
error Parameter context should be final. 482
error Expected @param tag for 'context'. 482
error 'cast' is not followed by whitespace. 483
error 'if' construct must use '{}'s. 484
error 'if' construct must use '{}'s. 486
error First sentence should end with a period. 491
error Missing a Javadoc comment. 495
error Variable 'project' must be private and have accessor methods. 495
error Missing a Javadoc comment. 496
error Variable 'tasks' must be private and have accessor methods. 496
error Missing a Javadoc comment. 497
error Variable 'totalBudget' must be private and have accessor methods. 497
error Missing a Javadoc comment. 498
error Variable 'totalWorked' must be private and have accessor methods. 498
error Method 'overBudget' is not designed for extension - needs to be abstract, final or empty. 500
error Missing a Javadoc comment. 500
error First sentence should end with a period. 505
error Missing a Javadoc comment. 509
error Variable 'task' must be private and have accessor methods. 509
error Missing a Javadoc comment. 510
error Variable 'tSheets' must be private and have accessor methods. 510
error Missing a Javadoc comment. 511
error Variable 'totalWorked' must be private and have accessor methods. 511
error Method 'overBudget' is not designed for extension - needs to be abstract, final or empty. 513
error Missing a Javadoc comment. 513
error 'if' construct must use '{}'s. 515

org/paneris/PMS/controller/InvoiceUpdate.java

Violation Message Line
error Missing a Javadoc comment. 20
error Method 'handle' is not designed for extension - needs to be abstract, final or empty. 22
error Missing a Javadoc comment. 22
error Parameter context should be final. 22
error 'cast' is not followed by whitespace. 23
error 'cast' is not followed by whitespace. 34
error 'if' construct must use '{}'s. 35
error 'cast' is not followed by whitespace. 37
error 'cast' is not followed by whitespace. 43
error '10' is a magic number. 47
error 'cast' is not followed by whitespace. 51
error 'cast' is not followed by whitespace. 54
error '}' should be on the same line. 84
error '}' should be on the same line. 90
error 'cast' is not followed by whitespace. 97
error '}' should be on the same line. 98

org/paneris/PMS/controller/package.html

Violation Message Line
error Missing package documentation file. 0

org/paneris/PMS/model/package.html

Violation Message Line
error Missing package documentation file. 0

org/paneris/PMS/controller/InvoiceEdit.java

Violation Message Line
error Missing a Javadoc comment. 20
error Method 'handle' is not designed for extension - needs to be abstract, final or empty. 22
error Missing a Javadoc comment. 22
error Parameter context should be final. 22
error 'cast' is not followed by whitespace. 23
error 'cast' is not followed by whitespace. 38
error 'if' construct must use '{}'s. 39
error 'cast' is not followed by whitespace. 42
error 'cast' is not followed by whitespace. 48
error 'cast' is not followed by whitespace. 52
error 'if' construct must use '{}'s. 63
error '10' is a magic number. 72
error '}' should be on the same line. 79
error 'cast' is not followed by whitespace. 86
error '}' should be on the same line. 87

org/paneris/PMS/model/Invoice.java

Violation Message Line
error Missing a Javadoc comment. 22
error Missing a Javadoc comment. 23
error Missing a Javadoc comment. 25
error Missing a Javadoc comment. 26
error Variable 'id' must be private and have accessor methods. 26
error Missing a Javadoc comment. 27
error Variable 'db' must be private and have accessor methods. 27
error Missing a Javadoc comment. 28
error Variable 'connMgr' must be private and have accessor methods. 28
error First sentence should end with a period. 30
error Parameter db should be final. 33
error 'db' hides a field. 33
error Expected @param tag for 'db'. 33
error Parameter id should be final. 33
error 'id' hides a field. 33
error Expected @param tag for 'id'. 33
error Expected @throws tag for 'Exception'. 33
error 'if' construct must use '{}'s. 36
error Missing a Javadoc comment. 53
error Parameter id should be final. 53
error Method 'getHeader' is not designed for extension - needs to be abstract, final or empty. 59
error Missing a Javadoc comment. 59
error Method 'getInvoiceLine' is not designed for extension - needs to be abstract, final or empty. 63
error Missing a Javadoc comment. 63
error Method 'getTotal' is not designed for extension - needs to be abstract, final or empty. 67
error Missing a Javadoc comment. 67
error 'cast' is not followed by whitespace. 70
error 'if' construct must use '{}'s. 72
error Method 'getTotalDisplay' is not designed for extension - needs to be abstract, final or empty. 79
error Missing a Javadoc comment. 79
error Method 'hasTimesheets' is not designed for extension - needs to be abstract, final or empty. 83
error Missing a Javadoc comment. 83
error Method 'write' is not designed for extension - needs to be abstract, final or empty. 96
error Missing a Javadoc comment. 96
error 'cast' is not followed by whitespace. 99
error 'cast' is not followed by whitespace. 100
error 'cast' is not followed by whitespace. 103
error '}' should be on the same line. 112
error Method 'isOverdue' is not designed for extension - needs to be abstract, final or empty. 119
error Missing a Javadoc comment. 119
error 'cast' is not followed by whitespace. 121
error 'cast' is not followed by whitespace. 122
error 'if' construct must use '{}'s. 123
error 'if' construct must use '{}'s. 126
error Method 'isOutstanding' is not designed for extension - needs to be abstract, final or empty. 132
error Missing a Javadoc comment. 132
error 'cast' is not followed by whitespace. 133