Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos info Warnings warning Errors error
21 0 0 55

Details

org/apache/commons/cli/OptionBuilder.java

Violation Message Line
error '{' should be on a new line. 349
error '}' should be alone on a line. 361
error '{' should be on a new line. 361

org/apache/commons/cli/Options.java

Violation Message Line
error Missing a Javadoc comment. 48

org/apache/commons/cli/CommandLine.java

Violation Message Line
error Missing a Javadoc comment. 45
error '{' should be on a new line. 92
error '}' should be alone on a line. 94
error 'catch' is not followed by whitespace. 94
error '{' should be on a new line. 94
error '+' should be on a new line. 95
error ')' is preceded with whitespace. 96

org/apache/commons/cli/Parser.java

Violation Message Line
error Must have at least one statement. 268

org/apache/commons/cli/Util.java

Violation Message Line
error Utility classes should not have a public or default constructor. 26

org/apache/commons/cli/TypeHandler.java

Violation Message Line
error Type Javadoc comment is missing an @author tag. 35
error Utility classes should not have a public or default constructor. 35
error Expected @throws tag for 'ParseException'. 47
error Expected @throws tag for 'ParseException'. 62
error Expected @throws tag for 'ParseException'. 114
error Expected @throws tag for 'ParseException'. 150
error Expected @throws tag for 'ParseException'. 176
error Expected @throws tag for 'ParseException'. 196
error Expected @throws tag for 'ParseException'. 209
error Expected @throws tag for 'ParseException'. 228
error Expected @throws tag for 'ParseException'. 240

org/apache/commons/cli/OptionValidator.java

Violation Message Line
error Utility classes should not have a public or default constructor. 27

org/apache/commons/cli/PatternOptionBuilder.java

Violation Message Line
error Type Javadoc comment is missing an @author tag. 55
error Utility classes should not have a public or default constructor. 55

org/apache/commons/cli/HelpFormatter.java

Violation Message Line
error Variable 'defaultWidth' must be private and have accessor methods. 71
error Variable 'defaultLeftPad' must be private and have accessor methods. 79
error Variable 'defaultDescPad' must be private and have accessor methods. 88
error Variable 'defaultSyntaxPrefix' must be private and have accessor methods. 96
error Variable 'defaultNewLine' must be private and have accessor methods. 104
error Variable 'defaultOptPrefix' must be private and have accessor methods. 112
error Variable 'defaultLongOptPrefix' must be private and have accessor methods. 120
error Variable 'defaultArgName' must be private and have accessor methods. 128
error Expected an @return tag. 302
error Expected @param tag for 'comparator'. 312
error More than 7 parameters. 439
error More than 7 parameters. 466
error '8' is a magic number. 734
error '(' is followed by whitespace. 844
error ')' is preceded with whitespace. 844
error Inner assignments should be avoided. 871
error Inner assignments should be avoided. 872
error Inner assignments should be avoided. 887
error Inner assignments should be avoided. 903

org/apache/commons/cli/OptionGroup.java

Violation Message Line
error Missing a Javadoc comment. 34

org/apache/commons/cli/Option.java

Violation Message Line
error Missing a Javadoc comment. 41
error Variable access definition in wrong order. 44
error Variable access definition in wrong order. 47
error Unnecessary parentheses around assignment right-hand side. 622
error '31' is a magic number. 623
error Expected an @return tag. 637
error Expected an @return tag. 668
error Expected @param tag for 'value'. 668