Checkstyle Results

The following document contains the results of Checkstyle 5.7. rss feed

Summary

Files  Info  Warnings  Errors
8 0 0 131

Rules

Category Rule Violations Severity
blocks NeedBraces 1  Error
coding HiddenField 4  Error
MagicNumber 7  Error
design DesignForExtension 10  Error
HideUtilityClassConstructor 3  Error
javadoc JavadocMethod 15  Error
JavadocPackage
  • allowLegacy: "true"
2  Error
JavadocType 5  Error
JavadocVariable 4  Error
misc FinalParameters 15  Error
NewlineAtEndOfFile 1  Error
regexp RegexpSingleline
  • format: "\s+$"
  • message: "Line has trailing spaces."
2  Error
sizes LineLength 12  Error
whitespace FileTabCharacter
  • eachLine: "true"
47  Error

Details

au/gov/amsa/gt/GeometryUtil.java

Severity Category Rule Message Line
 Error misc NewlineAtEndOfFile File does not end with a newline.
 Error javadoc JavadocType Missing a Javadoc comment. 10
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 10
 Error sizes LineLength Line is longer than 80 characters (found 95). 12
 Error javadoc JavadocMethod Missing a Javadoc comment. 12
 Error misc FinalParameters Parameter gf should be final. 12
 Error misc FinalParameters Parameter geometries should be final. 12
 Error misc FinalParameters Parameter lat should be final. 13
 Error misc FinalParameters Parameter lon should be final. 13
 Error blocks NeedBraces 'if' construct must use '{}'s. 16

au/gov/amsa/gt/Rect.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 3
 Error javadoc JavadocVariable Missing a Javadoc comment. 5
 Error javadoc JavadocVariable Missing a Javadoc comment. 6
 Error javadoc JavadocVariable Missing a Javadoc comment. 7
 Error javadoc JavadocVariable Missing a Javadoc comment. 8
 Error javadoc JavadocMethod Missing a Javadoc comment. 10
 Error misc FinalParameters Parameter minX should be final. 10
 Error coding HiddenField 'minX' hides a field. 10
 Error misc FinalParameters Parameter minY should be final. 10
 Error coding HiddenField 'minY' hides a field. 10
 Error misc FinalParameters Parameter maxX should be final. 10
 Error coding HiddenField 'maxX' hides a field. 10
 Error misc FinalParameters Parameter maxY should be final. 10
 Error coding HiddenField 'maxY' hides a field. 10
 Error design DesignForExtension Method 'minX' is not designed for extension - needs to be abstract, final or empty. 17
 Error javadoc JavadocMethod Missing a Javadoc comment. 17
 Error design DesignForExtension Method 'minY' is not designed for extension - needs to be abstract, final or empty. 21
 Error javadoc JavadocMethod Missing a Javadoc comment. 21
 Error design DesignForExtension Method 'maxX' is not designed for extension - needs to be abstract, final or empty. 25
 Error javadoc JavadocMethod Missing a Javadoc comment. 25
 Error design DesignForExtension Method 'maxY' is not designed for extension - needs to be abstract, final or empty. 29
 Error javadoc JavadocMethod Missing a Javadoc comment. 29
 Error design DesignForExtension Method 'add' is not designed for extension - needs to be abstract, final or empty. 33
 Error javadoc JavadocMethod Missing a Javadoc comment. 33
 Error misc FinalParameters Parameter r should be final. 33
 Error design DesignForExtension Method 'toString' is not designed for extension - needs to be abstract, final or empty. 41
 Error sizes LineLength Line is longer than 80 characters (found 99). 43

au/gov/amsa/gt/Shapefile.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error extension TreeWalker Got an exception - expecting EOF, found 'return' 96

au/gov/amsa/gt/ShapefileCreator.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 29
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 29
 Error javadoc JavadocMethod Missing a Javadoc comment. 31
 Error misc FinalParameters Parameter coords should be final. 31
 Error misc FinalParameters Parameter output should be final. 31
 Error javadoc JavadocMethod Missing a Javadoc comment. 45
 Error javadoc JavadocMethod Missing a Javadoc comment. 55
 Error misc FinalParameters Parameter features should be final. 55
 Error misc FinalParameters Parameter output should be final. 56
 Error sizes LineLength Line is longer than 80 characters (found 89). 58
 Error sizes LineLength Line is longer than 80 characters (found 83). 60
 Error sizes LineLength Line is longer than 80 characters (found 83). 64
 Error sizes LineLength Line is longer than 80 characters (found 88). 74
 Error regexp RegexpSingleline Line has trailing spaces. 82
 Error sizes LineLength Line is longer than 80 characters (found 85). 89
 Error sizes LineLength Line is longer than 80 characters (found 95). 95
 Error sizes LineLength Line is longer than 80 characters (found 93). 107

au/gov/amsa/gt/ShapefileTest.java

Severity Category Rule Message Line
 Error extension TreeWalker Got an exception - expecting EOF, found 'list2' 86

au/gov/amsa/gt/Shapes.java

Severity Category Rule Message Line
 Error whitespace FileTabCharacter Line contains a tab character. 14
 Error whitespace FileTabCharacter Line contains a tab character. 16
 Error whitespace FileTabCharacter Line contains a tab character. 18
 Error whitespace FileTabCharacter Line contains a tab character. 19
 Error whitespace FileTabCharacter Line contains a tab character. 20
 Error whitespace FileTabCharacter Line contains a tab character. 22
 Error whitespace FileTabCharacter Line contains a tab character. 23
 Error whitespace FileTabCharacter Line contains a tab character. 24
 Error whitespace FileTabCharacter Line contains a tab character. 25
 Error whitespace FileTabCharacter Line contains a tab character. 26
 Error whitespace FileTabCharacter Line contains a tab character. 27
 Error whitespace FileTabCharacter Line contains a tab character. 28
 Error whitespace FileTabCharacter Line contains a tab character. 29
 Error whitespace FileTabCharacter Line contains a tab character. 30
 Error whitespace FileTabCharacter Line contains a tab character. 31
 Error whitespace FileTabCharacter Line contains a tab character. 32
 Error whitespace FileTabCharacter Line contains a tab character. 33
 Error whitespace FileTabCharacter Line contains a tab character. 34
 Error whitespace FileTabCharacter Line contains a tab character. 35
 Error whitespace FileTabCharacter Line contains a tab character. 36
 Error extension TreeWalker Got an exception - expecting EOF, found '}' 36
 Error whitespace FileTabCharacter Line contains a tab character. 37
 Error whitespace FileTabCharacter Line contains a tab character. 38
 Error whitespace FileTabCharacter Line contains a tab character. 39
 Error whitespace FileTabCharacter Line contains a tab character. 40
 Error whitespace FileTabCharacter Line contains a tab character. 41
 Error whitespace FileTabCharacter Line contains a tab character. 42
 Error whitespace FileTabCharacter Line contains a tab character. 43
 Error whitespace FileTabCharacter Line contains a tab character. 45
 Error whitespace FileTabCharacter Line contains a tab character. 46
 Error whitespace FileTabCharacter Line contains a tab character. 47
 Error whitespace FileTabCharacter Line contains a tab character. 48
 Error whitespace FileTabCharacter Line contains a tab character. 49
 Error whitespace FileTabCharacter Line contains a tab character. 51
 Error whitespace FileTabCharacter Line contains a tab character. 52
 Error regexp RegexpSingleline Line has trailing spaces. 53
 Error whitespace FileTabCharacter Line contains a tab character. 53
 Error whitespace FileTabCharacter Line contains a tab character. 54
 Error whitespace FileTabCharacter Line contains a tab character. 55
 Error whitespace FileTabCharacter Line contains a tab character. 56
 Error whitespace FileTabCharacter Line contains a tab character. 57
 Error whitespace FileTabCharacter Line contains a tab character. 58
 Error whitespace FileTabCharacter Line contains a tab character. 59
 Error whitespace FileTabCharacter Line contains a tab character. 60
 Error whitespace FileTabCharacter Line contains a tab character. 61
 Error whitespace FileTabCharacter Line contains a tab character. 62
 Error whitespace FileTabCharacter Line contains a tab character. 64
 Error whitespace FileTabCharacter Line contains a tab character. 65
 Error whitespace FileTabCharacter Line contains a tab character. 66

au/gov/amsa/gt/ShapesTest.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file.
 Error javadoc JavadocType Missing a Javadoc comment. 11
 Error design DesignForExtension Method 'testCreate' is not designed for extension - needs to be abstract, final or empty. 13
 Error javadoc JavadocMethod Missing a Javadoc comment. 13
 Error design DesignForExtension Method 'testPointInSrrAndCoralSeaAtba' is not designed for extension - needs to be abstract, final or empty. 18
 Error javadoc JavadocMethod Missing a Javadoc comment. 18
 Error sizes LineLength Line is longer than 80 characters (found 88). 21
 Error coding MagicNumber '-17.050' is a magic number. 21
 Error coding MagicNumber '149.678' is a magic number. 21
 Error design DesignForExtension Method 'testPointInSrrAndNotInCoralSeaAtba' is not designed for extension - needs to be abstract, final or empty. 24
 Error javadoc JavadocMethod Missing a Javadoc comment. 24
 Error sizes LineLength Line is longer than 80 characters (found 84). 27
 Error coding MagicNumber '-17.050' is a magic number. 27
 Error coding MagicNumber '100' is a magic number. 27
 Error design DesignForExtension Method 'testPointInNeitherSrrNorInCoralSeaAtba' is not designed for extension - needs to be abstract, final or empty. 30
 Error javadoc JavadocMethod Missing a Javadoc comment. 30
 Error sizes LineLength Line is longer than 80 characters (found 92). 32
 Error coding MagicNumber '30' is a magic number. 32
 Error coding MagicNumber '100' is a magic number. 32

au/gov/amsa/gt/ZipUtil.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 10
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 10
 Error javadoc JavadocMethod Missing a Javadoc comment. 12
 Error misc FinalParameters Parameter is should be final. 12
 Error misc FinalParameters Parameter folder should be final. 12
 Error coding MagicNumber '1024' is a magic number. 13