Checkstyle Results

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

Summary

Files  Info  Warnings  Errors
4 0 0 47

Rules

Category Rule Violations Severity
blocks NeedBraces 3  Error
coding MagicNumber 8  Error
design DesignForExtension 2  Error
javadoc JavadocMethod 4  Error
JavadocPackage
  • allowLegacy: "true"
2  Error
JavadocType 3  Error
JavadocVariable 4  Error
misc FinalParameters 11  Error
NewlineAtEndOfFile 1  Error
sizes LineLength 5  Error
ParameterNumber 1  Error
whitespace NoWhitespaceAfter 1  Error

Details

au/gov/amsa/spark/ais/AnchoredPredictor.java

Severity Category Rule Message Line
 Error javadoc JavadocType Missing a Javadoc comment. 8
 Error javadoc JavadocVariable Missing a Javadoc comment. 10
 Error javadoc JavadocMethod Missing a Javadoc comment. 12
 Error misc FinalParameters Parameter sc should be final. 12
 Error sizes LineLength Line is longer than 80 characters (found 99). 13
 Error javadoc JavadocType Missing a Javadoc comment. 17
 Error javadoc JavadocVariable Missing a Javadoc comment. 18
 Error javadoc JavadocVariable Missing a Javadoc comment. 18
 Error javadoc JavadocVariable Missing a Javadoc comment. 18
 Error sizes LineLength Line is longer than 80 characters (found 95). 21
 Error design DesignForExtension Method 'predict' is not designed for extension - needs to be abstract, final or empty. 21
 Error javadoc JavadocMethod Missing a Javadoc comment. 21
 Error sizes ParameterNumber More than 7 parameters (found 8). 21
 Error misc FinalParameters Parameter lat should be final. 21
 Error misc FinalParameters Parameter lon should be final. 21
 Error misc FinalParameters Parameter speedKnots should be final. 21
 Error misc FinalParameters Parameter courseMinusHeading should be final. 21
 Error sizes LineLength Line is longer than 80 characters (found 91). 22
 Error misc FinalParameters Parameter preEffectiveSpeedKnots should be final. 22
 Error misc FinalParameters Parameter preError should be final. 22
 Error misc FinalParameters Parameter postEffectiveSpeedKnots should be final. 22
 Error misc FinalParameters Parameter postError should be final. 23
 Error sizes LineLength Line is longer than 80 characters (found 98). 24
 Error whitespace NoWhitespaceAfter '{' is followed by whitespace. 24
 Error sizes LineLength Line is longer than 80 characters (found 88). 25
 Error blocks NeedBraces 'if' construct must use '{}'s. 28
 Error blocks NeedBraces 'if' construct must use '{}'s. 30
 Error blocks NeedBraces 'else' construct must use '{}'s. 32
 Error javadoc JavadocMethod Missing a Javadoc comment. 36
 Error misc FinalParameters Parameter a should be final. 36
 Error misc FinalParameters Parameter b should be final. 36
 Error coding MagicNumber '0.0001' is a magic number. 37

au/gov/amsa/spark/ais/AnchoredPredictorTest.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 'testLoad' is not designed for extension - needs to be abstract, final or empty. 13
 Error javadoc JavadocMethod Missing a Javadoc comment. 13
 Error coding MagicNumber '-10' is a magic number. 22
 Error coding MagicNumber '145' is a magic number. 22
 Error coding MagicNumber '10' is a magic number. 22
 Error coding MagicNumber '8.0' is a magic number. 22
 Error coding MagicNumber '10' is a magic number. 22
 Error coding MagicNumber '8.0' is a magic number. 22
 Error coding MagicNumber '7' is a magic number. 22

au/gov/amsa/spark/ais/AnchoredTrainerMain.java

Severity Category Rule Message Line
 Error misc NewlineAtEndOfFile File does not end with a newline.
 Error javadoc JavadocPackage Missing package-info.java file.
 Error extension TreeWalker Got an exception - expecting EOF, found '}' 101

au/gov/amsa/spark/ais/SampleApp.java

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