Fork me on GitHub

Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos Infos Warnings Warnings Errors Errors
7 0 0 123

Rules

Rules Violations Severity
JavadocPackage
  • allowLegacy: "true"
3 Errors Error
NewlineAtEndOfFile 0 Errors Error
Translation 0 Errors Error
FileLength 0 Errors Error
FileTabCharacter
  • eachLine: "true"
0 Errors Error
RegexpSingleline
  • message: "Line has trailing spaces."
  • format: "\s+$"
0 Errors Error
JavadocMethod 22 Errors Error
JavadocType 2 Errors Error
JavadocVariable 18 Errors Error
JavadocStyle 8 Errors Error
ConstantName 0 Errors Error
LocalFinalVariableName 0 Errors Error
LocalVariableName 0 Errors Error
MemberName 0 Errors Error
MethodName 0 Errors Error
PackageName 0 Errors Error
ParameterName 0 Errors Error
StaticVariableName 0 Errors Error
TypeName 0 Errors Error
AvoidStarImport 2 Errors Error
IllegalImport 0 Errors Error
RedundantImport 0 Errors Error
UnusedImports 1 Errors Error
LineLength 4 Errors Error
MethodLength 0 Errors Error
ParameterNumber 0 Errors Error
EmptyForIteratorPad 0 Errors Error
MethodParamPad 0 Errors Error
NoWhitespaceAfter 1 Errors Error
NoWhitespaceBefore 0 Errors Error
OperatorWrap 0 Errors Error
ParenPad 0 Errors Error
TypecastParenPad 0 Errors Error
WhitespaceAfter 1 Errors Error
WhitespaceAround 1 Errors Error
ModifierOrder 0 Errors Error
RedundantModifier 0 Errors Error
AvoidNestedBlocks 0 Errors Error
EmptyBlock 1 Errors Error
LeftCurly 0 Errors Error
NeedBraces 0 Errors Error
RightCurly 0 Errors Error
AvoidInlineConditionals 4 Errors Error
EmptyStatement 0 Errors Error
EqualsHashCode 0 Errors Error
HiddenField 4 Errors Error
IllegalInstantiation 0 Errors Error
InnerAssignment 0 Errors Error
MagicNumber 0 Errors Error
MissingSwitchDefault 0 Errors Error
RedundantThrows 3 Errors Error
SimplifyBooleanExpression 0 Errors Error
SimplifyBooleanReturn 0 Errors Error
DesignForExtension 17 Errors Error
FinalClass 0 Errors Error
HideUtilityClassConstructor 0 Errors Error
InterfaceIsType 0 Errors Error
VisibilityModifier 10 Errors Error
ArrayTypeStyle 0 Errors Error
FinalParameters 22 Errors Error
TodoComment 0 Errors Error
UpperEll 0 Errors Error

Details

com/munkei/CommandLineOption.java

Violation Message Line
Errors Missing package-info.java file. 0
Errors Unused import - com.munkei.exception.ArgumentParsingException. 22
Errors '}' is not preceded with whitespace. 82
Errors Line is longer than 80 characters (found 152). 121

com/munkei/CommandLineOptionTest.java

Violation Message Line
Errors Missing package-info.java file. 0
Errors Using the '.*' form of import should be avoided - org.junit.Assert.*. 24
Errors Method 'test' is not designed for extension - needs to be abstract, final or empty. 34
Errors Missing a Javadoc comment. 34
Errors '{' is followed by whitespace. 40
Errors Missing a Javadoc comment. 52
Errors Missing a Javadoc comment. 54
Errors Variable 'field' must be private and have accessor methods. 63

com/munkei/JArgP.java

Violation Message Line
Errors Parameter string should be final. 47
Errors Parameter string should be final. 63
Errors Missing a Javadoc comment. 72
Errors Missing a Javadoc comment. 74
Errors Parameter subject should be final. 83
Errors Expected @throws tag for 'NullPointerException'. 84
Errors Redundant throws: 'NullPointerException' is unchecked exception. 84
Errors Method 'parse' is not designed for extension - needs to be abstract, final or empty. 114
Errors Parameter args should be final. 114
Errors Redundant throws: 'NullPointerException' is unchecked exception. 115
Errors Method 'setUsageHeader' is not designed for extension - needs to be abstract, final or empty. 168
Errors Parameter usageHeader should be final. 168
Errors 'usageHeader' hides a field. 168
Errors Method 'printUsage' is not designed for extension - needs to be abstract, final or empty. 184
Errors Parameter output should be final. 184
Errors Redundant throws: 'NullPointerException' is unchecked exception. 185
Errors Avoid inline conditionals. 212
Errors Avoid inline conditionals. 219
Errors Method 'printUsage' is not designed for extension - needs to be abstract, final or empty. 248
Errors Missing a Javadoc comment. 252
Errors Parameter name should be final. 252
Errors Parameter it should be final. 253
Errors Missing a Javadoc comment. 260
Errors Parameter name should be final. 260

com/munkei/JArgPTest.java

Violation Message Line
Errors Using the '.*' form of import should be avoided - org.junit.Assert.*. 29
Errors Missing a Javadoc comment. 39
Errors Method 'testUsage' is not designed for extension - needs to be abstract, final or empty. 42
Errors Missing a Javadoc comment. 42
Errors Method 'testParse' is not designed for extension - needs to be abstract, final or empty. 54
Errors Missing a Javadoc comment. 54
Errors Missing a Javadoc comment. 118
Errors Missing a Javadoc comment. 120
Errors Variable 'stringField' must be private and have accessor methods. 128
Errors Missing a Javadoc comment. 130
Errors Variable 'booleanField' must be private and have accessor methods. 136
Errors Missing a Javadoc comment. 138
Errors Variable 'file' must be private and have accessor methods. 140
Errors Missing a Javadoc comment. 142
Errors Variable 'arraylist' must be private and have accessor methods. 147
Errors Missing a Javadoc comment. 149
Errors Variable 'set' must be private and have accessor methods. 154
Errors Missing a Javadoc comment. 156
Errors Variable 'level' must be private and have accessor methods. 162
Errors Missing a Javadoc comment. 164
Errors Variable 'x' must be private and have accessor methods. 166
Errors Missing a Javadoc comment. 168
Errors Variable 'y' must be private and have accessor methods. 170
Errors Missing a Javadoc comment. 172
Errors Variable 'z' must be private and have accessor methods. 174

com/munkei/Option.java

Violation Message Line
Errors Missing a Javadoc comment. 43
Errors Missing a Javadoc comment. 45
Errors Missing a Javadoc comment. 47
Errors Missing a Javadoc comment. 49
Errors Parameter subject should be final. 49
Errors 'subject' hides a field. 49
Errors Parameter field should be final. 49
Errors 'field' hides a field. 49
Errors Method 'set' is not designed for extension - needs to be abstract, final or empty. 65
Errors Missing a Javadoc comment. 65
Errors Parameter name should be final. 65
Errors Parameter it should be final. 66
Errors Avoid inline conditionals. 69
Errors Line is longer than 80 characters (found 85). 93
Errors Line is longer than 80 characters (found 106). 101
Errors Extra HTML tag found: </dt> 155
Errors Extra HTML tag found: </dd> 156
Errors Extra HTML tag found: </dt> 157
Errors Extra HTML tag found: </dt> 158
Errors Extra HTML tag found: </dt> 159
Errors Extra HTML tag found: </dt> 160
Errors Extra HTML tag found: </dt> 161
Errors Extra HTML tag found: </dd> 163
Errors Parameter value should be final. 177
Errors Parameter to should be final. 177
Errors Expected @throws tag for 'ArgumentParsingException'. 178
Errors Line is longer than 80 characters (found 81). 219
Errors Must have at least one statement. 221
Errors Method 'takesValue' is not designed for extension - needs to be abstract, final or empty. 229
Errors Missing a Javadoc comment. 229
Errors Method 'isBoolean' is not designed for extension - needs to be abstract, final or empty. 233
Errors Missing a Javadoc comment. 233
Errors Method 'hasName' is not designed for extension - needs to be abstract, final or empty. 237
Errors Missing a Javadoc comment. 237
Errors Parameter name should be final. 237
Errors Method 'getCommandLineOption' is not designed for extension - needs to be abstract, final or empty. 241
Errors Missing a Javadoc comment. 241
Errors Method 'getNames' is not designed for extension - needs to be abstract, final or empty. 245
Errors Missing a Javadoc comment. 245
Errors Method 'getField' is not designed for extension - needs to be abstract, final or empty. 266
Errors Missing a Javadoc comment. 266
Errors Method 'isCollection' is not designed for extension - needs to be abstract, final or empty. 270
Errors Missing a Javadoc comment. 270
Errors Method 'getEffectiveClass' is not designed for extension - needs to be abstract, final or empty. 274
Errors Missing a Javadoc comment. 274
Errors Avoid inline conditionals. 276

com/munkei/exception/ArgumentParsingException.java

Violation Message Line
Errors Missing a Javadoc comment. 33
Errors Missing a Javadoc comment. 35
Errors Parameter cause should be final. 35
Errors Parameter message should be final. 36
Errors Parameter arguments should be final. 37
Errors Missing a Javadoc comment. 41
Errors Parameter message should be final. 41
Errors Parameter arguments should be final. 41

com/munkei/exception/NoSuchOptionException.java

Violation Message Line
Errors Missing package-info.java file. 0
Errors Missing a Javadoc comment. 33
Errors Missing a Javadoc comment. 35
Errors Missing a Javadoc comment. 37
Errors Parameter option should be final. 37
Errors 'option' hides a field. 37
Errors Method 'getOption' is not designed for extension - needs to be abstract, final or empty. 42
Errors Missing a Javadoc comment. 42