Apache Maven 1.x has reached its end of life, and is no longer supported. For more information, see the announcement. Users are encouraged to migrate to the current version of Apache Maven.

Checkstyle Results

The following document contains the results of Checkstyle .

Errors filtered by severity

Summary

Files Infos Warnings Errors
41 0 0 311

Files

Files I W E
org/apache/maven/jxr/CodeTransform.java 0 0 52
org/apache/maven/jxr/DirectoryIndexer.java 0 0 35
org/apache/maven/jxr/JXR.java 0 0 30
org/apache/maven/jxr/JxrBean.java 0 0 37
org/apache/maven/jxr/ant/DirectoryScanner.java 0 0 7
org/apache/maven/jxr/ant/package.html 0 0 1
org/apache/maven/jxr/package.html 0 0 1
org/apache/maven/jxr/pacman/BaseType.java 0 0 2
org/apache/maven/jxr/pacman/ClassType.java 0 0 1
org/apache/maven/jxr/pacman/FileManager.java 0 0 9
org/apache/maven/jxr/pacman/ImportType.java 0 0 7
org/apache/maven/jxr/pacman/JavaFile.java 0 0 20
org/apache/maven/jxr/pacman/JavaFileImpl.java 0 0 22
org/apache/maven/jxr/pacman/PackageManager.java 0 0 19
org/apache/maven/jxr/pacman/PackageType.java 0 0 8
org/apache/maven/jxr/pacman/package.html 0 0 1
org/apache/maven/jxr/util/SimpleWordTokenizer.java 0 0 27
org/apache/maven/jxr/util/StringEntry.java 0 0 11
org/apache/maven/jxr/util/package.html 0 0 1
org/apache/maven/jxr/CodeTransformTest.java 0 0 9
org/apache/maven/jxr/JxrBeanTest.java 0 0 8
org/apache/maven/jxr/package-info.java 0 0 1
org/apache/maven/jxr/package-info.java 0 0 1
org/apache/maven/jxr/package.html 0 0 1

org/apache/maven/jxr/CodeTransform.java

Error Line
Error Line does not match expected header line of '/* ===================================================================='. 3
Error '{' is followed by whitespace. 151
Error Missing a Javadoc comment. 193
Error Missing a Javadoc comment. 194
Error Missing a Javadoc comment. 195
Error 'packageManager' hides a field. 211
Error Redundant 'final' modifier. 233
Error Redundant 'final' modifier. 252
Error Redundant 'final' modifier. 359
Error Redundant 'final' modifier. 386
Error Redundant 'final' modifier. 434
Error '65' is a magic number. 449
Error '90' is a magic number. 449
Error '97' is a magic number. 449
Error '122' is a magic number. 449
Error Redundant 'final' modifier. 481
Error Redundant 'final' modifier. 504
Error Redundant 'final' modifier. 531
Error Expected @throws tag for 'IOException'. 593
Error Expected @throws tag for 'ClassNotFoundException'. 604
Error Expected @throws tag for 'IOException'. 604
Error 'lang' hides a field. 617
Error '{' should be on a new line. 618
Error 'outputEncoding' hides a field. 621
Error '{' should be on a new line. 622
Error Line is longer than 132 characters. 628
Error Line is longer than 132 characters. 629
Error Line is longer than 132 characters. 683
Error 'sourcefile' hides a field. 683
Error 'destfile' hides a field. 683
Error 'lang' hides a field. 683
Error 'inputEncoding' hides a field. 683
Error 'outputEncoding' hides a field. 683
Error 'javadocLinkDir' hides a field. 683
Error 'revision' hides a field. 683
Error Expected @throws tag for 'IOException'. 684
Error '{' should be on a new line. 704
Error '{' should be on a new line. 711
Error Line is longer than 132 characters. 753
Error Line has trailing spaces. 759
Error Redundant 'final' modifier. 792
Error Redundant 'final' modifier. 842
Error '10' is a magic number. 844
Error '100' is a magic number. 848
Error Redundant 'final' modifier. 864
Error Name 'fqpn_package' must match pattern '^[a-z][a-zA-Z0-9]*$'. 940
Error Name 'fqpn_class' must match pattern '^[a-z][a-zA-Z0-9]*$'. 941
Error Redundant 'final' modifier. 1017
Error Redundant 'final' modifier. 1047
Error Redundant 'final' modifier. 1059
Error Redundant 'final' modifier. 1096
Error Redundant 'final' modifier. 1305

org/apache/maven/jxr/DirectoryIndexer.java

Error Line
Error Missing a Javadoc comment. 65
Error 'static' modifier out of order with the JLS suggestions. 65
Error Missing a Javadoc comment. 70
Error Missing a Javadoc comment. 75
Error Line has trailing spaces. 76
Error Missing a Javadoc comment. 80
Error Missing a Javadoc comment. 81
Error Missing a Javadoc comment. 82
Error Missing a Javadoc comment. 83
Error Missing a Javadoc comment. 84
Error Line has trailing spaces. 85
Error 'packageManager' hides a field. 93
Error 'root' hides a field. 93
Error 'outputEncoding' hides a field. 104
Error Line has trailing spaces. 108
Error 'templateDir' hides a field. 125
Error Line has trailing spaces. 139
Error 'windowTitle' hides a field. 146
Error 'docTitle' hides a field. 167
Error 'bottom' hides a field. 188
Error Line has trailing spaces. 202
Error Line has trailing spaces. 219
Error 'cast' is not followed by whitespace. 225
Error 'cast' is not followed by whitespace. 228
Error 'cast' is not followed by whitespace. 233
Error Missing a Javadoc comment. 245
Error Line has trailing spaces. 257
Error Line is longer than 132 characters. 271
Error Line has trailing spaces. 280
Error Line has trailing spaces. 289
Error Missing a Javadoc comment. 306
Error 'cast' is not followed by whitespace. 315
Error Line has trailing spaces. 319
Error 'cast' is not followed by whitespace. 333
Error Line has trailing spaces. 334

org/apache/maven/jxr/JXR.java

Error Line
Error 'static' modifier out of order with the JLS suggestions. 42
Error Line has trailing spaces. 43
Error '+' should be on a new line. 43
Error Missing a Javadoc comment. 56
Error Missing a Javadoc comment. 57
Error Missing a Javadoc comment. 58
Error Line has trailing spaces. 64
Error More than 7 parameters. 85
Error 'source' hides a field. 86
Error 'dest' hides a field. 87
Error Expected @param tag for 'dest'. 87
Error 'lang' hides a field. 88
Error Expected @param tag for 'lang'. 88
Error 'inputEncoding' hides a field. 89
Error Expected @param tag for 'inputEncoding'. 89
Error 'outputEncoding' hides a field. 90
Error Expected @param tag for 'outputEncoding'. 90
Error 'javadocLinkDir' hides a field. 91
Error Expected @param tag for 'javadocLinkDir'. 91
Error 'revision' hides a field. 92
Error Expression can be simplified. 120
Error '+' should be on a new line. 123
Error Line has trailing spaces. 139
Error 'source' hides a field. 139
Error '+' should be on a new line. 139
Error 'dest' hides a field. 196
Error 'source' hides a field. 229
Error 'dest' hides a field. 229
Error Expected an @return tag. 251
Error Expected @param tag for 'file'. 251

org/apache/maven/jxr/JxrBean.java

Error Line
Error Redundant import from the same package - org.apache.maven.jxr.JXR. 20
Error Redundant import from the same package - org.apache.maven.jxr.DirectoryIndexer. 21
Error Unused import - org.apache.maven.jxr.pacman.PackageType. 24
Error Unused import - org.apache.maven.jxr.pacman.ClassType. 25
Error Unused import - java.util.Enumeration. 26
Error Missing a Javadoc comment. 55
Error Missing a Javadoc comment. 56
Error Missing a Javadoc comment. 57
Error Missing a Javadoc comment. 58
Error Missing a Javadoc comment. 59
Error Missing a Javadoc comment. 60
Error Missing a Javadoc comment. 61
Error Missing a Javadoc comment. 62
Error Missing a Javadoc comment. 63
Error Missing a Javadoc comment. 64
Error Unused @throws tag for 'IOException'. 77
Error Expected @throws tag for 'Exception'. 80
Error '{' should be on a new line. 84
Error Line has trailing spaces. 87
Error Line has trailing spaces. 92
Error Line has trailing spaces. 98
Error Line has trailing spaces. 100
Error Line has trailing spaces. 103
Error Line has trailing spaces. 113
Error Line has trailing spaces. 144
Error Line has trailing spaces. 157
Error '+' should be on a new line. 174
Error 'destDir' hides a field. 211
Error 'lang' hides a field. 232
Error 'inputEncoding' hides a field. 253
Error 'outputEncoding' hides a field. 274
Error Line has trailing spaces. 293
Error 'javadocDir' hides a field. 298
Error 'windowTitle' hides a field. 319
Error 'docTitle' hides a field. 340
Error 'bottom' hides a field. 361
Error 'templateDir' hides a field. 381

org/apache/maven/jxr/ant/DirectoryScanner.java

Error Line
Error Line does not match expected header line of '/* ===================================================================='. 3
Error Line has trailing spaces. 7
Error '{' should be on a new line. 10
Error Missing a Javadoc comment. 12
Error '{' should be on a new line. 12
Error Avoid inline conditionals. 14
Error '{' should be on a new line. 17

org/apache/maven/jxr/ant/package.html

Error Line
Error Missing package documentation file. 0

org/apache/maven/jxr/package.html

Error Line
Error Missing package documentation file. 0

org/apache/maven/jxr/pacman/BaseType.java

Error Line
Error Missing a Javadoc comment. 28
Error 'name' hides a field. 51

org/apache/maven/jxr/pacman/ClassType.java

Error Line
Error Expected @param tag for 'name'. 29

org/apache/maven/jxr/pacman/FileManager.java

Error Line
Error Using the '.*' form of import should be avoided - java.util.*. 20
Error Missing a Javadoc comment. 40
Error Missing a Javadoc comment. 41
Error Expected an @return tag. 44
Error Expected an @return tag. 53
Error Expected @param tag for 'name'. 53
Error Expected @throws tag for 'IOException'. 54
Error Expected @param tag for 'file'. 69
Error 'encoding' hides a field. 79

org/apache/maven/jxr/pacman/ImportType.java

Error Line
Error Missing a Javadoc comment. 24
Error Missing a Javadoc comment. 25
Error Missing a Javadoc comment. 26
Error Expected @param tag for 'name'. 33
Error Expected an @return tag. 52
Error Expected an @return tag. 58
Error Expected an @return tag. 68

org/apache/maven/jxr/pacman/JavaFile.java

Error Line
Error Using the '.*' form of import should be avoided - java.util.*. 20
Error Missing a Javadoc comment. 31
Error Missing a Javadoc comment. 33
Error Missing a Javadoc comment. 34
Error Missing a Javadoc comment. 36
Error Missing a Javadoc comment. 37
Error Expected an @return tag. 40
Error Expected an @return tag. 49
Error Expected an @return tag. 55
Error Expected @param tag for 'importType'. 62
Error 'classType' hides a field. 68
Error Expected @param tag for 'classType'. 68
Error 'packageType' hides a field. 74
Error Expected @param tag for 'packageType'. 74
Error Expected an @return tag. 81
Error 'filename' hides a field. 87
Error Expected @param tag for 'filename'. 87
Error Expected an @return tag. 94
Error 'encoding' hides a field. 100
Error Expected @param tag for 'encoding'. 100

org/apache/maven/jxr/pacman/JavaFileImpl.java

Error Line
Error Using the '.*' form of import should be avoided - java.util.*. 20
Error Using the '.*' form of import should be avoided - java.io.*. 21
Error Missing a Javadoc comment. 32
Error Expected @param tag for 'filename'. 40
Error Expected @param tag for 'encoding'. 40
Error Expected @throws tag for 'IOException'. 41
Error Expected @throws tag for 'IOException'. 62
Error Line has trailing spaces. 68
Error Line has trailing spaces. 71
Error Line has trailing spaces. 76
Error Line has trailing spaces. 83
Error Line has trailing spaces. 88
Error Line has trailing spaces. 90
Error Line has trailing spaces. 102
Error Line has trailing spaces. 105
Error '||' should be on a new line. 109
Error '||' should be on a new line. 110
Error Line has trailing spaces. 117
Error '{' should be on a new line. 123
Error Expected an @return tag. 130
Error Expected @throws tag for 'IOException'. 131
Error Line has trailing spaces. 152

org/apache/maven/jxr/pacman/PackageManager.java

Error Line
Error Using the '.*' form of import should be avoided - java.util.*. 20
Error Using the '.*' form of import should be avoided - java.io.*. 21
Error Using the '.*' form of import should be avoided - org.apache.maven.jxr.util.*. 26
Error Missing a Javadoc comment. 39
Error Expected an @return tag. 55
Error Expected @param tag for 'name'. 55
Error Expected @param tag for 'packageType'. 70
Error Expected an @return tag. 78
Error Expected @param tag for 'directory'. 86
Error Line has trailing spaces. 88
Error '{' is followed by whitespace. 94
Error ',' is not followed by whitespace. 106
Error '&&' should be on a new line. 120
Error Expected @param tag for 'directory'. 139
Error 'directories' hides a field. 151
Error Expected @param tag for 'directories'. 151
Error 'static' modifier out of order with the JLS suggestions. 164
Error Expected @param tag for 'message'. 164
Error 'cast' is not followed by whitespace. 183

org/apache/maven/jxr/pacman/PackageType.java

Error Line
Error Using the '.*' form of import should be avoided - java.util.*. 20
Error Missing a Javadoc comment. 26
Error Expected @param tag for 'name'. 33
Error '{' should be on a new line. 39
Error Expected an @return tag. 43
Error Expected @param tag for 'classType'. 50
Error Expected an @return tag. 61
Error Expected @param tag for 'classType'. 61

org/apache/maven/jxr/pacman/package.html

Error Line
Error Missing package documentation file. 0

org/apache/maven/jxr/util/SimpleWordTokenizer.java

Error Line
Error Using the '.*' form of import should be avoided - java.util.*. 20
Error Utility classes should not have a public or default constructor. 28
Error 'static' modifier out of order with the JLS suggestions. 32
Error Expected an @return tag. 35
Error Expected @param tag for 'line'. 35
Error '||' should be on a new line. 46
Error '||' should be on a new line. 47
Error Expected an @return tag. 64
Error Expected an @return tag. 88
Error Expected @param tag for 'line'. 88
Error Expected @param tag for 'start'. 88
Error '||' should be on a new line. 101
Error Expected an @return tag. 127
Error Expected @param tag for 'string'. 127
Error '||' should be on a new line. 130
Error Expression can be simplified. 142
Error '&&' should be on a new line. 142
Error Expected an @return tag. 154
Error Expected @param tag for 'string'. 154
Error Expected @param tag for 'start'. 154
Error '||' should be on a new line. 164
Error '&&' should be on a new line. 165
Error Expected an @return tag. 185
Error Expected @param tag for 'string'. 185
Error Expression can be simplified. 191
Error Expected an @return tag. 203
Error Expected @param tag for 'c'. 203

org/apache/maven/jxr/util/StringEntry.java

Error Line
Error Missing a Javadoc comment. 27
Error Missing a Javadoc comment. 28
Error 'value' hides a field. 36
Error Expected @param tag for 'value'. 36
Error 'index' hides a field. 37
Error Expected @param tag for 'index'. 37
Error Expected an @return tag. 45
Error Expected an @return tag. 51
Error Expected an @return tag. 57
Error Expected @param tag for 'obj'. 57
Error Expression can be simplified. 61

org/apache/maven/jxr/util/package.html

Error Line
Error Missing package documentation file. 0

org/apache/maven/jxr/CodeTransformTest.java

Error Line
Error Line does not match expected header line of '/* ===================================================================='. 3
Error Missing a Javadoc comment. 9
Error '{' should be on a new line. 9
Error Missing a Javadoc comment. 11
Error Missing a Javadoc comment. 13
Error Missing a Javadoc comment. 15
Error '{' should be on a new line. 15
Error Missing a Javadoc comment. 21
Error '{' should be on a new line. 21

org/apache/maven/jxr/JxrBeanTest.java

Error Line
Error Line does not match expected header line of '/* ===================================================================='. 3
Error Missing a Javadoc comment. 5
Error '{' should be on a new line. 5
Error Missing a Javadoc comment. 7
Error Missing a Javadoc comment. 9
Error '{' should be on a new line. 9
Error Missing a Javadoc comment. 23
Error '{' should be on a new line. 23

org/apache/maven/jxr/package-info.java

Error Line
Error File does not end with a newline. 0

org/apache/maven/jxr/package-info.java

Error Line
Error Missing a header - not enough lines in file. 1

org/apache/maven/jxr/package.html

Error Line
Error Missing package documentation file. 0