The following document contains the results of Checkstyle 6.11.2 with sun_checks.xml ruleset. rss feed

Summary

Files  Info  Warnings  Errors
17 0 0 458

Rules

Category Rule Violations Severity
blocks LeftCurly 2  Error
RightCurly 1  Error
coding HiddenField 20  Error
MagicNumber 25  Error
design DesignForExtension 45  Error
FinalClass 1  Error
imports AvoidStarImport 8  Error
UnusedImports 2  Error
javadoc JavadocMethod 72  Error
JavadocVariable 60  Error
misc ArrayTypeStyle 4  Error
FinalParameters 49  Error
modifier RedundantModifier 2  Error
naming MemberName 16  Error
sizes LineLength 12  Error
whitespace WhitespaceAfter 24  Error
WhitespaceAround 115  Error

Details

org/woehlke/simulation/evolution/control/ControllerThread.java

Severity Category Rule Message Line
 Error javadoc JavadocVariable Missing a Javadoc comment. 15
 Error javadoc JavadocVariable Missing a Javadoc comment. 16
 Error javadoc JavadocVariable Missing a Javadoc comment. 18
 Error naming MemberName Name 'THREAD_SLEEP_TIME' must match pattern '^[a-z][a-zA-Z0-9]*$'. 18
 Error coding MagicNumber '100' is a magic number. 18
 Error javadoc JavadocVariable Missing a Javadoc comment. 19
 Error javadoc JavadocMethod Missing a Javadoc comment. 21
 Error design DesignForExtension Method 'run' is not designed for extension - needs to be abstract, final or empty. 25
 Error javadoc JavadocMethod Missing a Javadoc comment. 25
 Error blocks LeftCurly '{' at column 17 should have line break after. 33
 Error blocks RightCurly '}' at column 45 should be on the same line as the next part of a multi-block statement. 33
 Error blocks LeftCurly '{' at column 44 should have line break after. 34
 Error design DesignForExtension Method 'exit' is not designed for extension - needs to be abstract, final or empty. 39
 Error javadoc JavadocMethod Missing a Javadoc comment. 39
 Error design DesignForExtension Method 'setCanvas' is not designed for extension - needs to be abstract, final or empty. 45
 Error javadoc JavadocMethod Missing a Javadoc comment. 45
 Error misc FinalParameters Parameter canvas should be final. 45
 Error coding HiddenField 'canvas' hides a field. 45
 Error design DesignForExtension Method 'setWorld' is not designed for extension - needs to be abstract, final or empty. 49
 Error javadoc JavadocMethod Missing a Javadoc comment. 49
 Error misc FinalParameters Parameter world should be final. 49
 Error coding HiddenField 'world' hides a field. 49

org/woehlke/simulation/evolution/desktop/AppMainDesktop.java

Severity Category Rule Message Line
 Error design FinalClass Class AppMainDesktop should be declared as final. 10
 Error javadoc JavadocMethod Missing a Javadoc comment. 12
 Error misc FinalParameters Parameter args should be final. 18

org/woehlke/simulation/evolution/model/Cell.java

Severity Category Rule Message Line
 Error javadoc JavadocVariable Missing a Javadoc comment. 14
 Error javadoc JavadocVariable Missing a Javadoc comment. 15
 Error javadoc JavadocVariable Missing a Javadoc comment. 16
 Error javadoc JavadocVariable Missing a Javadoc comment. 17
 Error javadoc JavadocVariable Missing a Javadoc comment. 18
 Error javadoc JavadocVariable Missing a Javadoc comment. 20
 Error javadoc JavadocMethod Missing a Javadoc comment. 22
 Error misc FinalParameters Parameter max should be final. 22
 Error coding HiddenField 'max' hides a field. 22
 Error misc FinalParameters Parameter position should be final. 22
 Error coding HiddenField 'position' hides a field. 22
 Error misc FinalParameters Parameter random should be final. 22
 Error coding HiddenField 'random' hides a field. 22
 Error sizes LineLength Line is longer than 80 characters (found 83). 35
 Error javadoc JavadocMethod Missing a Javadoc comment. 35
 Error misc FinalParameters Parameter fat should be final. 35
 Error misc FinalParameters Parameter rna should be final. 35
 Error misc FinalParameters Parameter position should be final. 35
 Error coding HiddenField 'position' hides a field. 35
 Error misc FinalParameters Parameter max should be final. 35
 Error coding HiddenField 'max' hides a field. 35
 Error misc FinalParameters Parameter random should be final. 35
 Error coding HiddenField 'random' hides a field. 35
 Error javadoc JavadocMethod Missing a Javadoc comment. 44
 Error javadoc JavadocMethod Missing a Javadoc comment. 53
 Error sizes LineLength Line is longer than 80 characters (found 87). 57
 Error design DesignForExtension Method 'move' is not designed for extension - needs to be abstract, final or empty. 61
 Error javadoc JavadocMethod Missing a Javadoc comment. 61
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 62
 Error whitespace WhitespaceAround '{' is not preceded with whitespace. 62
 Error design DesignForExtension Method 'cellDivisionFactory' is not designed for extension - needs to be abstract, final or empty. 70
 Error javadoc JavadocMethod Missing a Javadoc comment. 70
 Error design DesignForExtension Method 'getPosition' is not designed for extension - needs to be abstract, final or empty. 77
 Error javadoc JavadocMethod Missing a Javadoc comment. 77
 Error design DesignForExtension Method 'isPregnant' is not designed for extension - needs to be abstract, final or empty. 81
 Error javadoc JavadocMethod Missing a Javadoc comment. 81
 Error design DesignForExtension Method 'eat' is not designed for extension - needs to be abstract, final or empty. 85
 Error javadoc JavadocMethod Missing a Javadoc comment. 85
 Error misc FinalParameters Parameter food should be final. 85
 Error design DesignForExtension Method 'died' is not designed for extension - needs to be abstract, final or empty. 89
 Error javadoc JavadocMethod Missing a Javadoc comment. 89
 Error design DesignForExtension Method 'getLifeCycleStatus' is not designed for extension - needs to be abstract, final or empty. 93
 Error javadoc JavadocMethod Missing a Javadoc comment. 93
 Error whitespace WhitespaceAround '{' is not preceded with whitespace. 93

org/woehlke/simulation/evolution/model/CellCore.java

Severity Category Rule Message Line
 Error javadoc JavadocVariable Missing a Javadoc comment. 15
 Error javadoc JavadocVariable Missing a Javadoc comment. 16
 Error naming MemberName Name 'MAX_VALUE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 16
 Error coding MagicNumber '16' is a magic number. 16
 Error javadoc JavadocVariable Missing a Javadoc comment. 17
 Error naming MemberName Name 'MAX_INITIAL_VALUE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 17
 Error coding MagicNumber '8' is a magic number. 17
 Error javadoc JavadocVariable Missing a Javadoc comment. 18
 Error javadoc JavadocMethod Missing a Javadoc comment. 20
 Error misc FinalParameters Parameter random should be final. 20
 Error coding HiddenField 'random' hides a field. 20
 Error javadoc JavadocMethod Missing a Javadoc comment. 29
 Error misc FinalParameters Parameter random should be final. 29
 Error coding HiddenField 'random' hides a field. 29
 Error misc FinalParameters Parameter rna should be final. 29
 Error design DesignForExtension Method 'mitosisFactory' is not designed for extension - needs to be abstract, final or empty. 35
 Error javadoc JavadocMethod Missing a Javadoc comment. 35
 Error misc ArrayTypeStyle Array brackets at illegal position. 45
 Error javadoc JavadocMethod Missing a Javadoc comment. 51
 Error misc FinalParameters Parameter base should be final. 51
 Error javadoc JavadocMethod Missing a Javadoc comment. 65
 Error misc FinalParameters Parameter base should be final. 65
 Error whitespace WhitespaceAround '-' is not preceded with whitespace. 75
 Error whitespace WhitespaceAround '-' is not followed by whitespace. 75
 Error design DesignForExtension Method 'getRandomOrientation' is not designed for extension - needs to be abstract, final or empty. 79
 Error javadoc JavadocMethod Missing a Javadoc comment. 79

org/woehlke/simulation/evolution/model/Dna.java

Severity Category Rule Message Line
 Error javadoc JavadocVariable Missing a Javadoc comment. 12
 Error javadoc JavadocVariable Missing a Javadoc comment. 13
 Error javadoc JavadocVariable Missing a Javadoc comment. 14
 Error javadoc JavadocVariable Missing a Javadoc comment. 15
 Error javadoc JavadocVariable Missing a Javadoc comment. 16
 Error javadoc JavadocVariable Missing a Javadoc comment. 17
 Error javadoc JavadocVariable Missing a Javadoc comment. 19
 Error javadoc JavadocMethod Missing a Javadoc comment. 21
 Error javadoc JavadocMethod Missing a Javadoc comment. 25
 Error modifier RedundantModifier Redundant 'private' modifier. 25
 Error misc FinalParameters Parameter x should be final. 25
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 25
 Error misc FinalParameters Parameter y should be final. 25
 Error whitespace WhitespaceAround '{' is not preceded with whitespace. 25
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 26

org/woehlke/simulation/evolution/model/LifeCycle.java

Severity Category Rule Message Line
 Error javadoc JavadocVariable Missing a Javadoc comment. 12
 Error javadoc JavadocVariable Missing a Javadoc comment. 13
 Error javadoc JavadocVariable Missing a Javadoc comment. 14
 Error javadoc JavadocVariable Missing a Javadoc comment. 15
 Error naming MemberName Name 'MAX_FAT' must match pattern '^[a-z][a-zA-Z0-9]*$'. 15
 Error javadoc JavadocVariable Missing a Javadoc comment. 16
 Error naming MemberName Name 'MAX_HUNGER' must match pattern '^[a-z][a-zA-Z0-9]*$'. 16
 Error javadoc JavadocVariable Missing a Javadoc comment. 17
 Error naming MemberName Name 'FULL_AGE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 17
 Error javadoc JavadocVariable Missing a Javadoc comment. 18
 Error naming MemberName Name 'FAT_MINIMUM_FOR_SEX' must match pattern '^[a-z][a-zA-Z0-9]*$'. 18
 Error javadoc JavadocVariable Missing a Javadoc comment. 19
 Error naming MemberName Name 'FAT_AT_BIRTH' must match pattern '^[a-z][a-zA-Z0-9]*$'. 19
 Error javadoc JavadocVariable Missing a Javadoc comment. 20
 Error naming MemberName Name 'FAT_PER_FOOD' must match pattern '^[a-z][a-zA-Z0-9]*$'. 20
 Error javadoc JavadocVariable Missing a Javadoc comment. 21
 Error naming MemberName Name 'OLD_AGE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 21
 Error javadoc JavadocVariable Missing a Javadoc comment. 22
 Error naming MemberName Name 'MAX_AGE' must match pattern '^[a-z][a-zA-Z0-9]*$'. 22
 Error javadoc JavadocMethod Missing a Javadoc comment. 24
 Error javadoc JavadocMethod Missing a Javadoc comment. 30
 Error misc FinalParameters Parameter fatAtBirth should be final. 30
 Error design DesignForExtension Method 'move' is not designed for extension - needs to be abstract, final or empty. 36
 Error javadoc JavadocMethod Missing a Javadoc comment. 36
 Error design DesignForExtension Method 'haveSex' is not designed for extension - needs to be abstract, final or empty. 47
 Error javadoc JavadocMethod Missing a Javadoc comment. 47
 Error design DesignForExtension Method 'isPregnant' is not designed for extension - needs to be abstract, final or empty. 52
 Error javadoc JavadocMethod Missing a Javadoc comment. 52
 Error design DesignForExtension Method 'isDead' is not designed for extension - needs to be abstract, final or empty. 56
 Error javadoc JavadocMethod Missing a Javadoc comment. 56
 Error design DesignForExtension Method 'eat' is not designed for extension - needs to be abstract, final or empty. 60
 Error javadoc JavadocMethod Missing a Javadoc comment. 60
 Error misc FinalParameters Parameter food should be final. 60
 Error whitespace WhitespaceAround '*' is not preceded with whitespace. 61
 Error whitespace WhitespaceAround '*' is not preceded with whitespace. 62
 Error design DesignForExtension Method 'getFat' is not designed for extension - needs to be abstract, final or empty. 68
 Error javadoc JavadocMethod Missing a Javadoc comment. 68
 Error design DesignForExtension Method 'getLifeCycleStatus' is not designed for extension - needs to be abstract, final or empty. 72
 Error javadoc JavadocMethod Missing a Javadoc comment. 72
 Error whitespace WhitespaceAround '{' is not preceded with whitespace. 72
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 73
 Error whitespace WhitespaceAround '==' is not preceded with whitespace. 73
 Error whitespace WhitespaceAround '==' is not followed by whitespace. 73
 Error whitespace WhitespaceAround '>=' is not preceded with whitespace. 73
 Error whitespace WhitespaceAround '>=' is not followed by whitespace. 73
 Error whitespace WhitespaceAround '{' is not preceded with whitespace. 73
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 76
 Error whitespace WhitespaceAround '<' is not preceded with whitespace. 76
 Error whitespace WhitespaceAround '<' is not followed by whitespace. 76
 Error whitespace WhitespaceAround '{' is not preceded with whitespace. 76
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 77
 Error whitespace WhitespaceAround '<' is not preceded with whitespace. 77
 Error whitespace WhitespaceAround '{' is not preceded with whitespace. 77
 Error whitespace WhitespaceAround '<' is not preceded with whitespace. 83
 Error whitespace WhitespaceAround '<' is not followed by whitespace. 83

org/woehlke/simulation/evolution/model/LifeCycleStatus.java

Severity Category Rule Message Line
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - java.awt.*. 3
 Error javadoc JavadocVariable Missing a Javadoc comment. 14
 Error javadoc JavadocVariable Missing a Javadoc comment. 15
 Error javadoc JavadocVariable Missing a Javadoc comment. 16
 Error javadoc JavadocVariable Missing a Javadoc comment. 17
 Error javadoc JavadocVariable Missing a Javadoc comment. 18
 Error javadoc JavadocVariable Missing a Javadoc comment. 19
 Error javadoc JavadocVariable Missing a Javadoc comment. 21
 Error javadoc JavadocMethod Missing a Javadoc comment. 23
 Error modifier RedundantModifier Redundant 'private' modifier. 23
 Error misc FinalParameters Parameter color should be final. 23
 Error coding HiddenField 'color' hides a field. 23
 Error whitespace WhitespaceAround '{' is not preceded with whitespace. 23
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 24
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 24
 Error javadoc JavadocMethod Missing a Javadoc comment. 27
 Error whitespace WhitespaceAround '{' is not preceded with whitespace. 27

org/woehlke/simulation/evolution/model/Point.java

Severity Category Rule Message Line
 Error javadoc JavadocVariable Missing a Javadoc comment. 14
 Error javadoc JavadocVariable Missing a Javadoc comment. 15
 Error javadoc JavadocMethod Missing a Javadoc comment. 17
 Error misc FinalParameters Parameter p should be final. 17
 Error javadoc JavadocMethod Missing a Javadoc comment. 22
 Error misc FinalParameters Parameter x should be final. 22
 Error coding HiddenField 'x' hides a field. 22
 Error misc FinalParameters Parameter y should be final. 22
 Error coding HiddenField 'y' hides a field. 22
 Error design DesignForExtension Method 'getX' is not designed for extension - needs to be abstract, final or empty. 27
 Error javadoc JavadocMethod Missing a Javadoc comment. 27
 Error design DesignForExtension Method 'setX' is not designed for extension - needs to be abstract, final or empty. 31
 Error javadoc JavadocMethod Missing a Javadoc comment. 31
 Error misc FinalParameters Parameter x should be final. 31
 Error coding HiddenField 'x' hides a field. 31
 Error design DesignForExtension Method 'getY' is not designed for extension - needs to be abstract, final or empty. 35
 Error javadoc JavadocMethod Missing a Javadoc comment. 35
 Error design DesignForExtension Method 'setY' is not designed for extension - needs to be abstract, final or empty. 39
 Error javadoc JavadocMethod Missing a Javadoc comment. 39
 Error misc FinalParameters Parameter y should be final. 39
 Error coding HiddenField 'y' hides a field. 39
 Error design DesignForExtension Method 'killNagative' is not designed for extension - needs to be abstract, final or empty. 43
 Error javadoc JavadocMethod Missing a Javadoc comment. 43
 Error design DesignForExtension Method 'add' is not designed for extension - needs to be abstract, final or empty. 52
 Error javadoc JavadocMethod Missing a Javadoc comment. 52
 Error misc FinalParameters Parameter p should be final. 52
 Error design DesignForExtension Method 'normalize' is not designed for extension - needs to be abstract, final or empty. 57
 Error javadoc JavadocMethod Missing a Javadoc comment. 57
 Error misc FinalParameters Parameter p should be final. 57
 Error design DesignForExtension Method 'getNeighbourhood' is not designed for extension - needs to be abstract, final or empty. 62
 Error javadoc JavadocMethod Missing a Javadoc comment. 62
 Error misc FinalParameters Parameter max should be final. 62
 Error whitespace WhitespaceAround '{' is not preceded with whitespace. 62
 Error misc ArrayTypeStyle Array brackets at illegal position. 63
 Error coding MagicNumber '9' is a magic number. 63
 Error sizes LineLength Line is longer than 80 characters (found 83). 66
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 66
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 66
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 66
 Error whitespace WhitespaceAround '-' is not preceded with whitespace. 66
 Error whitespace WhitespaceAround '-' is not followed by whitespace. 66
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 66
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 66
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 66
 Error whitespace WhitespaceAround '-' is not preceded with whitespace. 66
 Error whitespace WhitespaceAround '-' is not followed by whitespace. 66
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 67
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 67
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 67
 Error whitespace WhitespaceAround '-' is not preceded with whitespace. 67
 Error whitespace WhitespaceAround '-' is not followed by whitespace. 67
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 67
 Error sizes LineLength Line is longer than 80 characters (found 83). 68
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 68
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 68
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 68
 Error whitespace WhitespaceAround '-' is not preceded with whitespace. 68
 Error whitespace WhitespaceAround '-' is not followed by whitespace. 68
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 68
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 68
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 68
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 68
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 68
 Error coding MagicNumber '3' is a magic number. 69
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 69
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 69
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 69
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 69
 Error whitespace WhitespaceAround '-' is not preceded with whitespace. 69
 Error whitespace WhitespaceAround '-' is not followed by whitespace. 69
 Error coding MagicNumber '4' is a magic number. 70
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 70
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 70
 Error coding MagicNumber '5' is a magic number. 71
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 71
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 71
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 71
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 71
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 71
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 71
 Error sizes LineLength Line is longer than 80 characters (found 83). 72
 Error coding MagicNumber '6' is a magic number. 72
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 72
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 72
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 72
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 72
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 72
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 72
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 72
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 72
 Error whitespace WhitespaceAround '-' is not preceded with whitespace. 72
 Error whitespace WhitespaceAround '-' is not followed by whitespace. 72
 Error coding MagicNumber '7' is a magic number. 73
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 73
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 73
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 73
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 73
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 73
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 73
 Error sizes LineLength Line is longer than 80 characters (found 83). 74
 Error coding MagicNumber '8' is a magic number. 74
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 74
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 74
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 74
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 74
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 74
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 74
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 74
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 74
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 74
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 74

org/woehlke/simulation/evolution/model/World.java

Severity Category Rule Message Line
 Error javadoc JavadocVariable Missing a Javadoc comment. 19
 Error javadoc JavadocVariable Missing a Javadoc comment. 20
 Error naming MemberName Name 'INITIAL_POPULATION' must match pattern '^[a-z][a-zA-Z0-9]*$'. 20
 Error coding MagicNumber '20' is a magic number. 20
 Error javadoc JavadocVariable Missing a Javadoc comment. 21
 Error javadoc JavadocVariable Missing a Javadoc comment. 22
 Error javadoc JavadocVariable Missing a Javadoc comment. 23
 Error javadoc JavadocMethod Missing a Javadoc comment. 25
 Error misc FinalParameters Parameter worldDimensions should be final. 25
 Error coding HiddenField 'worldDimensions' hides a field. 25
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 29
 Error javadoc JavadocMethod Missing a Javadoc comment. 33
 Error design DesignForExtension Method 'letLivePopulation' is not designed for extension - needs to be abstract, final or empty. 50
 Error javadoc JavadocMethod Missing a Javadoc comment. 50
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 57
 Error whitespace WhitespaceAround '{' is not preceded with whitespace. 57
 Error whitespace WhitespaceAround 'for' is not followed by whitespace. 69
 Error whitespace WhitespaceAround '{' is not preceded with whitespace. 69
 Error design DesignForExtension Method 'getAllCells' is not designed for extension - needs to be abstract, final or empty. 76
 Error javadoc JavadocMethod Missing a Javadoc comment. 76
 Error whitespace WhitespaceAround '{' is not preceded with whitespace. 76
 Error design DesignForExtension Method 'hasFood' is not designed for extension - needs to be abstract, final or empty. 80
 Error javadoc JavadocMethod Missing a Javadoc comment. 80
 Error misc FinalParameters Parameter x should be final. 80
 Error misc FinalParameters Parameter y should be final. 80
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 81

org/woehlke/simulation/evolution/model/WorldMapFood.java

Severity Category Rule Message Line
 Error javadoc JavadocVariable Missing a Javadoc comment. 15
 Error misc ArrayTypeStyle Array brackets at illegal position. 15
 Error javadoc JavadocVariable Missing a Javadoc comment. 16
 Error javadoc JavadocVariable Missing a Javadoc comment. 17
 Error naming MemberName Name 'FOOD_PER_DAY' must match pattern '^[a-z][a-zA-Z0-9]*$'. 17
 Error javadoc JavadocVariable Missing a Javadoc comment. 18
 Error naming MemberName Name 'EABLE_GARDEN_OF_EDEN' must match pattern '^[a-z][a-zA-Z0-9]*$'. 18
 Error javadoc JavadocVariable Missing a Javadoc comment. 19
 Error javadoc JavadocMethod Missing a Javadoc comment. 21
 Error misc FinalParameters Parameter dimensions should be final. 21
 Error coding HiddenField 'dimensions' hides a field. 21
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 21
 Error misc FinalParameters Parameter random should be final. 21
 Error coding HiddenField 'random' hides a field. 21
 Error whitespace WhitespaceAround '{' is not preceded with whitespace. 21
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 22
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 22
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 24
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 24
 Error design DesignForExtension Method 'letFoodGrow' is not designed for extension - needs to be abstract, final or empty. 27
 Error javadoc JavadocMethod Missing a Javadoc comment. 27
 Error whitespace WhitespaceAround 'if' is not followed by whitespace. 41
 Error whitespace WhitespaceAround '{' is not preceded with whitespace. 41
 Error coding MagicNumber '5' is a magic number. 43
 Error coding MagicNumber '5' is a magic number. 44
 Error whitespace WhitespaceAround '*' is not preceded with whitespace. 45
 Error whitespace WhitespaceAround '*' is not followed by whitespace. 45
 Error coding MagicNumber '4' is a magic number. 45
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 55
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 55
 Error whitespace WhitespaceAround '*' is not preceded with whitespace. 55
 Error whitespace WhitespaceAround '*' is not followed by whitespace. 55
 Error whitespace WhitespaceAround '+' is not preceded with whitespace. 55
 Error whitespace WhitespaceAround '+' is not followed by whitespace. 55
 Error whitespace WhitespaceAround '*' is not preceded with whitespace. 55
 Error whitespace WhitespaceAround '*' is not followed by whitespace. 55
 Error design DesignForExtension Method 'hasFood' is not designed for extension - needs to be abstract, final or empty. 60
 Error javadoc JavadocMethod Missing a Javadoc comment. 60
 Error misc FinalParameters Parameter x should be final. 60
 Error misc FinalParameters Parameter y should be final. 60
 Error design DesignForExtension Method 'eat' is not designed for extension - needs to be abstract, final or empty. 64
 Error javadoc JavadocMethod Missing a Javadoc comment. 64
 Error misc FinalParameters Parameter position should be final. 64
 Error misc ArrayTypeStyle Array brackets at illegal position. 65
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 66
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 66
 Error whitespace WhitespaceAround '{' is not preceded with whitespace. 67
 Error sizes LineLength Line is longer than 80 characters (found 93). 68
 Error sizes LineLength Line is longer than 80 characters (found 87). 69
 Error whitespace WhitespaceAround '=' is not preceded with whitespace. 69
 Error whitespace WhitespaceAround '=' is not followed by whitespace. 69

org/woehlke/simulation/evolution/view/AppMainFrame.java

Severity Category Rule Message Line
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - javax.swing.*. 4
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - java.awt.*. 5
 Error javadoc JavadocVariable Missing a Javadoc comment. 24
 Error javadoc JavadocMethod Missing a Javadoc comment. 26
 Error sizes LineLength Line is longer than 80 characters (found 101). 31
 Error coding MagicNumber '100' is a magic number. 31
 Error coding MagicNumber '100' is a magic number. 31
 Error coding MagicNumber '30' is a magic number. 31
 Error design DesignForExtension Method 'windowOpened' is not designed for extension - needs to be abstract, final or empty. 38
 Error javadoc JavadocMethod Missing a Javadoc comment. 38
 Error misc FinalParameters Parameter e should be final. 38
 Error sizes LineLength Line is longer than 80 characters (found 101). 39
 Error coding MagicNumber '100' is a magic number. 39
 Error coding MagicNumber '100' is a magic number. 39
 Error coding MagicNumber '30' is a magic number. 39
 Error design DesignForExtension Method 'windowClosing' is not designed for extension - needs to be abstract, final or empty. 44
 Error javadoc JavadocMethod Missing a Javadoc comment. 44
 Error misc FinalParameters Parameter e should be final. 44
 Error design DesignForExtension Method 'windowClosed' is not designed for extension - needs to be abstract, final or empty. 48
 Error javadoc JavadocMethod Missing a Javadoc comment. 48
 Error misc FinalParameters Parameter e should be final. 48
 Error javadoc JavadocMethod Missing a Javadoc comment. 52
 Error misc FinalParameters Parameter e should be final. 52
 Error design DesignForExtension Method 'windowDeiconified' is not designed for extension - needs to be abstract, final or empty. 56
 Error javadoc JavadocMethod Missing a Javadoc comment. 56
 Error misc FinalParameters Parameter e should be final. 56
 Error sizes LineLength Line is longer than 80 characters (found 101). 57
 Error coding MagicNumber '100' is a magic number. 57
 Error coding MagicNumber '100' is a magic number. 57
 Error coding MagicNumber '30' is a magic number. 57
 Error design DesignForExtension Method 'windowActivated' is not designed for extension - needs to be abstract, final or empty. 62
 Error javadoc JavadocMethod Missing a Javadoc comment. 62
 Error misc FinalParameters Parameter e should be final. 62
 Error javadoc JavadocMethod Missing a Javadoc comment. 66
 Error misc FinalParameters Parameter e should be final. 66

org/woehlke/simulation/evolution/view/SimulatedEvolutionApplet.java

Severity Category Rule Message Line
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - javax.swing.*. 8
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - java.awt.*. 9
 Error sizes LineLength Line is longer than 80 characters (found 121). 20
 Error javadoc JavadocVariable Missing a Javadoc comment. 22
 Error javadoc JavadocVariable Missing a Javadoc comment. 23
 Error javadoc JavadocVariable Missing a Javadoc comment. 24
 Error javadoc JavadocVariable Missing a Javadoc comment. 25
 Error design DesignForExtension Method 'init' is not designed for extension - needs to be abstract, final or empty. 27
 Error javadoc JavadocMethod Missing a Javadoc comment. 27
 Error coding MagicNumber '320' is a magic number. 29
 Error coding MagicNumber '234' is a magic number. 30
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 34
 Error javadoc JavadocMethod Missing a Javadoc comment. 44
 Error javadoc JavadocMethod Missing a Javadoc comment. 47
 Error design DesignForExtension Method 'getCanvasDimensions' is not designed for extension - needs to be abstract, final or empty. 50
 Error javadoc JavadocMethod Missing a Javadoc comment. 50

org/woehlke/simulation/evolution/view/WorldCanvas.java

Severity Category Rule Message Line
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - org.woehlke.simulation.evolution.model.*. 3
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - javax.swing.*. 6
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - java.awt.*. 7
 Error imports UnusedImports Unused import - java.awt.image.BufferedImage. 8
 Error imports UnusedImports Unused import - java.awt.image.ImageObserver. 9
 Error javadoc JavadocVariable Missing a Javadoc comment. 22
 Error javadoc JavadocVariable Missing a Javadoc comment. 23
 Error javadoc JavadocVariable Missing a Javadoc comment. 25
 Error naming MemberName Name 'WATER' must match pattern '^[a-z][a-zA-Z0-9]*$'. 25
 Error javadoc JavadocVariable Missing a Javadoc comment. 26
 Error naming MemberName Name 'FOOD' must match pattern '^[a-z][a-zA-Z0-9]*$'. 26
 Error javadoc JavadocMethod Missing a Javadoc comment. 28
 Error misc FinalParameters Parameter worldDimensions should be final. 28
 Error coding HiddenField 'worldDimensions' hides a field. 28
 Error design DesignForExtension Method 'paint' is not designed for extension - needs to be abstract, final or empty. 34
 Error javadoc JavadocMethod Missing a Javadoc comment. 34
 Error misc FinalParameters Parameter g should be final. 34
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 39
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 39
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 39
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 44
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 44
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 44
 Error whitespace WhitespaceAround 'for' is not followed by whitespace. 52
 Error whitespace WhitespaceAround '{' is not preceded with whitespace. 52
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 53
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 53
 Error whitespace WhitespaceAfter ',' is not followed by whitespace. 53
 Error design DesignForExtension Method 'update' is not designed for extension - needs to be abstract, final or empty. 59
 Error javadoc JavadocMethod Missing a Javadoc comment. 59
 Error misc FinalParameters Parameter g should be final. 59
 Error design DesignForExtension Method 'getWorldDimensions' is not designed for extension - needs to be abstract, final or empty. 63
 Error javadoc JavadocMethod Missing a Javadoc comment. 63
 Error design DesignForExtension Method 'setWorld' is not designed for extension - needs to be abstract, final or empty. 67
 Error javadoc JavadocMethod Missing a Javadoc comment. 67
 Error misc FinalParameters Parameter world should be final. 67
 Error coding HiddenField 'world' hides a field. 67

Back to top

Reflow Maven skin by Andrius Velykis.