Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

Files Infos info Warnings warning Errors error
23 0 0 63

Details

org/apache/commons/cli/Parser.java

Violation Message Line
error Line is longer than 120 characters. 71
error Must have at least one statement. 275

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/Util.java

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

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/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/OptionGroup.java

Violation Message Line
error Missing a Javadoc comment. 34

org/apache/commons/cli/Options.java

Violation Message Line
error Missing a Javadoc comment. 48

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'. 46
error Expected @throws tag for 'ParseException'. 60
error Expected @throws tag for 'ParseException'. 111
error Expected @throws tag for 'ParseException'. 146
error Expected @throws tag for 'ParseException'. 171
error Expected @throws tag for 'ParseException'. 190
error Expected @throws tag for 'ParseException'. 202
error Expected @throws tag for 'ParseException'. 220
error Expected @throws tag for 'ParseException'. 231

org/apache/commons/cli/DefaultParser.java

Violation Message Line
error Missing a Javadoc comment. 33
error Missing a Javadoc comment. 34
error Missing a Javadoc comment. 35

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/AmbiguousOptionException.java

Violation Message Line
error Expected an @return tag. 50

org/apache/commons/cli/HelpFormatter.java

Violation Message Line
error Unused import - java.util.StringTokenizer. 27
error Unused import - java.io.InputStream. 28
error Unused import - java.io.ByteArrayOutputStream. 29
error Variable 'defaultWidth' must be private and have accessor methods. 74
error Variable 'defaultLeftPad' must be private and have accessor methods. 82
error Variable 'defaultDescPad' must be private and have accessor methods. 91
error Variable 'defaultSyntaxPrefix' must be private and have accessor methods. 99
error Variable 'defaultNewLine' must be private and have accessor methods. 107
error Variable 'defaultOptPrefix' must be private and have accessor methods. 115
error Variable 'defaultLongOptPrefix' must be private and have accessor methods. 123
error Variable 'defaultArgName' must be private and have accessor methods. 131
error Expected an @return tag. 306
error Expected @param tag for 'comparator'. 317
error More than 7 parameters. 444
error More than 7 parameters. 471
error '8' is a magic number. 739
error '(' is followed by whitespace. 849
error ')' is preceded with whitespace. 849
error Inner assignments should be avoided. 876
error Inner assignments should be avoided. 877
error Inner assignments should be avoided. 892
error Inner assignments should be avoided. 908

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