The following document contains the results of Checkstyle
.
| Files | Infos |
Warnings |
Errors |
|---|---|---|---|
| 24 | 0 | 0 | 568 |
| Rules | Violations | Severity |
|---|---|---|
| PackageHtml | 5 | |
| NewlineAtEndOfFile | 0 | |
| Translation | 0 | |
| JavadocMethod | 181 | |
| JavadocType | 0 | |
| JavadocVariable | 54 | |
| JavadocStyle | 19 | |
| ConstantName | 0 | |
| LocalFinalVariableName | 0 | |
| LocalVariableName | 0 | |
| MemberName | 2 | |
| MethodName | 0 | |
| PackageName | 0 | |
| ParameterName | 0 | |
| StaticVariableName | 0 | |
| TypeName | 0 | |
| AvoidStarImport | 7 | |
| IllegalImport | 0 | |
| RedundantImport | 0 | |
| UnusedImports | 0 | |
| FileLength | 0 | |
| LineLength | 8 | |
| MethodLength | 0 | |
| ParameterNumber | 0 | |
| EmptyForIteratorPad | 0 | |
| MethodParamPad | 0 | |
| NoWhitespaceAfter | 0 | |
| NoWhitespaceBefore | 0 | |
| OperatorWrap | 0 | |
| ParenPad | 0 | |
| TypecastParenPad | 0 | |
| TabCharacter | 0 | |
| WhitespaceAfter | 0 | |
| WhitespaceAround | 68 | |
| ModifierOrder | 0 | |
| RedundantModifier | 0 | |
| AvoidNestedBlocks | 0 | |
| EmptyBlock | 0 | |
| LeftCurly | 0 | |
| NeedBraces | 0 | |
| RightCurly | 1 | |
| AvoidInlineConditionals | 0 | |
| DoubleCheckedLocking | 0 | |
| EmptyStatement | 0 | |
| EqualsHashCode | 0 | |
| HiddenField | 34 | |
| IllegalInstantiation | 0 | |
| InnerAssignment | 0 | |
| MagicNumber | 33 | |
| MissingSwitchDefault | 1 | |
| RedundantThrows | 0 | |
| SimplifyBooleanExpression | 0 | |
| SimplifyBooleanReturn | 0 | |
| DesignForExtension | 84 | |
| FinalClass | 0 | |
| HideUtilityClassConstructor | 1 | |
| InterfaceIsType | 0 | |
| VisibilityModifier | 5 | |
| ArrayTypeStyle | 2 | |
| FinalParameters | 63 | |
GenericIllegalRegexp
|
0 | |
| TodoComment | 0 | |
| UpperEll | 0 |
| Violation | Message | Line |
|---|---|---|
| Using the '.*' form of import should be avoided - java.awt.*. | 5 | |
| First sentence should end with a period. | 9 |
| Violation | Message | Line |
|---|---|---|
| Missing package documentation file. | 0 |
| Violation | Message | Line |
|---|---|---|
| First sentence should end with a period. | 7 | |
| Missing a Javadoc comment. | 15 | |
| Missing a Javadoc comment. | 16 | |
| Missing a Javadoc comment. | 17 | |
| Missing a Javadoc comment. | 18 | |
| Missing a Javadoc comment. | 19 | |
| Missing a Javadoc comment. | 21 | |
| Missing a Javadoc comment. | 23 | |
| Parameter max should be final. | 23 | |
| 'max' hides a field. | 23 | |
| Parameter pos should be final. | 23 | |
| 'pos' hides a field. | 23 | |
| Parameter random should be final. | 23 | |
| 'random' hides a field. | 23 | |
| Missing a Javadoc comment. | 38 | |
| Missing a Javadoc comment. | 47 | |
| Line is longer than 80 characters. | 51 | |
| Method 'move' is not designed for extension - needs to be abstract, final or empty. | 55 | |
| Missing a Javadoc comment. | 55 | |
| switch without "default" clause. | 61 | |
| '-2' is a magic number. | 72 | |
| '-2' is a magic number. | 75 | |
| '-2' is a magic number. | 78 | |
| Method 'cellDivisionFactory' is not designed for extension - needs to be abstract, final or empty. | 91 | |
| Missing a Javadoc comment. | 91 | |
| Line is longer than 80 characters. | 94 | |
| Line is longer than 80 characters. | 98 | |
| Missing a Javadoc comment. | 98 | |
| Parameter fat should be final. | 98 | |
| Parameter rna should be final. | 98 | |
| Parameter pos should be final. | 98 | |
| 'pos' hides a field. | 98 | |
| Parameter max should be final. | 98 | |
| 'max' hides a field. | 98 | |
| Parameter random should be final. | 98 | |
| 'random' hides a field. | 98 | |
| Method 'getPos' is not designed for extension - needs to be abstract, final or empty. | 107 | |
| Missing a Javadoc comment. | 107 | |
| Method 'isPregnant' is not designed for extension - needs to be abstract, final or empty. | 111 | |
| Missing a Javadoc comment. | 111 | |
| Method 'eat' is not designed for extension - needs to be abstract, final or empty. | 115 | |
| Missing a Javadoc comment. | 115 | |
| Method 'died' is not designed for extension - needs to be abstract, final or empty. | 119 | |
| Missing a Javadoc comment. | 119 | |
| Method 'getMax' is not designed for extension - needs to be abstract, final or empty. | 123 | |
| Missing a Javadoc comment. | 123 | |
| Method 'setMax' is not designed for extension - needs to be abstract, final or empty. | 127 | |
| Missing a Javadoc comment. | 127 | |
| Parameter max should be final. | 127 | |
| 'max' hides a field. | 127 |
| Violation | Message | Line |
|---|---|---|
| First sentence should end with a period. | 5 | |
| Missing a Javadoc comment. | 13 | |
| Missing a Javadoc comment. | 14 | |
| Missing a Javadoc comment. | 16 | |
| Parameter p should be final. | 16 | |
| Missing a Javadoc comment. | 21 | |
| Parameter x should be final. | 21 | |
| 'x' hides a field. | 21 | |
| Parameter y should be final. | 21 | |
| 'y' hides a field. | 21 | |
| Method 'getX' is not designed for extension - needs to be abstract, final or empty. | 26 | |
| Missing a Javadoc comment. | 26 | |
| Method 'setX' is not designed for extension - needs to be abstract, final or empty. | 30 | |
| Missing a Javadoc comment. | 30 | |
| Parameter x should be final. | 30 | |
| 'x' hides a field. | 30 | |
| Method 'getY' is not designed for extension - needs to be abstract, final or empty. | 34 | |
| Missing a Javadoc comment. | 34 | |
| Method 'setY' is not designed for extension - needs to be abstract, final or empty. | 38 | |
| Missing a Javadoc comment. | 38 | |
| Parameter y should be final. | 38 | |
| 'y' hides a field. | 38 | |
| Method 'killNagative' is not designed for extension - needs to be abstract, final or empty. | 42 | |
| Missing a Javadoc comment. | 42 | |
| Method 'add' is not designed for extension - needs to be abstract, final or empty. | 51 | |
| Missing a Javadoc comment. | 51 | |
| Parameter p should be final. | 51 | |
| Method 'normalize' is not designed for extension - needs to be abstract, final or empty. | 56 | |
| Missing a Javadoc comment. | 56 | |
| Parameter p should be final. | 56 |
| Violation | Message | Line |
|---|---|---|
| Missing package documentation file. | 0 |
| Violation | Message | Line |
|---|---|---|
| First sentence should end with a period. | 5 | |
| Missing a Javadoc comment. | 13 | |
| Missing a Javadoc comment. | 15 | |
| Missing a Javadoc comment. | 17 | |
| Missing a Javadoc comment. | 19 | |
| Missing a Javadoc comment. | 21 | |
| Missing a Javadoc comment. | 23 | |
| Missing a Javadoc comment. | 26 | |
| Missing a Javadoc comment. | 28 |
| Violation | Message | Line |
|---|---|---|
| First sentence should end with a period. | 3 | |
| Missing a Javadoc comment. | 11 | |
| Missing a Javadoc comment. | 13 | |
| Missing a Javadoc comment. | 16 | |
| Missing a Javadoc comment. | 18 | |
| Missing a Javadoc comment. | 20 | |
| Missing a Javadoc comment. | 22 |
| Violation | Message | Line |
|---|---|---|
| Missing package documentation file. | 0 |
| Violation | Message | Line |
|---|---|---|
| Using the '.*' form of import should be avoided - java.awt.*. | 3 | |
| First sentence should end with a period. | 6 | |
| Missing a Javadoc comment. | 15 | |
| Variable 'exe' must be private and have accessor methods. | 15 | |
| Missing a Javadoc comment. | 17 | |
| Line is longer than 80 characters. | 22 | |
| '100' is a magic number. | 22 | |
| '100' is a magic number. | 22 | |
| '30' is a magic number. | 22 | |
| '30' is a magic number. | 22 | |
| Method 'windowOpened' is not designed for extension - needs to be abstract, final or empty. | 28 | |
| Missing a Javadoc comment. | 28 | |
| Parameter e should be final. | 28 | |
| Line is longer than 80 characters. | 29 | |
| '100' is a magic number. | 29 | |
| '100' is a magic number. | 29 | |
| '30' is a magic number. | 29 | |
| '30' is a magic number. | 29 | |
| Method 'windowClosing' is not designed for extension - needs to be abstract, final or empty. | 34 | |
| Missing a Javadoc comment. | 34 | |
| Parameter e should be final. | 34 | |
| Method 'windowClosed' is not designed for extension - needs to be abstract, final or empty. | 38 | |
| Missing a Javadoc comment. | 38 | |
| Parameter e should be final. | 38 | |
| Missing a Javadoc comment. | 42 | |
| Parameter e should be final. | 42 | |
| Method 'windowDeiconified' is not designed for extension - needs to be abstract, final or empty. | 46 | |
| Missing a Javadoc comment. | 46 | |
| Parameter e should be final. | 46 | |
| Line is longer than 80 characters. | 47 | |
| '100' is a magic number. | 47 | |
| '100' is a magic number. | 47 | |
| '30' is a magic number. | 47 | |
| '30' is a magic number. | 47 | |
| Method 'windowActivated' is not designed for extension - needs to be abstract, final or empty. | 52 | |
| Missing a Javadoc comment. | 52 | |
| Parameter e should be final. | 52 | |
| Missing a Javadoc comment. | 56 | |
| Parameter e should be final. | 56 |
| Violation | Message | Line |
|---|---|---|
| Using the '.*' form of import should be avoided - java.awt.*. | 6 | |
| First sentence should end with a period. | 8 | |
| Missing a Javadoc comment. | 16 | |
| Missing a Javadoc comment. | 18 | |
| Missing a Javadoc comment. | 20 | |
| Missing a Javadoc comment. | 22 | |
| Missing a Javadoc comment. | 24 | |
| Missing a Javadoc comment. | 26 |
| Violation | Message | Line |
|---|---|---|
| First sentence should end with a period. | 7 | |
| Missing a Javadoc comment. | 15 | |
| Missing a Javadoc comment. | 17 | |
| Missing a Javadoc comment. | 19 | |
| '<' is not preceded with whitespace. | 19 | |
| '<' is not followed by whitespace. | 19 | |
| '>' is not preceded with whitespace. | 19 | |
| Missing a Javadoc comment. | 21 | |
| Missing a Javadoc comment. | 23 | |
| Missing a Javadoc comment. | 25 | |
| Missing a Javadoc comment. | 27 | |
| Missing a Javadoc comment. | 29 | |
| Missing a Javadoc comment. | 31 | |
| Missing a Javadoc comment. | 33 | |
| Missing a Javadoc comment. | 35 | |
| Missing a Javadoc comment. | 37 | |
| Missing a Javadoc comment. | 39 | |
| Missing a Javadoc comment. | 41 |
| Violation | Message | Line |
|---|---|---|
| Missing package documentation file. | 0 |
| Violation | Message | Line |
|---|---|---|
| First sentence should end with a period. | 3 | |
| Missing a Javadoc comment. | 11 | |
| Missing a Javadoc comment. | 12 | |
| Missing a Javadoc comment. | 13 | |
| Missing a Javadoc comment. | 14 | |
| '1500' is a magic number. | 14 | |
| Missing a Javadoc comment. | 15 | |
| '200' is a magic number. | 15 | |
| Missing a Javadoc comment. | 16 | |
| '800' is a magic number. | 16 | |
| Missing a Javadoc comment. | 17 | |
| '1000' is a magic number. | 17 | |
| Missing a Javadoc comment. | 18 | |
| '50' is a magic number. | 18 | |
| Missing a Javadoc comment. | 19 | |
| '5' is a magic number. | 19 | |
| Missing a Javadoc comment. | 21 | |
| Missing a Javadoc comment. | 27 | |
| Parameter fatAtBirth should be final. | 27 | |
| Method 'move' is not designed for extension - needs to be abstract, final or empty. | 33 | |
| Missing a Javadoc comment. | 33 | |
| Method 'haveSex' is not designed for extension - needs to be abstract, final or empty. | 44 | |
| Missing a Javadoc comment. | 44 | |
| Method 'getFatPerFood' is not designed for extension - needs to be abstract, final or empty. | 49 | |
| Missing a Javadoc comment. | 49 | |
| Method 'setFatPerFood' is not designed for extension - needs to be abstract, final or empty. | 53 | |
| Missing a Javadoc comment. | 53 | |
| Parameter fatPerFood should be final. | 53 | |
| 'fatPerFood' hides a field. | 53 | |
| Method 'getFatMinimumForPregnancy' is not designed for extension - needs to be abstract, final or empty. | 57 | |
| Missing a Javadoc comment. | 57 | |
| Method 'setFatMinimumForPregnancy' is not designed for extension - needs to be abstract, final or empty. | 61 | |
| Missing a Javadoc comment. | 61 | |
| Parameter fatMinimumForPregnancy should be final. | 61 | |
| 'fatMinimumForPregnancy' hides a field. | 61 | |
| Method 'getFullAge' is not designed for extension - needs to be abstract, final or empty. | 65 | |
| Missing a Javadoc comment. | 65 | |
| Method 'setFullAge' is not designed for extension - needs to be abstract, final or empty. | 69 | |
| Missing a Javadoc comment. | 69 | |
| Parameter fullAge should be final. | 69 | |
| 'fullAge' hides a field. | 69 | |
| Method 'getMaxHunger' is not designed for extension - needs to be abstract, final or empty. | 73 | |
| Missing a Javadoc comment. | 73 | |
| Method 'setMaxHunger' is not designed for extension - needs to be abstract, final or empty. | 77 | |
| Missing a Javadoc comment. | 77 | |
| Parameter maxHunger should be final. | 77 | |
| 'maxHunger' hides a field. | 77 | |
| Method 'getMaxFat' is not designed for extension - needs to be abstract, final or empty. | 81 | |
| Missing a Javadoc comment. | 81 | |
| Method 'setMaxFat' is not designed for extension - needs to be abstract, final or empty. | 85 | |
| Missing a Javadoc comment. | 85 | |
| Parameter maxFat should be final. | 85 | |
| 'maxFat' hides a field. | 85 | |
| Method 'isFatEnoughForSex' is not designed for extension - needs to be abstract, final or empty. | 90 | |
| Missing a Javadoc comment. | 90 | |
| Method 'isPregnant' is not designed for extension - needs to be abstract, final or empty. | 94 | |
| Missing a Javadoc comment. | 94 | |
| Method 'isOldEnoughForSex' is not designed for extension - needs to be abstract, final or empty. | 98 | |
| Missing a Javadoc comment. | 98 | |
| Method 'isDead' is not designed for extension - needs to be abstract, final or empty. | 102 | |
| Missing a Javadoc comment. | 102 | |
| Method 'eat' is not designed for extension - needs to be abstract, final or empty. | 106 | |
| Missing a Javadoc comment. | 106 | |
| Method 'isNotDyingForHunger' is not designed for extension - needs to be abstract, final or empty. | 112 | |
| Missing a Javadoc comment. | 112 | |
| Method 'getFat' is not designed for extension - needs to be abstract, final or empty. | 116 | |
| Missing a Javadoc comment. | 116 | |
| Method 'getFatAtBirthDefault' is not designed for extension - needs to be abstract, final or empty. | 120 | |
| Missing a Javadoc comment. | 120 | |
| Method 'setFatAtBirthDefault' is not designed for extension - needs to be abstract, final or empty. | 124 | |
| Missing a Javadoc comment. | 124 | |
| Parameter fatAtBirthDefault should be final. | 124 | |
| 'fatAtBirthDefault' hides a field. | 124 |
| Violation | Message | Line |
|---|---|---|
| First sentence should end with a period. | 6 | |
| Utility classes should not have a public or default constructor. | 11 | |
| Missing a Javadoc comment. | 12 | |
| Parameter args should be final. | 12 |
| Violation | Message | Line |
|---|---|---|
| First sentence should end with a period. | 3 | |
| Missing a Javadoc comment. | 11 | |
| Missing a Javadoc comment. | 12 | |
| Missing a Javadoc comment. | 13 | |
| Missing a Javadoc comment. | 14 | |
| Missing a Javadoc comment. | 15 | |
| Missing a Javadoc comment. | 16 |
| Violation | Message | Line |
|---|---|---|
| First sentence should end with a period. | 7 | |
| Missing a Javadoc comment. | 15 | |
| '<' is not preceded with whitespace. | 15 | |
| '<' is not followed by whitespace. | 15 | |
| '>' is not preceded with whitespace. | 15 | |
| Missing a Javadoc comment. | 16 | |
| '16' is a magic number. | 16 | |
| Missing a Javadoc comment. | 17 | |
| '8' is a magic number. | 17 | |
| Missing a Javadoc comment. | 18 | |
| Missing a Javadoc comment. | 20 | |
| Parameter random should be final. | 20 | |
| 'random' hides a field. | 20 | |
| '<' is not preceded with whitespace. | 21 | |
| '<' is not followed by whitespace. | 21 | |
| '>' is not preceded with whitespace. | 21 | |
| '>' is not followed by whitespace. | 21 | |
| Missing a Javadoc comment. | 28 | |
| Parameter random should be final. | 28 | |
| 'random' hides a field. | 28 | |
| Parameter maxValue should be final. | 28 | |
| 'maxValue' hides a field. | 28 | |
| Parameter maxInitialValue should be final. | 28 | |
| 'maxInitialValue' hides a field. | 28 | |
| '<' is not preceded with whitespace. | 29 | |
| '<' is not followed by whitespace. | 29 | |
| '>' is not preceded with whitespace. | 29 | |
| '>' is not followed by whitespace. | 29 | |
| Missing a Javadoc comment. | 38 | |
| Parameter random should be final. | 38 | |
| 'random' hides a field. | 38 | |
| Parameter rna should be final. | 38 | |
| '<' is not preceded with whitespace. | 38 | |
| '<' is not followed by whitespace. | 38 | |
| '>' is not preceded with whitespace. | 38 | |
| '<' is not preceded with whitespace. | 42 | |
| '<' is not followed by whitespace. | 42 | |
| '>' is not preceded with whitespace. | 42 | |
| '>' is not followed by whitespace. | 42 | |
| Missing a Javadoc comment. | 46 | |
| Method 'mitosisFactory' is not designed for extension - needs to be abstract, final or empty. | 54 | |
| Missing a Javadoc comment. | 54 | |
| '<' is not preceded with whitespace. | 55 | |
| '<' is not followed by whitespace. | 55 | |
| '>' is not preceded with whitespace. | 55 | |
| '<' is not preceded with whitespace. | 55 | |
| '<' is not followed by whitespace. | 55 | |
| '>' is not preceded with whitespace. | 55 | |
| '>' is not followed by whitespace. | 55 | |
| '<' is not preceded with whitespace. | 56 | |
| '<' is not followed by whitespace. | 56 | |
| '>' is not preceded with whitespace. | 56 | |
| Array brackets at illegal position. | 65 | |
| Missing a Javadoc comment. | 71 | |
| Parameter base should be final. | 71 | |
| Missing a Javadoc comment. | 85 | |
| Parameter base should be final. | 85 | |
| Method 'getRandomOrientation' is not designed for extension - needs to be abstract, final or empty. | 97 | |
| Missing a Javadoc comment. | 97 | |
| Method 'getMaxInitialValue' is not designed for extension - needs to be abstract, final or empty. | 143 | |
| Missing a Javadoc comment. | 143 | |
| Method 'setMaxInitialValue' is not designed for extension - needs to be abstract, final or empty. | 147 | |
| Missing a Javadoc comment. | 147 | |
| Parameter maxInitialValue should be final. | 147 | |
| 'maxInitialValue' hides a field. | 147 | |
| Method 'getMaxValue' is not designed for extension - needs to be abstract, final or empty. | 151 | |
| Missing a Javadoc comment. | 151 | |
| Method 'setMaxValue' is not designed for extension - needs to be abstract, final or empty. | 155 | |
| Missing a Javadoc comment. | 155 | |
| Parameter maxValue should be final. | 155 | |
| 'maxValue' hides a field. | 155 |
| Violation | Message | Line |
|---|---|---|
| First sentence should end with a period. | 3 | |
| Missing a Javadoc comment. | 11 | |
| Missing a Javadoc comment. | 13 | |
| Missing a Javadoc comment. | 15 | |
| Missing a Javadoc comment. | 17 | |
| Missing a Javadoc comment. | 19 | |
| Missing a Javadoc comment. | 21 | |
| Missing a Javadoc comment. | 23 | |
| Missing a Javadoc comment. | 25 | |
| Missing a Javadoc comment. | 27 | |
| Missing a Javadoc comment. | 30 | |
| Missing a Javadoc comment. | 32 | |
| Missing a Javadoc comment. | 34 | |
| Missing a Javadoc comment. | 36 | |
| Missing a Javadoc comment. | 38 | |
| Missing a Javadoc comment. | 40 | |
| Missing a Javadoc comment. | 42 | |
| Missing a Javadoc comment. | 44 | |
| Missing a Javadoc comment. | 46 | |
| Missing a Javadoc comment. | 48 | |
| Missing a Javadoc comment. | 50 | |
| Missing a Javadoc comment. | 52 |
| Violation | Message | Line |
|---|---|---|
| Missing package documentation file. | 0 |
| Violation | Message | Line |
|---|---|---|
| Using the '.*' form of import should be avoided - java.awt.*. | 10 | |
| First sentence should end with a period. | 12 | |
| Missing a Javadoc comment. | 20 | |
| Missing a Javadoc comment. | 21 | |
| Missing a Javadoc comment. | 22 | |
| Missing a Javadoc comment. | 23 | |
| Missing a Javadoc comment. | 24 | |
| Missing a Javadoc comment. | 25 | |
| '320' is a magic number. | 25 | |
| Missing a Javadoc comment. | 26 | |
| '234' is a magic number. | 26 | |
| Method 'init' is not designed for extension - needs to be abstract, final or empty. | 28 | |
| Missing a Javadoc comment. | 28 | |
| '320' is a magic number. | 30 | |
| '234' is a magic number. | 31 | |
| Missing a Javadoc comment. | 44 | |
| Missing a Javadoc comment. | 47 | |
| Method 'getCanvasDimenensions' is not designed for extension - needs to be abstract, final or empty. | 50 | |
| Missing a Javadoc comment. | 50 | |
| Method 'getCanvas' is not designed for extension - needs to be abstract, final or empty. | 54 | |
| Missing a Javadoc comment. | 54 | |
| Method 'getControllerThread' is not designed for extension - needs to be abstract, final or empty. | 58 | |
| Missing a Javadoc comment. | 58 | |
| Method 'setControllerThread' is not designed for extension - needs to be abstract, final or empty. | 62 | |
| Missing a Javadoc comment. | 62 | |
| Parameter controllerThread should be final. | 62 | |
| 'controllerThread' hides a field. | 62 |
| Violation | Message | Line |
|---|---|---|
| First sentence should end with a period. | 7 | |
| Missing a Javadoc comment. | 16 | |
| Missing a Javadoc comment. | 18 | |
| Missing a Javadoc comment. | 20 | |
| Missing a Javadoc comment. | 23 | |
| Missing a Javadoc comment. | 25 | |
| Missing a Javadoc comment. | 27 | |
| Missing a Javadoc comment. | 29 | |
| Missing a Javadoc comment. | 31 | |
| Missing a Javadoc comment. | 33 | |
| Missing a Javadoc comment. | 35 | |
| Missing a Javadoc comment. | 37 |
| Violation | Message | Line |
|---|---|---|
| Using the '.*' form of import should be avoided - java.util.*. | 5 | |
| First sentence should end with a period. | 7 | |
| Missing a Javadoc comment. | 16 | |
| '<' is not preceded with whitespace. | 16 | |
| '<' is not followed by whitespace. | 16 | |
| '>' is not preceded with whitespace. | 16 | |
| Missing a Javadoc comment. | 17 | |
| '20' is a magic number. | 17 | |
| Missing a Javadoc comment. | 18 | |
| Missing a Javadoc comment. | 19 | |
| Missing a Javadoc comment. | 20 | |
| Name 'X' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 20 | |
| '320' is a magic number. | 20 | |
| Missing a Javadoc comment. | 21 | |
| Name 'Y' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 21 | |
| '234' is a magic number. | 21 | |
| Missing a Javadoc comment. | 22 | |
| Missing a Javadoc comment. | 23 | |
| Array brackets at illegal position. | 23 | |
| Missing a Javadoc comment. | 24 | |
| '<' is not preceded with whitespace. | 24 | |
| '<' is not followed by whitespace. | 24 | |
| '>' is not preceded with whitespace. | 24 | |
| Missing a Javadoc comment. | 25 | |
| Variable 'max' must be private and have accessor methods. | 25 | |
| Missing a Javadoc comment. | 27 | |
| Missing a Javadoc comment. | 33 | |
| Parameter x should be final. | 33 | |
| Parameter y should be final. | 33 | |
| Missing a Javadoc comment. | 41 | |
| '<' is not preceded with whitespace. | 42 | |
| '<' is not followed by whitespace. | 42 | |
| '>' is not preceded with whitespace. | 42 | |
| '>' is not followed by whitespace. | 42 | |
| '<' is not preceded with whitespace. | 43 | |
| '<' is not followed by whitespace. | 43 | |
| '>' is not preceded with whitespace. | 43 | |
| '>' is not followed by whitespace. | 43 | |
| Method 'letFoodGrow' is not designed for extension - needs to be abstract, final or empty. | 61 | |
| Missing a Javadoc comment. | 61 | |
| Method 'letLivePopulation' is not designed for extension - needs to be abstract, final or empty. | 77 | |
| Missing a Javadoc comment. | 77 | |
| '<' is not preceded with whitespace. | 80 | |
| '<' is not followed by whitespace. | 80 | |
| '>' is not preceded with whitespace. | 80 | |
| '<' is not preceded with whitespace. | 80 | |
| '<' is not followed by whitespace. | 80 | |
| '>' is not preceded with whitespace. | 80 | |
| '>' is not followed by whitespace. | 80 | |
| '<' is not preceded with whitespace. | 81 | |
| '<' is not followed by whitespace. | 81 | |
| '>' is not preceded with whitespace. | 81 | |
| '<' is not preceded with whitespace. | 98 | |
| '<' is not followed by whitespace. | 98 | |
| '>' is not preceded with whitespace. | 98 | |
| '>' is not followed by whitespace. | 98 | |
| Method 'getPositionsOfAllCells' is not designed for extension - needs to be abstract, final or empty. | 107 | |
| Missing a Javadoc comment. | 107 | |
| '<' is not preceded with whitespace. | 107 | |
| '<' is not followed by whitespace. | 107 | |
| '>' is not preceded with whitespace. | 107 | |
| Method 'hasFood' is not designed for extension - needs to be abstract, final or empty. | 111 | |
| Missing a Javadoc comment. | 111 | |
| Parameter x should be final. | 111 | |
| Parameter y should be final. | 111 | |
| Method 'getWidth' is not designed for extension - needs to be abstract, final or empty. | 115 | |
| Missing a Javadoc comment. | 115 | |
| Method 'setWidth' is not designed for extension - needs to be abstract, final or empty. | 119 | |
| Missing a Javadoc comment. | 119 | |
| Parameter x should be final. | 119 | |
| Method 'getHeight' is not designed for extension - needs to be abstract, final or empty. | 123 | |
| Missing a Javadoc comment. | 123 | |
| Method 'setHeight' is not designed for extension - needs to be abstract, final or empty. | 127 | |
| Missing a Javadoc comment. | 127 | |
| Parameter y should be final. | 127 | |
| Method 'getFoodPerDay' is not designed for extension - needs to be abstract, final or empty. | 131 | |
| Missing a Javadoc comment. | 131 | |
| Method 'setFoodPerDay' is not designed for extension - needs to be abstract, final or empty. | 135 | |
| Missing a Javadoc comment. | 135 | |
| Parameter foodPerDay should be final. | 135 | |
| 'foodPerDay' hides a field. | 135 | |
| Method 'getY' is not designed for extension - needs to be abstract, final or empty. | 139 | |
| Missing a Javadoc comment. | 139 | |
| Method 'setY' is not designed for extension - needs to be abstract, final or empty. | 143 | |
| Missing a Javadoc comment. | 143 | |
| Parameter y should be final. | 143 | |
| Method 'getX' is not designed for extension - needs to be abstract, final or empty. | 147 | |
| Missing a Javadoc comment. | 147 | |
| Method 'setX' is not designed for extension - needs to be abstract, final or empty. | 151 | |
| Missing a Javadoc comment. | 151 | |
| Parameter x should be final. | 151 | |
| Method 'getInitialPopulation' is not designed for extension - needs to be abstract, final or empty. | 155 | |
| Missing a Javadoc comment. | 155 | |
| Method 'setInitialPopulation' is not designed for extension - needs to be abstract, final or empty. | 159 | |
| Missing a Javadoc comment. | 159 | |
| Parameter initialPopulation should be final. | 159 | |
| 'initialPopulation' hides a field. | 159 |
| Violation | Message | Line |
|---|---|---|
| Using the '.*' form of import should be avoided - java.awt.*. | 6 | |
| First sentence should end with a period. | 10 | |
| Missing a Javadoc comment. | 18 | |
| Missing a Javadoc comment. | 19 | |
| Missing a Javadoc comment. | 21 | |
| Variable 'water' must be private and have accessor methods. | 21 | |
| Missing a Javadoc comment. | 22 | |
| Variable 'food' must be private and have accessor methods. | 22 | |
| Missing a Javadoc comment. | 23 | |
| Variable 'bazillus' must be private and have accessor methods. | 23 | |
| Missing a Javadoc comment. | 25 | |
| Parameter x should be final. | 25 | |
| Parameter y should be final. | 25 | |
| Missing a Javadoc comment. | 31 | |
| Parameter dimensions should be final. | 31 | |
| 'dimensions' hides a field. | 31 | |
| Method 'paint' is not designed for extension - needs to be abstract, final or empty. | 36 | |
| Missing a Javadoc comment. | 36 | |
| Parameter g should be final. | 36 | |
| '<' is not preceded with whitespace. | 49 | |
| '<' is not followed by whitespace. | 49 | |
| '>' is not preceded with whitespace. | 49 | |
| '<' is not preceded with whitespace. | 50 | |
| '<' is not followed by whitespace. | 50 | |
| '>' is not preceded with whitespace. | 50 | |
| '3' is a magic number. | 53 | |
| '3' is a magic number. | 53 | |
| Method 'update' is not designed for extension - needs to be abstract, final or empty. | 57 | |
| Missing a Javadoc comment. | 57 | |
| Parameter g should be final. | 57 | |
| Method 'getDimensions' is not designed for extension - needs to be abstract, final or empty. | 61 | |
| Missing a Javadoc comment. | 61 | |
| Method 'setDimensions' is not designed for extension - needs to be abstract, final or empty. | 65 | |
| Missing a Javadoc comment. | 65 | |
| Parameter dimensions should be final. | 65 | |
| 'dimensions' hides a field. | 65 | |
| Method 'setWorld' is not designed for extension - needs to be abstract, final or empty. | 69 | |
| Missing a Javadoc comment. | 69 | |
| Parameter world should be final. | 69 | |
| 'world' hides a field. | 69 | |
| Method 'getWorld' is not designed for extension - needs to be abstract, final or empty. | 73 | |
| Missing a Javadoc comment. | 73 |
| Violation | Message | Line |
|---|---|---|
| Using the '.*' form of import should be avoided - java.awt.*. | 7 | |
| First sentence should end with a period. | 10 | |
| Line is longer than 80 characters. | 17 | |
| Missing a Javadoc comment. | 18 | |
| Missing a Javadoc comment. | 20 | |
| Missing a Javadoc comment. | 22 | |
| Missing a Javadoc comment. | 24 | |
| Missing a Javadoc comment. | 26 |
| Violation | Message | Line |
|---|---|---|
| First sentence should end with a period. | 7 | |
| Missing a Javadoc comment. | 16 | |
| Missing a Javadoc comment. | 17 | |
| Missing a Javadoc comment. | 18 | |
| Missing a Javadoc comment. | 19 | |
| Missing a Javadoc comment. | 21 | |
| Method 'run' is not designed for extension - needs to be abstract, final or empty. | 25 | |
| Missing a Javadoc comment. | 25 | |
| '100' is a magic number. | 35 | |
| '}' should be on the same line. | 36 | |
| Line is longer than 80 characters. | 38 | |
| Method 'exit' is not designed for extension - needs to be abstract, final or empty. | 44 | |
| Missing a Javadoc comment. | 44 | |
| Method 'getCanvas' is not designed for extension - needs to be abstract, final or empty. | 50 | |
| Missing a Javadoc comment. | 50 | |
| Method 'setCanvas' is not designed for extension - needs to be abstract, final or empty. | 54 | |
| Missing a Javadoc comment. | 54 | |
| Parameter canvas should be final. | 54 | |
| 'canvas' hides a field. | 54 | |
| Method 'getMax' is not designed for extension - needs to be abstract, final or empty. | 58 | |
| Missing a Javadoc comment. | 58 | |
| Method 'setMax' is not designed for extension - needs to be abstract, final or empty. | 62 | |
| Missing a Javadoc comment. | 62 | |
| Parameter max should be final. | 62 | |
| 'max' hides a field. | 62 | |
| Method 'getGoOn' is not designed for extension - needs to be abstract, final or empty. | 66 | |
| Missing a Javadoc comment. | 66 | |
| Method 'setGoOn' is not designed for extension - needs to be abstract, final or empty. | 70 | |
| Missing a Javadoc comment. | 70 | |
| Parameter goOn should be final. | 70 | |
| 'goOn' hides a field. | 70 | |
| Method 'getWorld' is not designed for extension - needs to be abstract, final or empty. | 74 | |
| Missing a Javadoc comment. | 74 | |
| Method 'setWorld' is not designed for extension - needs to be abstract, final or empty. | 78 | |
| Missing a Javadoc comment. | 78 | |
| Parameter world should be final. | 78 | |
| 'world' hides a field. | 78 |