Checkstyle Results

The following document contains the results of Checkstyle 9.3 with sun_checks.xml ruleset.

Summary

Files  Info  Warnings  Errors
37 0 0 1056

Files

File  I  W  E
com/example/renderer/adapter/LegacyRendererAdapter.java 0 0 48
com/example/renderer/adapter/LegacyRendererImpl.java 0 0 28
com/example/renderer/bridge/Renderer.java 0 0 31
com/example/renderer/bridge/RendererFactory.java 0 0 33
com/example/renderer/bridge/SVGRenderer.java 0 0 52
com/example/renderer/bridge/SwingRenderer.java 0 0 68
com/example/renderer/bridge/TestRenderer.java 0 0 35
com/example/renderer/command/AddShapeCommand.java 0 0 19
com/example/renderer/command/Command.java 0 0 26
com/example/renderer/command/DeleteShapeCommand.java 0 0 18
com/example/renderer/command/MoveShapeCommand.java 0 0 22
com/example/renderer/command/UndoManager.java 0 0 22
com/example/renderer/config/GlobalConfig.java 0 0 17
com/example/renderer/core/ApplicationContext.java 0 0 26
com/example/renderer/exception/RendererCreationException.java 0 0 11
com/example/renderer/factory/BasicShapeFactory.java 0 0 24
com/example/renderer/factory/Circle.java 0 0 44
com/example/renderer/factory/Ellipse.java 0 0 47
com/example/renderer/factory/Rectangle.java 0 0 53
com/example/renderer/factory/Shape.java 0 0 24
com/example/renderer/factory/ShapeFactory.java 0 0 9
com/example/renderer/factory/ShapeFactoryImpl.java 0 0 26
com/example/renderer/factory/Triangle.java 0 0 45
com/example/renderer/legacy/LegacyRenderer.java 0 0 9
com/example/renderer/observer/LoggingShapeObserver.java 0 0 6
com/example/renderer/observer/ShapeObservable.java 0 0 9
com/example/renderer/observer/ShapeObserver.java 0 0 4
com/example/renderer/observer/ShapeObserverImpl.java 0 0 2
com/example/renderer/proxy/RemoteRendererProxy.java 0 0 47
com/example/renderer/singleton/PersistenceManager.java 0 0 31
com/example/renderer/ui/DrawingPanel.java 0 0 23
com/example/renderer/ui/MainUI.java 0 0 16
com/example/renderer/ui/SwingUI.java 0 0 65
com/example/renderer/util/RuntimeTypeAdapterFactory.java 0 0 34
com/example/renderer/visitor/ExportVisitor.java 0 0 10
com/example/renderer/visitor/JSONExportVisitor.java 0 0 48
com/example/renderer/visitor/XMLExportVisitor.java 0 0 24

Rules

Category Rule Violations Severity
blocks LeftCurly 20  Error
NeedBraces 1  Error
coding HiddenField 31  Error
MagicNumber 26  Error
MultipleVariableDeclarations 4  Error
design DesignForExtension 67  Error
FinalClass 3  Error
HideUtilityClassConstructor 3  Error
VisibilityModifier 1  Error
imports AvoidStarImport 10  Error
RedundantImport 17  Error
UnusedImports
  • processJavadoc: "false"
13  Error
javadoc InvalidJavadocPosition 44  Error
JavadocMethod 1  Error
JavadocPackage 14  Error
JavadocStyle 162  Error
JavadocVariable 45  Error
MissingJavadocMethod 2  Error
misc FinalParameters 235  Error
TodoComment 1  Error
naming ConstantName 6  Error
regexp RegexpSingleline
  • format: "\s+$"
  • maximum: "0"
  • message: "Line has trailing spaces."
  • minimum: "0"
258  Error
sizes LineLength
  • fileExtensions: "java"
59  Error
whitespace OperatorWrap 5  Error
WhitespaceAfter 4  Error
WhitespaceAround 24  Error

Details

com/example/renderer/adapter/LegacyRendererAdapter.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 4
 Error imports RedundantImport Duplicate import to line 30 - java.util.Objects. 31
 Error javadoc JavadocStyle First sentence should end with a period. 33
 Error regexp RegexpSingleline Line has trailing spaces. 36
 Error misc FinalParameters Parameter stroke should be final. 43
 Error misc FinalParameters Parameter fill should be final. 43
 Error misc FinalParameters Parameter width should be final. 43
 Error design DesignForExtension Class 'LegacyRendererAdapter' looks like designed for extension (can be subclassed), but the method 'getContext' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LegacyRendererAdapter' final or making the method 'getContext' static/final/abstract/empty, or adding allowed annotation for the method. 47
 Error javadoc JavadocVariable Missing a Javadoc comment. 62
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 64
 Error regexp RegexpSingleline Line has trailing spaces. 66
 Error regexp RegexpSingleline Line has trailing spaces. 68
 Error javadoc JavadocStyle First sentence should end with a period. 73
 Error regexp RegexpSingleline Line has trailing spaces. 75
 Error misc FinalParameters Parameter legacyRenderer should be final. 81
 Error coding HiddenField 'legacyRenderer' hides a field. 81
 Error sizes LineLength Line is longer than 80 characters (found 102). 82
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 85
 Error regexp RegexpSingleline Line has trailing spaces. 87
 Error regexp RegexpSingleline Line has trailing spaces. 93
 Error javadoc JavadocStyle First sentence should end with a period. 99
 Error regexp RegexpSingleline Line has trailing spaces. 101
 Error misc FinalParameters Parameter x should be final. 110
 Error misc FinalParameters Parameter y should be final. 110
 Error misc FinalParameters Parameter radius should be final. 110
 Error javadoc JavadocStyle First sentence should end with a period. 121
 Error regexp RegexpSingleline Line has trailing spaces. 123
 Error regexp RegexpSingleline Line has trailing spaces. 129
 Error misc FinalParameters Parameter x should be final. 137
 Error misc FinalParameters Parameter y should be final. 137
 Error misc FinalParameters Parameter width should be final. 137
 Error misc FinalParameters Parameter height should be final. 137
 Error javadoc JavadocStyle First sentence should end with a period. 141
 Error regexp RegexpSingleline Line has trailing spaces. 143
 Error regexp RegexpSingleline Line has trailing spaces. 149
 Error misc FinalParameters Parameter x1 should be final. 159
 Error misc FinalParameters Parameter y1 should be final. 159
 Error misc FinalParameters Parameter x2 should be final. 159
 Error misc FinalParameters Parameter y2 should be final. 159
 Error misc FinalParameters Parameter x3 should be final. 159
 Error misc FinalParameters Parameter y3 should be final. 159
 Error javadoc JavadocStyle First sentence should end with a period. 163
 Error regexp RegexpSingleline Line has trailing spaces. 165
 Error regexp RegexpSingleline Line has trailing spaces. 171
 Error misc FinalParameters Parameter x should be final. 179
 Error misc FinalParameters Parameter y should be final. 179
 Error misc FinalParameters Parameter rx should be final. 179
 Error misc FinalParameters Parameter ry should be final. 179

com/example/renderer/adapter/LegacyRendererImpl.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file. 1
 Error javadoc JavadocStyle First sentence should end with a period. 5
 Error design DesignForExtension Class 'LegacyRendererImpl' looks like designed for extension (can be subclassed), but the method 'drawLegacyCircle' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LegacyRendererImpl' final or making the method 'drawLegacyCircle' static/final/abstract/empty, or adding allowed annotation for the method. 9
 Error misc FinalParameters Parameter x should be final. 10
 Error misc FinalParameters Parameter y should be final. 10
 Error misc FinalParameters Parameter radius should be final. 10
 Error sizes LineLength Line is longer than 80 characters (found 82). 11
 Error regexp RegexpSingleline Line has trailing spaces. 14
 Error design DesignForExtension Class 'LegacyRendererImpl' looks like designed for extension (can be subclassed), but the method 'drawLegacyRectangle' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LegacyRendererImpl' final or making the method 'drawLegacyRectangle' static/final/abstract/empty, or adding allowed annotation for the method. 14
 Error misc FinalParameters Parameter x should be final. 15
 Error misc FinalParameters Parameter y should be final. 15
 Error misc FinalParameters Parameter width should be final. 15
 Error misc FinalParameters Parameter height should be final. 15
 Error sizes LineLength Line is longer than 80 characters (found 94). 16
 Error design DesignForExtension Class 'LegacyRendererImpl' looks like designed for extension (can be subclassed), but the method 'drawLegacyTriangle' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LegacyRendererImpl' final or making the method 'drawLegacyTriangle' static/final/abstract/empty, or adding allowed annotation for the method. 19
 Error sizes LineLength Line is longer than 80 characters (found 84). 20
 Error misc FinalParameters Parameter x1 should be final. 20
 Error misc FinalParameters Parameter y1 should be final. 20
 Error misc FinalParameters Parameter x2 should be final. 20
 Error misc FinalParameters Parameter y2 should be final. 20
 Error misc FinalParameters Parameter x3 should be final. 20
 Error misc FinalParameters Parameter y3 should be final. 20
 Error design DesignForExtension Class 'LegacyRendererImpl' looks like designed for extension (can be subclassed), but the method 'drawLegacyEllipse' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LegacyRendererImpl' final or making the method 'drawLegacyEllipse' static/final/abstract/empty, or adding allowed annotation for the method. 25
 Error misc FinalParameters Parameter x should be final. 26
 Error misc FinalParameters Parameter y should be final. 26
 Error misc FinalParameters Parameter rx should be final. 26
 Error misc FinalParameters Parameter ry should be final. 26
 Error sizes LineLength Line is longer than 80 characters (found 90). 27

com/example/renderer/bridge/Renderer.java

Severity Category Rule Message Line
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 3
 Error regexp RegexpSingleline Line has trailing spaces. 5
 Error regexp RegexpSingleline Line has trailing spaces. 12
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 16
 Error regexp RegexpSingleline Line has trailing spaces. 18
 Error regexp RegexpSingleline Line has trailing spaces. 20
 Error regexp RegexpSingleline Line has trailing spaces. 26
 Error javadoc JavadocStyle First sentence should end with a period. 29
 Error regexp RegexpSingleline Line has trailing spaces. 31
 Error regexp RegexpSingleline Line has trailing spaces. 36
 Error javadoc JavadocStyle First sentence should end with a period. 42
 Error sizes LineLength Line is longer than 80 characters (found 89). 49
 Error regexp RegexpSingleline Line has trailing spaces. 50
 Error javadoc JavadocStyle First sentence should end with a period. 51
 Error regexp RegexpSingleline Line has trailing spaces. 56
 Error javadoc JavadocStyle First sentence should end with a period. 57
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 60
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 60
 Error regexp RegexpSingleline Line has trailing spaces. 61
 Error javadoc JavadocStyle First sentence should end with a period. 62
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 65
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 65
 Error javadoc JavadocStyle First sentence should end with a period. 66
 Error regexp RegexpSingleline Line has trailing spaces. 69
 Error sizes LineLength Line is longer than 80 characters (found 101). 74
 Error regexp RegexpSingleline Line has trailing spaces. 75
 Error javadoc JavadocStyle First sentence should end with a period. 76
 Error regexp RegexpSingleline Line has trailing spaces. 85
 Error javadoc JavadocStyle First sentence should end with a period. 86
 Error regexp RegexpSingleline Line has trailing spaces. 95
 Error javadoc JavadocStyle First sentence should end with a period. 96

com/example/renderer/bridge/RendererFactory.java

Severity Category Rule Message Line
 Error imports UnusedImports Unused import - com.example.renderer.adapter.LegacyRendererImpl. 4
 Error imports UnusedImports Unused import - com.example.renderer.legacy.LegacyRenderer. 6
 Error javadoc JavadocStyle First sentence should end with a period. 15
 Error regexp RegexpSingleline Line has trailing spaces. 17
 Error regexp RegexpSingleline Line has trailing spaces. 22
 Error regexp RegexpSingleline Line has trailing spaces. 26
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 35
 Error sizes LineLength Line is longer than 80 characters (found 105). 36
 Error javadoc JavadocVariable Missing a Javadoc comment. 36
 Error naming ConstantName Name 'renderers' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 36
 Error javadoc JavadocVariable Missing a Javadoc comment. 37
 Error naming ConstantName Name 'lock' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 37
 Error regexp RegexpSingleline Line has trailing spaces. 38
 Error sizes LineLength Line is longer than 80 characters (found 123). 44
 Error regexp RegexpSingleline Line has trailing spaces. 46
 Error sizes LineLength Line is longer than 80 characters (found 84). 47
 Error misc FinalParameters Parameter mode should be final. 47
 Error misc FinalParameters Parameter supplier should be final. 47
 Error regexp RegexpSingleline Line has trailing spaces. 50
 Error javadoc JavadocStyle First sentence should end with a period. 51
 Error regexp RegexpSingleline Line has trailing spaces. 53
 Error misc FinalParameters Parameter mode should be final. 57
 Error misc FinalParameters Parameter supplier should be final. 57
 Error regexp RegexpSingleline Line has trailing spaces. 60
 Error javadoc JavadocStyle First sentence should end with a period. 61
 Error regexp RegexpSingleline Line has trailing spaces. 63
 Error sizes LineLength Line is longer than 80 characters (found 81). 68
 Error misc FinalParameters Parameter mode should be final. 68
 Error sizes LineLength Line is longer than 80 characters (found 87). 72
 Error sizes LineLength Line is longer than 80 characters (found 98). 76
 Error regexp RegexpSingleline Line has trailing spaces. 83
 Error javadoc JavadocStyle First sentence should end with a period. 84
 Error regexp RegexpSingleline Line has trailing spaces. 86

com/example/renderer/bridge/SVGRenderer.java

Severity Category Rule Message Line
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 3
 Error regexp RegexpSingleline Line has trailing spaces. 5
 Error regexp RegexpSingleline Line has trailing spaces. 13
 Error regexp RegexpSingleline Line has trailing spaces. 15
 Error imports RedundantImport Redundant import from the same package - com.example.renderer.bridge.Renderer. 20
 Error javadoc JavadocStyle First sentence should end with a period. 22
 Error javadoc JavadocVariable Missing a Javadoc comment. 26
 Error javadoc JavadocVariable Missing a Javadoc comment. 27
 Error javadoc JavadocVariable Missing a Javadoc comment. 28
 Error javadoc JavadocVariable Missing a Javadoc comment. 29
 Error javadoc JavadocStyle First sentence should end with a period. 31
 Error design DesignForExtension Class 'SVGRenderer' looks like designed for extension (can be subclassed), but the method 'setStyle' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SVGRenderer' final or making the method 'setStyle' static/final/abstract/empty, or adding allowed annotation for the method. 38
 Error misc FinalParameters Parameter stroke should be final. 39
 Error misc FinalParameters Parameter fill should be final. 39
 Error misc FinalParameters Parameter width should be final. 39
 Error design DesignForExtension Class 'SVGRenderer' looks like designed for extension (can be subclassed), but the method 'getContext' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SVGRenderer' final or making the method 'getContext' static/final/abstract/empty, or adding allowed annotation for the method. 48
 Error design DesignForExtension Class 'SVGRenderer' looks like designed for extension (can be subclassed), but the method 'beginFrame' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SVGRenderer' final or making the method 'beginFrame' static/final/abstract/empty, or adding allowed annotation for the method. 53
 Error design DesignForExtension Class 'SVGRenderer' looks like designed for extension (can be subclassed), but the method 'endFrame' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SVGRenderer' final or making the method 'endFrame' static/final/abstract/empty, or adding allowed annotation for the method. 61
 Error javadoc JavadocStyle First sentence should end with a period. 68
 Error regexp RegexpSingleline Line has trailing spaces. 70
 Error regexp RegexpSingleline Line has trailing spaces. 72
 Error regexp RegexpSingleline Line has trailing spaces. 77
 Error design DesignForExtension Class 'SVGRenderer' looks like designed for extension (can be subclassed), but the method 'drawCircle' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SVGRenderer' final or making the method 'drawCircle' static/final/abstract/empty, or adding allowed annotation for the method. 90
 Error misc FinalParameters Parameter x should be final. 91
 Error misc FinalParameters Parameter y should be final. 91
 Error misc FinalParameters Parameter radius should be final. 91
 Error sizes LineLength Line is longer than 80 characters (found 91). 95
 Error design DesignForExtension Class 'SVGRenderer' looks like designed for extension (can be subclassed), but the method 'drawRectangle' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SVGRenderer' final or making the method 'drawRectangle' static/final/abstract/empty, or adding allowed annotation for the method. 100
 Error misc FinalParameters Parameter x should be final. 101
 Error misc FinalParameters Parameter y should be final. 101
 Error misc FinalParameters Parameter width should be final. 101
 Error misc FinalParameters Parameter height should be final. 101
 Error sizes LineLength Line is longer than 80 characters (found 129). 103
 Error regexp RegexpSingleline Line has trailing spaces. 105
 Error sizes LineLength Line is longer than 80 characters (found 127). 105
 Error javadoc JavadocStyle First sentence should end with a period. 111
 Error regexp RegexpSingleline Line has trailing spaces. 113
 Error regexp RegexpSingleline Line has trailing spaces. 119
 Error misc FinalParameters Parameter x1 should be final. 129
 Error misc FinalParameters Parameter y1 should be final. 129
 Error misc FinalParameters Parameter x2 should be final. 129
 Error misc FinalParameters Parameter y2 should be final. 129
 Error misc FinalParameters Parameter x3 should be final. 129
 Error misc FinalParameters Parameter y3 should be final. 129
 Error regexp RegexpSingleline Line has trailing spaces. 130
 Error sizes LineLength Line is longer than 80 characters (found 84). 130
 Error design DesignForExtension Class 'SVGRenderer' looks like designed for extension (can be subclassed), but the method 'drawEllipse' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SVGRenderer' final or making the method 'drawEllipse' static/final/abstract/empty, or adding allowed annotation for the method. 136
 Error misc FinalParameters Parameter x should be final. 137
 Error misc FinalParameters Parameter y should be final. 137
 Error misc FinalParameters Parameter width should be final. 137
 Error misc FinalParameters Parameter height should be final. 137
 Error sizes LineLength Line is longer than 80 characters (found 109). 138

com/example/renderer/bridge/SwingRenderer.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file. 1
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 3
 Error regexp RegexpSingleline Line has trailing spaces. 6
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - java.awt.*. 28
 Error imports UnusedImports Unused import - java.awt.geom.Ellipse2D. 29
 Error imports UnusedImports Unused import - java.awt.geom.Rectangle2D. 30
 Error imports RedundantImport Redundant import from the same package - com.example.renderer.bridge.Renderer. 31
 Error javadoc JavadocStyle First sentence should end with a period. 33
 Error javadoc JavadocStyle First sentence should end with a period. 37
 Error design VisibilityModifier Variable 'g' must be private and have accessor methods. 41
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 43
 Error regexp RegexpSingleline Line has trailing spaces. 45
 Error regexp RegexpSingleline Line has trailing spaces. 51
 Error javadoc JavadocStyle First sentence should end with a period. 55
 Error regexp RegexpSingleline Line has trailing spaces. 57
 Error misc FinalParameters Parameter g should be final. 62
 Error coding HiddenField 'g' hides a field. 62
 Error regexp RegexpSingleline Line has trailing spaces. 64
 Error javadoc JavadocStyle First sentence should end with a period. 70
 Error regexp RegexpSingleline Line has trailing spaces. 72
 Error regexp RegexpSingleline Line has trailing spaces. 79
 Error regexp RegexpSingleline Line has trailing spaces. 81
 Error misc FinalParameters Parameter stroke should be final. 88
 Error misc FinalParameters Parameter fill should be final. 88
 Error misc FinalParameters Parameter width should be final. 88
 Error misc TodoComment Comment matches to-do format 'TODO:'. 96
 Error design DesignForExtension Class 'SwingRenderer' looks like designed for extension (can be subclassed), but the method 'getContext' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SwingRenderer' final or making the method 'getContext' static/final/abstract/empty, or adding allowed annotation for the method. 103
 Error design DesignForExtension Class 'SwingRenderer' looks like designed for extension (can be subclassed), but the method 'beginFrame' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'SwingRenderer' final or making the method 'beginFrame' static/final/abstract/empty, or adding allowed annotation for the method. 108
 Error regexp RegexpSingleline Line has trailing spaces. 111
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 121
 Error regexp RegexpSingleline Line has trailing spaces. 124
 Error javadoc JavadocStyle First sentence should end with a period. 128
 Error regexp RegexpSingleline Line has trailing spaces. 130
 Error misc FinalParameters Parameter x should be final. 139
 Error misc FinalParameters Parameter y should be final. 139
 Error misc FinalParameters Parameter radius should be final. 139
 Error sizes LineLength Line is longer than 80 characters (found 95). 141
 Error sizes LineLength Line is longer than 80 characters (found 107). 144
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 149
 Error javadoc JavadocStyle First sentence should end with a period. 157
 Error regexp RegexpSingleline Line has trailing spaces. 159
 Error misc FinalParameters Parameter x should be final. 169
 Error misc FinalParameters Parameter y should be final. 169
 Error misc FinalParameters Parameter width should be final. 169
 Error misc FinalParameters Parameter height should be final. 169
 Error sizes LineLength Line is longer than 80 characters (found 84). 171
 Error sizes LineLength Line is longer than 80 characters (found 107). 174
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 179
 Error javadoc JavadocStyle First sentence should end with a period. 187
 Error regexp RegexpSingleline Line has trailing spaces. 189
 Error regexp RegexpSingleline Line has trailing spaces. 195
 Error misc FinalParameters Parameter x should be final. 205
 Error misc FinalParameters Parameter y should be final. 205
 Error misc FinalParameters Parameter width should be final. 205
 Error misc FinalParameters Parameter height should be final. 205
 Error sizes LineLength Line is longer than 80 characters (found 129). 207
 Error sizes LineLength Line is longer than 80 characters (found 107). 210
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 215
 Error regexp RegexpSingleline Line has trailing spaces. 217
 Error regexp RegexpSingleline Line has trailing spaces. 224
 Error javadoc JavadocStyle First sentence should end with a period. 233
 Error regexp RegexpSingleline Line has trailing spaces. 235
 Error misc FinalParameters Parameter x1 should be final. 246
 Error misc FinalParameters Parameter y1 should be final. 246
 Error misc FinalParameters Parameter x2 should be final. 246
 Error misc FinalParameters Parameter y2 should be final. 246
 Error misc FinalParameters Parameter x3 should be final. 246
 Error misc FinalParameters Parameter y3 should be final. 246

com/example/renderer/bridge/TestRenderer.java

Severity Category Rule Message Line
 Error imports RedundantImport Redundant import from the same package - com.example.renderer.bridge.Renderer. 3
 Error javadoc JavadocStyle First sentence should end with a period. 5
 Error javadoc JavadocVariable Missing a Javadoc comment. 9
 Error design DesignForExtension Class 'TestRenderer' looks like designed for extension (can be subclassed), but the method 'setStyle' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'TestRenderer' final or making the method 'setStyle' static/final/abstract/empty, or adding allowed annotation for the method. 11
 Error misc FinalParameters Parameter stroke should be final. 12
 Error misc FinalParameters Parameter fill should be final. 12
 Error misc FinalParameters Parameter width should be final. 12
 Error regexp RegexpSingleline Line has trailing spaces. 13
 Error design DesignForExtension Class 'TestRenderer' looks like designed for extension (can be subclassed), but the method 'getContext' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'TestRenderer' final or making the method 'getContext' static/final/abstract/empty, or adding allowed annotation for the method. 17
 Error design DesignForExtension Class 'TestRenderer' looks like designed for extension (can be subclassed), but the method 'beginFrame' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'TestRenderer' final or making the method 'beginFrame' static/final/abstract/empty, or adding allowed annotation for the method. 22
 Error design DesignForExtension Class 'TestRenderer' looks like designed for extension (can be subclassed), but the method 'endFrame' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'TestRenderer' final or making the method 'endFrame' static/final/abstract/empty, or adding allowed annotation for the method. 27
 Error design DesignForExtension Class 'TestRenderer' looks like designed for extension (can be subclassed), but the method 'drawCircle' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'TestRenderer' final or making the method 'drawCircle' static/final/abstract/empty, or adding allowed annotation for the method. 31
 Error misc FinalParameters Parameter x should be final. 32
 Error misc FinalParameters Parameter y should be final. 32
 Error misc FinalParameters Parameter radius should be final. 32
 Error regexp RegexpSingleline Line has trailing spaces. 36
 Error sizes LineLength Line is longer than 80 characters (found 95). 36
 Error design DesignForExtension Class 'TestRenderer' looks like designed for extension (can be subclassed), but the method 'drawRectangle' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'TestRenderer' final or making the method 'drawRectangle' static/final/abstract/empty, or adding allowed annotation for the method. 40
 Error misc FinalParameters Parameter x should be final. 41
 Error misc FinalParameters Parameter y should be final. 41
 Error misc FinalParameters Parameter width should be final. 41
 Error misc FinalParameters Parameter height should be final. 41
 Error regexp RegexpSingleline Line has trailing spaces. 42
 Error design DesignForExtension Class 'TestRenderer' looks like designed for extension (can be subclassed), but the method 'drawEllipse' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'TestRenderer' final or making the method 'drawEllipse' static/final/abstract/empty, or adding allowed annotation for the method. 46
 Error misc FinalParameters Parameter x should be final. 47
 Error misc FinalParameters Parameter y should be final. 47
 Error misc FinalParameters Parameter width should be final. 47
 Error misc FinalParameters Parameter height should be final. 47
 Error design DesignForExtension Class 'TestRenderer' looks like designed for extension (can be subclassed), but the method 'drawTriangle' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'TestRenderer' final or making the method 'drawTriangle' static/final/abstract/empty, or adding allowed annotation for the method. 52
 Error misc FinalParameters Parameter x1 should be final. 53
 Error misc FinalParameters Parameter y1 should be final. 53
 Error misc FinalParameters Parameter x2 should be final. 53
 Error misc FinalParameters Parameter y2 should be final. 53
 Error misc FinalParameters Parameter x3 should be final. 53
 Error misc FinalParameters Parameter y3 should be final. 53

com/example/renderer/command/AddShapeCommand.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 3
 Error regexp RegexpSingleline Line has trailing spaces. 6
 Error regexp RegexpSingleline Line has trailing spaces. 14
 Error imports RedundantImport Redundant import from the same package - com.example.renderer.command.Command. 23
 Error javadoc JavadocVariable Missing a Javadoc comment. 32
 Error javadoc JavadocVariable Missing a Javadoc comment. 33
 Error javadoc JavadocStyle First sentence should end with a period. 35
 Error misc FinalParameters Parameter shapes should be final. 41
 Error coding HiddenField 'shapes' hides a field. 41
 Error misc FinalParameters Parameter shape should be final. 41
 Error coding HiddenField 'shape' hides a field. 41
 Error design DesignForExtension Class 'AddShapeCommand' looks like designed for extension (can be subclassed), but the method 'execute' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'AddShapeCommand' final or making the method 'execute' static/final/abstract/empty, or adding allowed annotation for the method. 46
 Error javadoc MissingJavadocMethod Missing a Javadoc comment. 46
 Error design DesignForExtension Class 'AddShapeCommand' looks like designed for extension (can be subclassed), but the method 'undo' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'AddShapeCommand' final or making the method 'undo' static/final/abstract/empty, or adding allowed annotation for the method. 50
 Error javadoc MissingJavadocMethod Missing a Javadoc comment. 50
 Error design DesignForExtension Class 'AddShapeCommand' looks like designed for extension (can be subclassed), but the method 'redo' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'AddShapeCommand' final or making the method 'redo' static/final/abstract/empty, or adding allowed annotation for the method. 54
 Error design DesignForExtension Class 'AddShapeCommand' looks like designed for extension (can be subclassed), but the method 'canExecute' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'AddShapeCommand' final or making the method 'canExecute' static/final/abstract/empty, or adding allowed annotation for the method. 59
 Error design DesignForExtension Class 'AddShapeCommand' looks like designed for extension (can be subclassed), but the method 'canUndo' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'AddShapeCommand' final or making the method 'canUndo' static/final/abstract/empty, or adding allowed annotation for the method. 64
 Error design DesignForExtension Class 'AddShapeCommand' looks like designed for extension (can be subclassed), but the method 'canRedo' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'AddShapeCommand' final or making the method 'canRedo' static/final/abstract/empty, or adding allowed annotation for the method. 69

com/example/renderer/command/Command.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file. 1
 Error imports UnusedImports Unused import - com.example.renderer.factory.Shape. 3
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 5
 Error regexp RegexpSingleline Line has trailing spaces. 8
 Error javadoc JavadocStyle First sentence should end with a period. 23
 Error regexp RegexpSingleline Line has trailing spaces. 25
 Error regexp RegexpSingleline Line has trailing spaces. 28
 Error regexp RegexpSingleline Line has trailing spaces. 35
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 43
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 47
 Error regexp RegexpSingleline Line has trailing spaces. 49
 Error javadoc JavadocStyle First sentence should end with a period. 53
 Error regexp RegexpSingleline Line has trailing spaces. 55
 Error regexp RegexpSingleline Line has trailing spaces. 62
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 63
 Error javadoc JavadocStyle First sentence should end with a period. 67
 Error regexp RegexpSingleline Line has trailing spaces. 69
 Error regexp RegexpSingleline Line has trailing spaces. 79
 Error javadoc JavadocStyle First sentence should end with a period. 80
 Error blocks LeftCurly '{' at column 34 should have line break after. 84
 Error regexp RegexpSingleline Line has trailing spaces. 85
 Error javadoc JavadocStyle First sentence should end with a period. 86
 Error blocks LeftCurly '{' at column 31 should have line break after. 90
 Error regexp RegexpSingleline Line has trailing spaces. 91
 Error javadoc JavadocStyle First sentence should end with a period. 92
 Error blocks LeftCurly '{' at column 31 should have line break after. 96

com/example/renderer/command/DeleteShapeCommand.java

Severity Category Rule Message Line
 Error javadoc JavadocStyle First sentence should end with a period. 7
 Error javadoc JavadocVariable Missing a Javadoc comment. 11
 Error javadoc JavadocVariable Missing a Javadoc comment. 12
 Error javadoc JavadocVariable Missing a Javadoc comment. 13
 Error javadoc JavadocStyle First sentence should end with a period. 15
 Error regexp RegexpSingleline Line has trailing spaces. 17
 Error misc FinalParameters Parameter shapes should be final. 22
 Error coding HiddenField 'shapes' hides a field. 22
 Error misc FinalParameters Parameter shape should be final. 22
 Error coding HiddenField 'shape' hides a field. 22
 Error design DesignForExtension Class 'DeleteShapeCommand' looks like designed for extension (can be subclassed), but the method 'execute' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'DeleteShapeCommand' final or making the method 'execute' static/final/abstract/empty, or adding allowed annotation for the method. 29
 Error regexp RegexpSingleline Line has trailing spaces. 37
 Error regexp RegexpSingleline Line has trailing spaces. 41
 Error design DesignForExtension Class 'DeleteShapeCommand' looks like designed for extension (can be subclassed), but the method 'undo' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'DeleteShapeCommand' final or making the method 'undo' static/final/abstract/empty, or adding allowed annotation for the method. 48
 Error design DesignForExtension Class 'DeleteShapeCommand' looks like designed for extension (can be subclassed), but the method 'redo' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'DeleteShapeCommand' final or making the method 'redo' static/final/abstract/empty, or adding allowed annotation for the method. 55
 Error design DesignForExtension Class 'DeleteShapeCommand' looks like designed for extension (can be subclassed), but the method 'canExecute' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'DeleteShapeCommand' final or making the method 'canExecute' static/final/abstract/empty, or adding allowed annotation for the method. 60
 Error design DesignForExtension Class 'DeleteShapeCommand' looks like designed for extension (can be subclassed), but the method 'canUndo' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'DeleteShapeCommand' final or making the method 'canUndo' static/final/abstract/empty, or adding allowed annotation for the method. 65
 Error design DesignForExtension Class 'DeleteShapeCommand' looks like designed for extension (can be subclassed), but the method 'canRedo' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'DeleteShapeCommand' final or making the method 'canRedo' static/final/abstract/empty, or adding allowed annotation for the method. 70

com/example/renderer/command/MoveShapeCommand.java

Severity Category Rule Message Line
 Error javadoc JavadocStyle First sentence should end with a period. 6
 Error regexp RegexpSingleline Line has trailing spaces. 8
 Error regexp RegexpSingleline Line has trailing spaces. 10
 Error javadoc JavadocVariable Missing a Javadoc comment. 26
 Error javadoc JavadocVariable Missing a Javadoc comment. 27
 Error javadoc JavadocVariable Missing a Javadoc comment. 28
 Error javadoc JavadocStyle First sentence should end with a period. 30
 Error regexp RegexpSingleline Line has trailing spaces. 32
 Error misc FinalParameters Parameter shape should be final. 38
 Error coding HiddenField 'shape' hides a field. 38
 Error misc FinalParameters Parameter dx should be final. 38
 Error coding HiddenField 'dx' hides a field. 38
 Error misc FinalParameters Parameter dy should be final. 38
 Error coding HiddenField 'dy' hides a field. 38
 Error javadoc JavadocStyle First sentence should end with a period. 44
 Error regexp RegexpSingleline Line has trailing spaces. 46
 Error javadoc JavadocStyle First sentence should end with a period. 54
 Error regexp RegexpSingleline Line has trailing spaces. 56
 Error design DesignForExtension Class 'MoveShapeCommand' looks like designed for extension (can be subclassed), but the method 'redo' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'MoveShapeCommand' final or making the method 'redo' static/final/abstract/empty, or adding allowed annotation for the method. 64
 Error design DesignForExtension Class 'MoveShapeCommand' looks like designed for extension (can be subclassed), but the method 'canExecute' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'MoveShapeCommand' final or making the method 'canExecute' static/final/abstract/empty, or adding allowed annotation for the method. 69
 Error design DesignForExtension Class 'MoveShapeCommand' looks like designed for extension (can be subclassed), but the method 'canUndo' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'MoveShapeCommand' final or making the method 'canUndo' static/final/abstract/empty, or adding allowed annotation for the method. 74
 Error design DesignForExtension Class 'MoveShapeCommand' looks like designed for extension (can be subclassed), but the method 'canRedo' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'MoveShapeCommand' final or making the method 'canRedo' static/final/abstract/empty, or adding allowed annotation for the method. 79

com/example/renderer/command/UndoManager.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 3
 Error javadoc JavadocStyle First sentence should end with a period. 37
 Error javadoc JavadocVariable Missing a Javadoc comment. 41
 Error javadoc JavadocVariable Missing a Javadoc comment. 42
 Error javadoc JavadocVariable Missing a Javadoc comment. 43
 Error coding MagicNumber '100' is a magic number. 43
 Error javadoc JavadocStyle First sentence should end with a period. 45
 Error misc FinalParameters Parameter size should be final. 49
 Error javadoc JavadocStyle First sentence should end with a period. 53
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 61
 Error regexp RegexpSingleline Line has trailing spaces. 63
 Error javadoc JavadocStyle First sentence should end with a period. 68
 Error regexp RegexpSingleline Line has trailing spaces. 70
 Error misc FinalParameters Parameter cmd should be final. 76
 Error javadoc JavadocStyle First sentence should end with a period. 86
 Error regexp RegexpSingleline Line has trailing spaces. 88
 Error javadoc JavadocStyle First sentence should end with a period. 100
 Error regexp RegexpSingleline Line has trailing spaces. 102
 Error javadoc JavadocStyle First sentence should end with a period. 114
 Error regexp RegexpSingleline Line has trailing spaces. 116
 Error javadoc JavadocStyle First sentence should end with a period. 125
 Error regexp RegexpSingleline Line has trailing spaces. 127

com/example/renderer/config/GlobalConfig.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file. 1
 Error javadoc JavadocStyle First sentence should end with a period. 20
 Error regexp RegexpSingleline Line has trailing spaces. 22
 Error regexp RegexpSingleline Line has trailing spaces. 27
 Error regexp RegexpSingleline Line has trailing spaces. 29
 Error design FinalClass Class GlobalConfig should be declared as final. 34
 Error javadoc JavadocVariable Missing a Javadoc comment. 35
 Error javadoc JavadocVariable Missing a Javadoc comment. 36
 Error javadoc JavadocVariable Missing a Javadoc comment. 37
 Error regexp RegexpSingleline Line has trailing spaces. 43
 Error regexp RegexpSingleline Line has trailing spaces. 47
 Error regexp RegexpSingleline Line has trailing spaces. 52
 Error regexp RegexpSingleline Line has trailing spaces. 58
 Error javadoc JavadocStyle First sentence should end with a period. 73
 Error javadoc JavadocStyle First sentence should end with a period. 84
 Error misc FinalParameters Parameter mode should be final. 89
 Error javadoc JavadocStyle First sentence should end with a period. 96

com/example/renderer/core/ApplicationContext.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file. 1
 Error javadoc JavadocStyle First sentence should end with a period. 12
 Error regexp RegexpSingleline Line has trailing spaces. 14
 Error regexp RegexpSingleline Line has trailing spaces. 21
 Error regexp RegexpSingleline Line has trailing spaces. 26
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 31
 Error javadoc JavadocVariable Missing a Javadoc comment. 32
 Error naming ConstantName Name 'beans' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 32
 Error javadoc JavadocVariable Missing a Javadoc comment. 33
 Error naming ConstantName Name 'suppliers' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 33
 Error javadoc JavadocVariable Missing a Javadoc comment. 34
 Error naming ConstantName Name 'lock' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 34
 Error regexp RegexpSingleline Line has trailing spaces. 35
 Error regexp RegexpSingleline Line has trailing spaces. 38
 Error regexp RegexpSingleline Line has trailing spaces. 41
 Error javadoc JavadocStyle First sentence should end with a period. 42
 Error misc FinalParameters Parameter type should be final. 49
 Error misc FinalParameters Parameter supplier should be final. 49
 Error regexp RegexpSingleline Line has trailing spaces. 52
 Error javadoc JavadocStyle First sentence should end with a period. 53
 Error regexp RegexpSingleline Line has trailing spaces. 55
 Error misc FinalParameters Parameter type should be final. 62
 Error sizes LineLength Line is longer than 80 characters (found 90). 68
 Error regexp RegexpSingleline Line has trailing spaces. 70
 Error regexp RegexpSingleline Line has trailing spaces. 88
 Error javadoc JavadocStyle First sentence should end with a period. 89

com/example/renderer/exception/RendererCreationException.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file. 1
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 3
 Error javadoc JavadocStyle First sentence should end with a period. 6
 Error regexp RegexpSingleline Line has trailing spaces. 8
 Error javadoc JavadocStyle First sentence should end with a period. 17
 Error regexp RegexpSingleline Line has trailing spaces. 19
 Error misc FinalParameters Parameter message should be final. 22
 Error javadoc JavadocStyle First sentence should end with a period. 26
 Error regexp RegexpSingleline Line has trailing spaces. 28
 Error misc FinalParameters Parameter message should be final. 32
 Error misc FinalParameters Parameter cause should be final. 32

com/example/renderer/factory/BasicShapeFactory.java

Severity Category Rule Message Line
 Error javadoc JavadocStyle First sentence should end with a period. 3
 Error regexp RegexpSingleline Line has trailing spaces. 5
 Error design DesignForExtension Class 'BasicShapeFactory' looks like designed for extension (can be subclassed), but the method 'createCircle' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'BasicShapeFactory' final or making the method 'createCircle' static/final/abstract/empty, or adding allowed annotation for the method. 15
 Error misc FinalParameters Parameter x should be final. 16
 Error misc FinalParameters Parameter y should be final. 16
 Error misc FinalParameters Parameter radius should be final. 16
 Error design DesignForExtension Class 'BasicShapeFactory' looks like designed for extension (can be subclassed), but the method 'createRectangle' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'BasicShapeFactory' final or making the method 'createRectangle' static/final/abstract/empty, or adding allowed annotation for the method. 20
 Error misc FinalParameters Parameter x should be final. 21
 Error misc FinalParameters Parameter y should be final. 21
 Error misc FinalParameters Parameter width should be final. 21
 Error misc FinalParameters Parameter height should be final. 21
 Error design DesignForExtension Class 'BasicShapeFactory' looks like designed for extension (can be subclassed), but the method 'createTriangle' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'BasicShapeFactory' final or making the method 'createTriangle' static/final/abstract/empty, or adding allowed annotation for the method. 25
 Error sizes LineLength Line is longer than 80 characters (found 84). 26
 Error misc FinalParameters Parameter x1 should be final. 26
 Error misc FinalParameters Parameter y1 should be final. 26
 Error misc FinalParameters Parameter x2 should be final. 26
 Error misc FinalParameters Parameter y2 should be final. 26
 Error misc FinalParameters Parameter x3 should be final. 26
 Error misc FinalParameters Parameter y3 should be final. 26
 Error design DesignForExtension Class 'BasicShapeFactory' looks like designed for extension (can be subclassed), but the method 'createEllipse' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'BasicShapeFactory' final or making the method 'createEllipse' static/final/abstract/empty, or adding allowed annotation for the method. 30
 Error misc FinalParameters Parameter x should be final. 31
 Error misc FinalParameters Parameter y should be final. 31
 Error misc FinalParameters Parameter width should be final. 31
 Error misc FinalParameters Parameter height should be final. 31

com/example/renderer/factory/Circle.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 3
 Error regexp RegexpSingleline Line has trailing spaces. 11
 Error regexp RegexpSingleline Line has trailing spaces. 16
 Error regexp RegexpSingleline Line has trailing spaces. 23
 Error javadoc JavadocStyle First sentence should end with a period. 35
 Error regexp RegexpSingleline Line has trailing spaces. 37
 Error regexp RegexpSingleline Line has trailing spaces. 44
 Error coding MultipleVariableDeclarations Each variable declaration must be in its own statement. 50
 Error javadoc JavadocVariable Missing a Javadoc comment. 50
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 52
 Error regexp RegexpSingleline Line has trailing spaces. 55
 Error javadoc JavadocStyle First sentence should end with a period. 59
 Error regexp RegexpSingleline Line has trailing spaces. 61
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 65
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 65
 Error javadoc JavadocStyle First sentence should end with a period. 67
 Error regexp RegexpSingleline Line has trailing spaces. 69
 Error misc FinalParameters Parameter x should be final. 75
 Error coding HiddenField 'x' hides a field. 75
 Error misc FinalParameters Parameter y should be final. 75
 Error coding HiddenField 'y' hides a field. 75
 Error misc FinalParameters Parameter radius should be final. 75
 Error coding HiddenField 'radius' hides a field. 75
 Error sizes LineLength Line is longer than 80 characters (found 95). 77
 Error design DesignForExtension Class 'Circle' looks like designed for extension (can be subclassed), but the method 'render' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Circle' final or making the method 'render' static/final/abstract/empty, or adding allowed annotation for the method. 84
 Error misc FinalParameters Parameter renderer should be final. 85
 Error design DesignForExtension Class 'Circle' looks like designed for extension (can be subclassed), but the method 'accept' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Circle' final or making the method 'accept' static/final/abstract/empty, or adding allowed annotation for the method. 89
 Error misc FinalParameters Parameter visitor should be final. 90
 Error javadoc JavadocStyle First sentence should end with a period. 94
 Error regexp RegexpSingleline Line has trailing spaces. 96
 Error misc FinalParameters Parameter dx should be final. 103
 Error misc FinalParameters Parameter dy should be final. 103
 Error javadoc JavadocStyle First sentence should end with a period. 108
 Error regexp RegexpSingleline Line has trailing spaces. 110
 Error blocks LeftCurly '{' at column 23 should have line break after. 115
 Error javadoc JavadocStyle First sentence should end with a period. 117
 Error regexp RegexpSingleline Line has trailing spaces. 119
 Error blocks LeftCurly '{' at column 23 should have line break after. 124
 Error javadoc JavadocStyle First sentence should end with a period. 126
 Error regexp RegexpSingleline Line has trailing spaces. 128
 Error blocks LeftCurly '{' at column 28 should have line break after. 133
 Error javadoc JavadocStyle First sentence should end with a period. 135
 Error regexp RegexpSingleline Line has trailing spaces. 137
 Error design DesignForExtension Class 'Circle' looks like designed for extension (can be subclassed), but the method 'clone' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Circle' final or making the method 'clone' static/final/abstract/empty, or adding allowed annotation for the method. 147

com/example/renderer/factory/Ellipse.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 3
 Error javadoc JavadocStyle First sentence should end with a period. 30
 Error coding MultipleVariableDeclarations Each variable declaration must be in its own statement. 34
 Error javadoc JavadocVariable Missing a Javadoc comment. 34
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 36
 Error javadoc JavadocStyle First sentence should end with a period. 40
 Error regexp RegexpSingleline Line has trailing spaces. 42
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 46
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 46
 Error javadoc JavadocStyle First sentence should end with a period. 48
 Error misc FinalParameters Parameter x should be final. 55
 Error coding HiddenField 'x' hides a field. 55
 Error misc FinalParameters Parameter y should be final. 55
 Error coding HiddenField 'y' hides a field. 55
 Error misc FinalParameters Parameter width should be final. 55
 Error coding HiddenField 'width' hides a field. 55
 Error misc FinalParameters Parameter height should be final. 55
 Error coding HiddenField 'height' hides a field. 55
 Error javadoc JavadocStyle First sentence should end with a period. 59
 Error regexp RegexpSingleline Line has trailing spaces. 61
 Error regexp RegexpSingleline Line has trailing spaces. 68
 Error misc FinalParameters Parameter renderer should be final. 74
 Error javadoc JavadocStyle First sentence should end with a period. 78
 Error misc FinalParameters Parameter visitor should be final. 84
 Error javadoc JavadocStyle First sentence should end with a period. 88
 Error regexp RegexpSingleline Line has trailing spaces. 90
 Error regexp RegexpSingleline Line has trailing spaces. 97
 Error misc FinalParameters Parameter dx should be final. 103
 Error misc FinalParameters Parameter dy should be final. 103
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 108
 Error regexp RegexpSingleline Line has trailing spaces. 110
 Error regexp RegexpSingleline Line has trailing spaces. 112
 Error javadoc JavadocStyle First sentence should end with a period. 117
 Error regexp RegexpSingleline Line has trailing spaces. 119
 Error blocks LeftCurly '{' at column 23 should have line break after. 124
 Error regexp RegexpSingleline Line has trailing spaces. 125
 Error javadoc JavadocStyle First sentence should end with a period. 126
 Error blocks LeftCurly '{' at column 23 should have line break after. 130
 Error regexp RegexpSingleline Line has trailing spaces. 131
 Error javadoc JavadocStyle First sentence should end with a period. 132
 Error blocks LeftCurly '{' at column 27 should have line break after. 136
 Error regexp RegexpSingleline Line has trailing spaces. 137
 Error javadoc JavadocStyle First sentence should end with a period. 138
 Error regexp RegexpSingleline Line has trailing spaces. 140
 Error regexp RegexpSingleline Line has trailing spaces. 142
 Error blocks LeftCurly '{' at column 28 should have line break after. 147
 Error design DesignForExtension Class 'Ellipse' looks like designed for extension (can be subclassed), but the method 'clone' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Ellipse' final or making the method 'clone' static/final/abstract/empty, or adding allowed annotation for the method. 149

com/example/renderer/factory/Rectangle.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 3
 Error regexp RegexpSingleline Line has trailing spaces. 10
 Error regexp RegexpSingleline Line has trailing spaces. 17
 Error javadoc JavadocStyle First sentence should end with a period. 28
 Error regexp RegexpSingleline Line has trailing spaces. 30
 Error regexp RegexpSingleline Line has trailing spaces. 32
 Error coding MultipleVariableDeclarations Each variable declaration must be in its own statement. 41
 Error javadoc JavadocVariable Missing a Javadoc comment. 41
 Error javadoc JavadocStyle First sentence should end with a period. 43
 Error regexp RegexpSingleline Line has trailing spaces. 45
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 49
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 49
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 51
 Error javadoc JavadocStyle First sentence should end with a period. 59
 Error misc FinalParameters Parameter x should be final. 71
 Error coding HiddenField 'x' hides a field. 71
 Error misc FinalParameters Parameter y should be final. 71
 Error coding HiddenField 'y' hides a field. 71
 Error misc FinalParameters Parameter width should be final. 71
 Error coding HiddenField 'width' hides a field. 71
 Error misc FinalParameters Parameter height should be final. 71
 Error coding HiddenField 'height' hides a field. 71
 Error sizes LineLength Line is longer than 80 characters (found 93). 73
 Error sizes LineLength Line is longer than 80 characters (found 95). 76
 Error javadoc JavadocStyle First sentence should end with a period. 84
 Error regexp RegexpSingleline Line has trailing spaces. 86
 Error misc FinalParameters Parameter renderer should be final. 93
 Error design DesignForExtension Class 'Rectangle' looks like designed for extension (can be subclassed), but the method 'accept' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Rectangle' final or making the method 'accept' static/final/abstract/empty, or adding allowed annotation for the method. 97
 Error misc FinalParameters Parameter visitor should be final. 98
 Error design DesignForExtension Class 'Rectangle' looks like designed for extension (can be subclassed), but the method 'move' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Rectangle' final or making the method 'move' static/final/abstract/empty, or adding allowed annotation for the method. 102
 Error misc FinalParameters Parameter dx should be final. 103
 Error misc FinalParameters Parameter dy should be final. 103
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 105
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 106
 Error regexp RegexpSingleline Line has trailing spaces. 107
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 109
 Error whitespace WhitespaceAfter 'typecast' is not followed by whitespace. 110
 Error javadoc JavadocStyle First sentence should end with a period. 113
 Error regexp RegexpSingleline Line has trailing spaces. 115
 Error blocks LeftCurly '{' at column 23 should have line break after. 120
 Error regexp RegexpSingleline Line has trailing spaces. 121
 Error javadoc JavadocStyle First sentence should end with a period. 122
 Error regexp RegexpSingleline Line has trailing spaces. 124
 Error blocks LeftCurly '{' at column 23 should have line break after. 129
 Error regexp RegexpSingleline Line has trailing spaces. 130
 Error javadoc JavadocStyle First sentence should end with a period. 131
 Error regexp RegexpSingleline Line has trailing spaces. 133
 Error blocks LeftCurly '{' at column 27 should have line break after. 138
 Error regexp RegexpSingleline Line has trailing spaces. 139
 Error javadoc JavadocStyle First sentence should end with a period. 140
 Error regexp RegexpSingleline Line has trailing spaces. 142
 Error blocks LeftCurly '{' at column 28 should have line break after. 147
 Error design DesignForExtension Class 'Rectangle' looks like designed for extension (can be subclassed), but the method 'clone' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Rectangle' final or making the method 'clone' static/final/abstract/empty, or adding allowed annotation for the method. 149

com/example/renderer/factory/Shape.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file. 1
 Error imports RedundantImport Duplicate import to line 4 - com.example.renderer.bridge.Renderer. 6
 Error imports RedundantImport Duplicate import to line 5 - com.example.renderer.visitor.ExportVisitor. 7
 Error regexp RegexpSingleline Line has trailing spaces. 18
 Error regexp RegexpSingleline Line has trailing spaces. 39
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 48
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 55
 Error regexp RegexpSingleline Line has trailing spaces. 57
 Error regexp RegexpSingleline Line has trailing spaces. 64
 Error javadoc JavadocStyle First sentence should end with a period. 68
 Error regexp RegexpSingleline Line has trailing spaces. 70
 Error sizes LineLength Line is longer than 80 characters (found 112). 78
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 80
 Error javadoc JavadocStyle First sentence should end with a period. 83
 Error regexp RegexpSingleline Line has trailing spaces. 89
 Error javadoc JavadocStyle First sentence should end with a period. 90
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 102
 Error javadoc JavadocStyle First sentence should end with a period. 109
 Error regexp RegexpSingleline Line has trailing spaces. 111
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 119
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 126
 Error regexp RegexpSingleline Line has trailing spaces. 128
 Error javadoc JavadocStyle First sentence should end with a period. 134
 Error regexp RegexpSingleline Line has trailing spaces. 136

com/example/renderer/factory/ShapeFactory.java

Severity Category Rule Message Line
 Error javadoc JavadocStyle First sentence should end with a period. 4
 Error javadoc JavadocStyle First sentence should end with a period. 8
 Error regexp RegexpSingleline Line has trailing spaces. 11
 Error regexp RegexpSingleline Line has trailing spaces. 17
 Error javadoc JavadocStyle First sentence should end with a period. 18
 Error regexp RegexpSingleline Line has trailing spaces. 28
 Error javadoc JavadocStyle First sentence should end with a period. 29
 Error regexp RegexpSingleline Line has trailing spaces. 40
 Error javadoc JavadocStyle First sentence should end with a period. 41

com/example/renderer/factory/ShapeFactoryImpl.java

Severity Category Rule Message Line
 Error javadoc JavadocStyle First sentence should end with a period. 3
 Error design DesignForExtension Class 'ShapeFactoryImpl' looks like designed for extension (can be subclassed), but the method 'createCircle' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'ShapeFactoryImpl' final or making the method 'createCircle' static/final/abstract/empty, or adding allowed annotation for the method. 7
 Error misc FinalParameters Parameter x should be final. 8
 Error misc FinalParameters Parameter y should be final. 8
 Error misc FinalParameters Parameter radius should be final. 8
 Error sizes LineLength Line is longer than 80 characters (found 82). 10
 Error design DesignForExtension Class 'ShapeFactoryImpl' looks like designed for extension (can be subclassed), but the method 'createRectangle' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'ShapeFactoryImpl' final or making the method 'createRectangle' static/final/abstract/empty, or adding allowed annotation for the method. 17
 Error misc FinalParameters Parameter x should be final. 18
 Error misc FinalParameters Parameter y should be final. 18
 Error misc FinalParameters Parameter width should be final. 18
 Error misc FinalParameters Parameter height should be final. 18
 Error sizes LineLength Line is longer than 80 characters (found 82). 21
 Error design DesignForExtension Class 'ShapeFactoryImpl' looks like designed for extension (can be subclassed), but the method 'createTriangle' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'ShapeFactoryImpl' final or making the method 'createTriangle' static/final/abstract/empty, or adding allowed annotation for the method. 26
 Error sizes LineLength Line is longer than 80 characters (found 84). 27
 Error misc FinalParameters Parameter x1 should be final. 27
 Error misc FinalParameters Parameter y1 should be final. 27
 Error misc FinalParameters Parameter x2 should be final. 27
 Error misc FinalParameters Parameter y2 should be final. 27
 Error misc FinalParameters Parameter x3 should be final. 27
 Error misc FinalParameters Parameter y3 should be final. 27
 Error regexp RegexpSingleline Line has trailing spaces. 28
 Error design DesignForExtension Class 'ShapeFactoryImpl' looks like designed for extension (can be subclassed), but the method 'createEllipse' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'ShapeFactoryImpl' final or making the method 'createEllipse' static/final/abstract/empty, or adding allowed annotation for the method. 33
 Error misc FinalParameters Parameter x should be final. 34
 Error misc FinalParameters Parameter y should be final. 34
 Error misc FinalParameters Parameter width should be final. 34
 Error misc FinalParameters Parameter height should be final. 34

com/example/renderer/factory/Triangle.java

Severity Category Rule Message Line
 Error regexp RegexpSingleline Line has trailing spaces. 3
 Error regexp RegexpSingleline Line has trailing spaces. 10
 Error javadoc JavadocStyle First sentence should end with a period. 37
 Error coding MultipleVariableDeclarations Each variable declaration must be in its own statement. 41
 Error javadoc JavadocVariable Missing a Javadoc comment. 41
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 43
 Error javadoc JavadocStyle First sentence should end with a period. 47
 Error regexp RegexpSingleline Line has trailing spaces. 49
 Error whitespace WhitespaceAround '{' is not followed by whitespace. 53
 Error whitespace WhitespaceAround '}' is not preceded with whitespace. 53
 Error javadoc JavadocStyle First sentence should end with a period. 55
 Error regexp RegexpSingleline Line has trailing spaces. 57
 Error misc FinalParameters Parameter x1 should be final. 67
 Error coding HiddenField 'x1' hides a field. 67
 Error misc FinalParameters Parameter y1 should be final. 67
 Error coding HiddenField 'y1' hides a field. 67
 Error misc FinalParameters Parameter x2 should be final. 67
 Error coding HiddenField 'x2' hides a field. 67
 Error misc FinalParameters Parameter y2 should be final. 67
 Error coding HiddenField 'y2' hides a field. 67
 Error misc FinalParameters Parameter x3 should be final. 67
 Error coding HiddenField 'x3' hides a field. 67
 Error misc FinalParameters Parameter y3 should be final. 67
 Error coding HiddenField 'y3' hides a field. 67
 Error javadoc JavadocStyle First sentence should end with a period. 73
 Error regexp RegexpSingleline Line has trailing spaces. 75
 Error misc FinalParameters Parameter renderer should be final. 82
 Error design DesignForExtension Class 'Triangle' looks like designed for extension (can be subclassed), but the method 'accept' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Triangle' final or making the method 'accept' static/final/abstract/empty, or adding allowed annotation for the method. 86
 Error misc FinalParameters Parameter visitor should be final. 87
 Error design DesignForExtension Class 'Triangle' looks like designed for extension (can be subclassed), but the method 'move' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Triangle' final or making the method 'move' static/final/abstract/empty, or adding allowed annotation for the method. 91
 Error misc FinalParameters Parameter dx should be final. 92
 Error misc FinalParameters Parameter dy should be final. 92
 Error javadoc JavadocStyle First sentence should end with a period. 101
 Error blocks LeftCurly '{' at column 24 should have line break after. 107
 Error javadoc JavadocStyle First sentence should end with a period. 109
 Error blocks LeftCurly '{' at column 24 should have line break after. 115
 Error javadoc JavadocStyle First sentence should end with a period. 117
 Error blocks LeftCurly '{' at column 24 should have line break after. 123
 Error javadoc JavadocStyle First sentence should end with a period. 125
 Error blocks LeftCurly '{' at column 24 should have line break after. 131
 Error javadoc JavadocStyle First sentence should end with a period. 133
 Error blocks LeftCurly '{' at column 24 should have line break after. 139
 Error javadoc JavadocStyle First sentence should end with a period. 141
 Error blocks LeftCurly '{' at column 24 should have line break after. 147
 Error design DesignForExtension Class 'Triangle' looks like designed for extension (can be subclassed), but the method 'clone' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'Triangle' final or making the method 'clone' static/final/abstract/empty, or adding allowed annotation for the method. 149

com/example/renderer/legacy/LegacyRenderer.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file. 1
 Error javadoc JavadocStyle First sentence should end with a period. 3
 Error javadoc JavadocStyle First sentence should end with a period. 8
 Error regexp RegexpSingleline Line has trailing spaces. 15
 Error javadoc JavadocStyle First sentence should end with a period. 16
 Error regexp RegexpSingleline Line has trailing spaces. 24
 Error javadoc JavadocStyle First sentence should end with a period. 25
 Error regexp RegexpSingleline Line has trailing spaces. 35
 Error javadoc JavadocStyle First sentence should end with a period. 36

com/example/renderer/observer/LoggingShapeObserver.java

Severity Category Rule Message Line
 Error javadoc JavadocStyle First sentence should end with a period. 6
 Error regexp RegexpSingleline Line has trailing spaces. 10
 Error javadoc JavadocVariable Missing a Javadoc comment. 10
 Error naming ConstantName Name 'formatter' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. 10
 Error design DesignForExtension Class 'LoggingShapeObserver' looks like designed for extension (can be subclassed), but the method 'onShapeChanged' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'LoggingShapeObserver' final or making the method 'onShapeChanged' static/final/abstract/empty, or adding allowed annotation for the method. 13
 Error regexp RegexpSingleline Line has trailing spaces. 17

com/example/renderer/observer/ShapeObservable.java

Severity Category Rule Message Line
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 5
 Error regexp RegexpSingleline Line has trailing spaces. 8
 Error regexp RegexpSingleline Line has trailing spaces. 15
 Error regexp RegexpSingleline Line has trailing spaces. 26
 Error javadoc JavadocStyle First sentence should end with a period. 35
 Error javadoc JavadocVariable Missing a Javadoc comment. 39
 Error javadoc JavadocStyle First sentence should end with a period. 41
 Error misc FinalParameters Parameter o should be final. 45
 Error javadoc JavadocStyle First sentence should end with a period. 49

com/example/renderer/observer/ShapeObserver.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file. 1
 Error imports UnusedImports Unused import - com.example.renderer.factory.Shape. 3
 Error javadoc JavadocStyle First sentence should end with a period. 5
 Error javadoc JavadocStyle First sentence should end with a period. 10

com/example/renderer/observer/ShapeObserverImpl.java

Severity Category Rule Message Line
 Error javadoc JavadocStyle First sentence should end with a period. 3
 Error design DesignForExtension Class 'ShapeObserverImpl' looks like designed for extension (can be subclassed), but the method 'onShapeChanged' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'ShapeObserverImpl' final or making the method 'onShapeChanged' static/final/abstract/empty, or adding allowed annotation for the method. 7

com/example/renderer/proxy/RemoteRendererProxy.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file. 1
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 4
 Error regexp RegexpSingleline Line has trailing spaces. 6
 Error javadoc JavadocStyle First sentence should end with a period. 31
 Error javadoc JavadocVariable Missing a Javadoc comment. 35
 Error javadoc JavadocVariable Missing a Javadoc comment. 36
 Error javadoc JavadocVariable Missing a Javadoc comment. 37
 Error javadoc JavadocVariable Missing a Javadoc comment. 38
 Error javadoc JavadocStyle First sentence should end with a period. 40
 Error regexp RegexpSingleline Line has trailing spaces. 42
 Error misc FinalParameters Parameter realRenderer should be final. 48
 Error coding HiddenField 'realRenderer' hides a field. 48
 Error javadoc JavadocStyle First sentence should end with a period. 53
 Error regexp RegexpSingleline Line has trailing spaces. 55
 Error misc FinalParameters Parameter x should be final. 63
 Error misc FinalParameters Parameter y should be final. 63
 Error misc FinalParameters Parameter radius should be final. 63
 Error coding MagicNumber '3' is a magic number. 65
 Error blocks NeedBraces 'if' construct must use '{}'s. 71
 Error javadoc JavadocStyle First sentence should end with a period. 77
 Error regexp RegexpSingleline Line has trailing spaces. 79
 Error misc FinalParameters Parameter x should be final. 87
 Error misc FinalParameters Parameter y should be final. 87
 Error misc FinalParameters Parameter width should be final. 87
 Error misc FinalParameters Parameter height should be final. 87
 Error javadoc JavadocStyle First sentence should end with a period. 93
 Error regexp RegexpSingleline Line has trailing spaces. 95
 Error misc FinalParameters Parameter x1 should be final. 106
 Error misc FinalParameters Parameter y1 should be final. 106
 Error misc FinalParameters Parameter x2 should be final. 106
 Error misc FinalParameters Parameter y2 should be final. 106
 Error misc FinalParameters Parameter x3 should be final. 106
 Error misc FinalParameters Parameter y3 should be final. 106
 Error sizes LineLength Line is longer than 80 characters (found 105). 107
 Error design DesignForExtension Class 'RemoteRendererProxy' looks like designed for extension (can be subclassed), but the method 'setStyle' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'RemoteRendererProxy' final or making the method 'setStyle' static/final/abstract/empty, or adding allowed annotation for the method. 111
 Error misc FinalParameters Parameter stroke should be final. 112
 Error misc FinalParameters Parameter fill should be final. 112
 Error misc FinalParameters Parameter width should be final. 112
 Error design DesignForExtension Class 'RemoteRendererProxy' looks like designed for extension (can be subclassed), but the method 'drawEllipse' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'RemoteRendererProxy' final or making the method 'drawEllipse' static/final/abstract/empty, or adding allowed annotation for the method. 119
 Error misc FinalParameters Parameter x should be final. 120
 Error misc FinalParameters Parameter y should be final. 120
 Error misc FinalParameters Parameter width should be final. 120
 Error misc FinalParameters Parameter height should be final. 120
 Error sizes LineLength Line is longer than 80 characters (found 93). 121
 Error design DesignForExtension Class 'RemoteRendererProxy' looks like designed for extension (can be subclassed), but the method 'getContext' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'RemoteRendererProxy' final or making the method 'getContext' static/final/abstract/empty, or adding allowed annotation for the method. 125
 Error design DesignForExtension Class 'RemoteRendererProxy' looks like designed for extension (can be subclassed), but the method 'beginFrame' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'RemoteRendererProxy' final or making the method 'beginFrame' static/final/abstract/empty, or adding allowed annotation for the method. 130
 Error design DesignForExtension Class 'RemoteRendererProxy' looks like designed for extension (can be subclassed), but the method 'endFrame' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'RemoteRendererProxy' final or making the method 'endFrame' static/final/abstract/empty, or adding allowed annotation for the method. 135

com/example/renderer/singleton/PersistenceManager.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file. 1
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - com.example.renderer.factory.*. 32
 Error imports UnusedImports Unused import - java.io.FileNotFoundException. 39
 Error imports UnusedImports Unused import - com.google.gson.JsonIOException. 43
 Error imports UnusedImports Unused import - com.google.gson.JsonParseException. 44
 Error imports UnusedImports Unused import - com.google.gson.JsonSyntaxException. 45
 Error javadoc JavadocStyle First sentence should end with a period. 47
 Error regexp RegexpSingleline Line has trailing spaces. 49
 Error regexp RegexpSingleline Line has trailing spaces. 56
 Error design FinalClass Class PersistenceManager should be declared as final. 59
 Error javadoc JavadocVariable Missing a Javadoc comment. 60
 Error javadoc JavadocVariable Missing a Javadoc comment. 61
 Error sizes LineLength Line is longer than 80 characters (found 86). 65
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 79
 Error regexp RegexpSingleline Line has trailing spaces. 81
 Error regexp RegexpSingleline Line has trailing spaces. 83
 Error javadoc JavadocStyle First sentence should end with a period. 87
 Error regexp RegexpSingleline Line has trailing spaces. 89
 Error regexp RegexpSingleline Line has trailing spaces. 91
 Error javadoc JavadocStyle First sentence should end with a period. 98
 Error regexp RegexpSingleline Line has trailing spaces. 100
 Error regexp RegexpSingleline Line has trailing spaces. 102
 Error sizes LineLength Line is longer than 80 characters (found 119). 110
 Error misc FinalParameters Parameter shapes should be final. 110
 Error misc FinalParameters Parameter filePath should be final. 110
 Error sizes LineLength Line is longer than 80 characters (found 84). 113
 Error javadoc JavadocStyle First sentence should end with a period. 120
 Error regexp RegexpSingleline Line has trailing spaces. 122
 Error regexp RegexpSingleline Line has trailing spaces. 125
 Error sizes LineLength Line is longer than 80 characters (found 108). 136
 Error misc FinalParameters Parameter filePath should be final. 136

com/example/renderer/ui/DrawingPanel.java

Severity Category Rule Message Line
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 3
 Error regexp RegexpSingleline Line has trailing spaces. 5
 Error regexp RegexpSingleline Line has trailing spaces. 12
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - javax.swing.*. 19
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - java.awt.*. 20
 Error imports RedundantImport Duplicate import to line 23 - com.example.renderer.bridge.Renderer. 25
 Error imports RedundantImport Duplicate import to line 24 - com.example.renderer.factory.Shape. 27
 Error javadoc JavadocStyle First sentence should end with a period. 28
 Error regexp RegexpSingleline Line has trailing spaces. 30
 Error regexp RegexpSingleline Line has trailing spaces. 37
 Error javadoc JavadocStyle First sentence should end with a period. 44
 Error regexp RegexpSingleline Line has trailing spaces. 46
 Error javadoc JavadocStyle First sentence should end with a period. 47
 Error javadoc JavadocStyle First sentence should end with a period. 50
 Error sizes LineLength Line is longer than 80 characters (found 93). 56
 Error misc FinalParameters Parameter shapes should be final. 56
 Error coding HiddenField 'shapes' hides a field. 56
 Error misc FinalParameters Parameter renderer should be final. 56
 Error coding HiddenField 'renderer' hides a field. 56
 Error coding MagicNumber '800' is a magic number. 59
 Error coding MagicNumber '600' is a magic number. 59
 Error javadoc JavadocStyle First sentence should end with a period. 64
 Error misc FinalParameters Parameter g should be final. 70

com/example/renderer/ui/MainUI.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file. 1
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 2
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 16
 Error javadoc JavadocStyle First sentence should end with a period. 21
 Error regexp RegexpSingleline Line has trailing spaces. 23
 Error regexp RegexpSingleline Line has trailing spaces. 30
 Error regexp RegexpSingleline Line has trailing spaces. 37
 Error design HideUtilityClassConstructor Utility classes should not have a public or default constructor. 43
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 45
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 50
 Error regexp RegexpSingleline Line has trailing spaces. 52
 Error regexp RegexpSingleline Line has trailing spaces. 55
 Error javadoc JavadocStyle First sentence should end with a period. 60
 Error regexp RegexpSingleline Line has trailing spaces. 62
 Error regexp RegexpSingleline Line has trailing spaces. 65
 Error misc FinalParameters Parameter args should be final. 70

com/example/renderer/ui/SwingUI.java

Severity Category Rule Message Line
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 3
 Error regexp RegexpSingleline Line has trailing spaces. 5
 Error regexp RegexpSingleline Line has trailing spaces. 13
 Error regexp RegexpSingleline Line has trailing spaces. 26
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - com.example.renderer.factory.*. 39
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - com.example.renderer.command.*. 40
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - javax.swing.*. 44
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - java.awt.*. 45
 Error imports RedundantImport Duplicate import to line 42 - org.slf4j.Logger. 49
 Error imports RedundantImport Duplicate import to line 43 - org.slf4j.LoggerFactory. 50
 Error imports RedundantImport Duplicate import to line 45 - java.awt.*. 51
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - java.awt.*. 51
 Error imports RedundantImport Duplicate import to line 47 - java.util.ArrayList. 52
 Error imports RedundantImport Duplicate import to line 48 - java.util.List. 53
 Error imports RedundantImport Duplicate import to line 46 - java.io.File. 55
 Error imports UnusedImports Unused import - java.io.FileReader. 56
 Error imports UnusedImports Unused import - java.io.FileWriter. 57
 Error imports UnusedImports Unused import - java.io.IOException. 58
 Error imports RedundantImport Duplicate import to line 35 - com.example.renderer.bridge.Renderer. 64
 Error imports RedundantImport Duplicate import to line 41 - com.example.renderer.singleton.PersistenceManager. 71
 Error javadoc JavadocStyle First sentence should end with a period. 75
 Error regexp RegexpSingleline Line has trailing spaces. 77
 Error regexp RegexpSingleline Line has trailing spaces. 85
 Error javadoc JavadocVariable Missing a Javadoc comment. 93
 Error javadoc JavadocStyle First sentence should end with a period. 94
 Error sizes LineLength Line is longer than 80 characters (found 86). 95
 Error regexp RegexpSingleline Line has trailing spaces. 96
 Error javadoc JavadocStyle First sentence should end with a period. 97
 Error regexp RegexpSingleline Line has trailing spaces. 99
 Error javadoc JavadocStyle First sentence should end with a period. 100
 Error regexp RegexpSingleline Line has trailing spaces. 102
 Error javadoc JavadocStyle First sentence should end with a period. 103
 Error javadoc JavadocStyle First sentence should end with a period. 107
 Error regexp RegexpSingleline Line has trailing spaces. 109
 Error coding MagicNumber '800' is a magic number. 122
 Error coding MagicNumber '600' is a magic number. 122
 Error sizes LineLength Line is longer than 80 characters (found 89). 161
 Error coding MagicNumber '100' is a magic number. 161
 Error coding MagicNumber '10' is a magic number. 161
 Error coding MagicNumber '100' is a magic number. 161
 Error coding MagicNumber '30' is a magic number. 161
 Error coding MagicNumber '5' is a magic number. 161
 Error coding MagicNumber '200' is a magic number. 168
 Error coding MagicNumber '150' is a magic number. 168
 Error coding MagicNumber '10' is a magic number. 168
 Error coding MagicNumber '60' is a magic number. 168
 Error coding MagicNumber '40' is a magic number. 168
 Error coding MagicNumber '300' is a magic number. 175
 Error coding MagicNumber '200' is a magic number. 175
 Error coding MagicNumber '50' is a magic number. 175
 Error coding MagicNumber '30' is a magic number. 175
 Error coding MagicNumber '400' is a magic number. 182
 Error coding MagicNumber '300' is a magic number. 182
 Error coding MagicNumber '450' is a magic number. 182
 Error coding MagicNumber '350' is a magic number. 182
 Error coding MagicNumber '420' is a magic number. 182
 Error coding MagicNumber '390' is a magic number. 182
 Error regexp RegexpSingleline Line has trailing spaces. 223
 Error regexp RegexpSingleline Line has trailing spaces. 229
 Error sizes LineLength Line is longer than 80 characters (found 98). 238
 Error regexp RegexpSingleline Line has trailing spaces. 251
 Error regexp RegexpSingleline Line has trailing spaces. 259
 Error regexp RegexpSingleline Line has trailing spaces. 260
 Error javadoc JavadocMethod @return tag should be present and have description. 262
 Error sizes LineLength Line is longer than 80 characters (found 148). 277

com/example/renderer/util/RuntimeTypeAdapterFactory.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file. 1
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 3
 Error regexp RegexpSingleline Line has trailing spaces. 16
 Error sizes LineLength Line is longer than 80 characters (found 142). 35
 Error javadoc JavadocStyle First sentence should end with a period. 58
 Error design FinalClass Class RuntimeTypeAdapterFactory should be declared as final. 62
 Error javadoc JavadocVariable Missing a Javadoc comment. 63
 Error javadoc JavadocVariable Missing a Javadoc comment. 64
 Error javadoc JavadocVariable Missing a Javadoc comment. 65
 Error javadoc JavadocVariable Missing a Javadoc comment. 66
 Error misc FinalParameters Parameter baseType should be final. 68
 Error coding HiddenField 'baseType' hides a field. 68
 Error misc FinalParameters Parameter typeFieldName should be final. 68
 Error coding HiddenField 'typeFieldName' hides a field. 68
 Error javadoc JavadocStyle First sentence should end with a period. 73
 Error regexp RegexpSingleline Line has trailing spaces. 75
 Error sizes LineLength Line is longer than 80 characters (found 96). 81
 Error misc FinalParameters Parameter baseType should be final. 81
 Error misc FinalParameters Parameter typeFieldName should be final. 81
 Error javadoc JavadocStyle First sentence should end with a period. 85
 Error regexp RegexpSingleline Line has trailing spaces. 87
 Error sizes LineLength Line is longer than 80 characters (found 96). 92
 Error misc FinalParameters Parameter type should be final. 92
 Error misc FinalParameters Parameter label should be final. 92
 Error misc FinalParameters Parameter gson should be final. 99
 Error misc FinalParameters Parameter type should be final. 99
 Error sizes LineLength Line is longer than 80 characters (found 101). 108
 Error misc FinalParameters Parameter out should be final. 116
 Error misc FinalParameters Parameter value should be final. 116
 Error sizes LineLength Line is longer than 80 characters (found 90). 120
 Error sizes LineLength Line is longer than 80 characters (found 90). 122
 Error sizes LineLength Line is longer than 80 characters (found 85). 123
 Error misc FinalParameters Parameter in should be final. 130
 Error sizes LineLength Line is longer than 80 characters (found 108). 135

com/example/renderer/visitor/ExportVisitor.java

Severity Category Rule Message Line
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 8
 Error regexp RegexpSingleline Line has trailing spaces. 11
 Error javadoc JavadocStyle First sentence should end with a period. 14
 Error javadoc JavadocStyle First sentence should end with a period. 18
 Error regexp RegexpSingleline Line has trailing spaces. 23
 Error javadoc JavadocStyle First sentence should end with a period. 24
 Error regexp RegexpSingleline Line has trailing spaces. 29
 Error javadoc JavadocStyle First sentence should end with a period. 30
 Error regexp RegexpSingleline Line has trailing spaces. 35
 Error javadoc JavadocStyle First sentence should end with a period. 36

com/example/renderer/visitor/JSONExportVisitor.java

Severity Category Rule Message Line
 Error javadoc JavadocPackage Missing package-info.java file. 1
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 3
 Error regexp RegexpSingleline Line has trailing spaces. 5
 Error regexp RegexpSingleline Line has trailing spaces. 8
 Error sizes LineLength Line is longer than 80 characters (found 86). 12
 Error sizes LineLength Line is longer than 80 characters (found 87). 13
 Error regexp RegexpSingleline Line has trailing spaces. 17
 Error regexp RegexpSingleline Line has trailing spaces. 25
 Error regexp RegexpSingleline Line has trailing spaces. 33
 Error sizes LineLength Line is longer than 80 characters (found 83). 36
 Error regexp RegexpSingleline Line has trailing spaces. 40
 Error regexp RegexpSingleline Line has trailing spaces. 48
 Error javadoc JavadocStyle First sentence should end with a period. 62
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 67
 Error javadoc JavadocStyle First sentence should end with a period. 71
 Error regexp RegexpSingleline Line has trailing spaces. 75
 Error regexp RegexpSingleline Line has trailing spaces. 77
 Error javadoc JavadocVariable Missing a Javadoc comment. 77
 Error regexp RegexpSingleline Line has trailing spaces. 79
 Error javadoc JavadocVariable Missing a Javadoc comment. 79
 Error regexp RegexpSingleline Line has trailing spaces. 81
 Error javadoc JavadocVariable Missing a Javadoc comment. 81
 Error sizes LineLength Line is longer than 80 characters (found 100). 82
 Error javadoc JavadocStyle First sentence should end with a period. 84
 Error regexp RegexpSingleline Line has trailing spaces. 87
 Error misc FinalParameters Parameter c should be final. 93
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 100
 Error regexp RegexpSingleline Line has trailing spaces. 102
 Error javadoc JavadocStyle First sentence should end with a period. 106
 Error regexp RegexpSingleline Line has trailing spaces. 109
 Error misc FinalParameters Parameter r should be final. 115
 Error sizes LineLength Line is longer than 80 characters (found 98). 119
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 122
 Error regexp RegexpSingleline Line has trailing spaces. 124
 Error javadoc JavadocStyle First sentence should end with a period. 128
 Error regexp RegexpSingleline Line has trailing spaces. 131
 Error misc FinalParameters Parameter e should be final. 137
 Error regexp RegexpSingleline Line has trailing spaces. 141
 Error whitespace WhitespaceAround '/' is not followed by whitespace. 142
 Error whitespace WhitespaceAround '/' is not preceded with whitespace. 142
 Error whitespace WhitespaceAround '/' is not followed by whitespace. 142
 Error whitespace WhitespaceAround '/' is not preceded with whitespace. 142
 Error javadoc InvalidJavadocPosition Javadoc comment is placed in the wrong location. 145
 Error regexp RegexpSingleline Line has trailing spaces. 147
 Error javadoc JavadocStyle First sentence should end with a period. 151
 Error regexp RegexpSingleline Line has trailing spaces. 154
 Error misc FinalParameters Parameter t should be final. 159
 Error sizes LineLength Line is longer than 80 characters (found 82). 161

com/example/renderer/visitor/XMLExportVisitor.java

Severity Category Rule Message Line
 Error imports AvoidStarImport Using the '.*' form of import should be avoided - com.example.renderer.factory.*. 3
 Error javadoc JavadocStyle First sentence should end with a period. 5
 Error design DesignForExtension Class 'XMLExportVisitor' looks like designed for extension (can be subclassed), but the method 'visitCircle' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'XMLExportVisitor' final or making the method 'visitCircle' static/final/abstract/empty, or adding allowed annotation for the method. 9
 Error misc FinalParameters Parameter c should be final. 10
 Error whitespace OperatorWrap '+' should be on a new line. 15
 Error whitespace OperatorWrap '+' should be on a new line. 16
 Error whitespace OperatorWrap '+' should be on a new line. 17
 Error whitespace OperatorWrap '+' should be on a new line. 18
 Error whitespace OperatorWrap '+' should be on a new line. 19
 Error design DesignForExtension Class 'XMLExportVisitor' looks like designed for extension (can be subclassed), but the method 'visitRectangle' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'XMLExportVisitor' final or making the method 'visitRectangle' static/final/abstract/empty, or adding allowed annotation for the method. 24
 Error misc FinalParameters Parameter r should be final. 25
 Error design DesignForExtension Class 'XMLExportVisitor' looks like designed for extension (can be subclassed), but the method 'visitEllipse' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'XMLExportVisitor' final or making the method 'visitEllipse' static/final/abstract/empty, or adding allowed annotation for the method. 31
 Error misc FinalParameters Parameter e should be final. 32
 Error regexp RegexpSingleline Line has trailing spaces. 35
 Error whitespace WhitespaceAround '/' is not followed by whitespace. 35
 Error whitespace WhitespaceAround '/' is not preceded with whitespace. 35
 Error whitespace WhitespaceAround '/' is not followed by whitespace. 36
 Error whitespace WhitespaceAround '/' is not preceded with whitespace. 36
 Error whitespace WhitespaceAround '/' is not followed by whitespace. 37
 Error whitespace WhitespaceAround '/' is not preceded with whitespace. 37
 Error whitespace WhitespaceAround '/' is not followed by whitespace. 38
 Error whitespace WhitespaceAround '/' is not preceded with whitespace. 38
 Error design DesignForExtension Class 'XMLExportVisitor' looks like designed for extension (can be subclassed), but the method 'visitTriangle' does not have javadoc that explains how to do that safely. If class is not designed for extension consider making the class 'XMLExportVisitor' final or making the method 'visitTriangle' static/final/abstract/empty, or adding allowed annotation for the method. 41
 Error misc FinalParameters Parameter t should be final. 42