Checkstyle Errors

The following document contains the results of Checkstyle for severity error .

Summary

Files Errors
22 132

Files

Files Errors
net/sf/jtreemap/ktreemap/KTreeMap.java 12
net/sf/jtreemap/ktreemap/SplitSquarified.java 12
net/sf/jtreemap/ktreemap/SplitStrategy.java 3
net/sf/jtreemap/ktreemap/TreeMapNode.java 4
net/sf/jtreemap/ktreemap/example/BuilderTM3.java 1
net/sf/jtreemap/ktreemap/example/BuilderXML.java 2
net/sf/jtreemap/ktreemap/example/HSBTreeMapColorProvider.java 47
net/sf/jtreemap/ktreemap/example/KTreeMapView.java 15
net/sf/jtreemap/ktreemap/example/ResourceManager.java 32
net/sf/jtreemap/ktreemap/example/TM3Bean.java 2
net/sf/jtreemap/ktreemap/example/package.html 1
net/sf/jtreemap/ktreemap/package.html 1

net/sf/jtreemap/ktreemap/KTreeMap.java

Error Line
Error Parameter parent should be final. 96
Error Parameter style should be final. 96
Error Parameter root should be final. 96
Error Parameter parent should be final. 108
Error Parameter style should be final. 108
Error Parameter root should be final. 108
Error Parameter strategy should be final. 109
Error 'if' construct must use '{}'s. 143
Error '5' is a magic number. 378
Error '3' is a magic number. 382
Error '3' is a magic number. 384
Error 'if' construct must use '{}'s. 438

net/sf/jtreemap/ktreemap/SplitSquarified.java

Error Line
Error Each variable declaration must be in its own statement. 46
Error Each variable declaration must be in its own statement. 47
Error Each variable declaration must be in its own statement. 48
Error 'x2' hides a field. 134
Error 'y2' hides a field. 135
Error 'w2' hides a field. 136
Error 'h2' hides a field. 137
Error 'w' hides a field. 162
Error 'h' hides a field. 166
Error 'w' hides a field. 183
Error 'h' hides a field. 187
Error 'x' hides a field. 203

net/sf/jtreemap/ktreemap/SplitStrategy.java

Error Line
Error Each variable declaration must be in its own statement. 148
Error Each variable declaration must be in its own statement. 153
Error Each variable declaration must be in its own statement. 154

net/sf/jtreemap/ktreemap/TreeMapNode.java

Error Line
Error '3' is a magic number. 54
Error Parameter value should be final. 65
Error Parameter value should be final. 75
Error Parameter weight should be final. 75

net/sf/jtreemap/ktreemap/example/BuilderTM3.java

Error Line
Error Parameter tm3File should be final. 66

net/sf/jtreemap/ktreemap/example/BuilderXML.java

Error Line
Error Using the '.*' form of import should be avoided - net.sf.jtreemap.ktreemap.*. 43
Error Parameter file should be final. 70

net/sf/jtreemap/ktreemap/example/HSBTreeMapColorProvider.java

Error Line
Error Name 'm_jTreeMap' must match pattern '^[a-z][a-zA-Z0-9]*$'. 58
Error Variable 'm_jTreeMap' must be private and have accessor methods. 58
Error Name 'm_maxValue' must match pattern '^[a-z][a-zA-Z0-9]*$'. 59
Error Variable 'm_maxValue' must be private and have accessor methods. 59
Error Name 'm_minValue' must match pattern '^[a-z][a-zA-Z0-9]*$'. 60
Error Variable 'm_minValue' must be private and have accessor methods. 60
Error Name 'm_positiveHue' must match pattern '^[a-z][a-zA-Z0-9]*$'. 61
Error Name 'm_negativeHue' must match pattern '^[a-z][a-zA-Z0-9]*$'. 62
Error Name 'm_positiveSaturation' must match pattern '^[a-z][a-zA-Z0-9]*$'. 63
Error Name 'm_negativeSaturation' must match pattern '^[a-z][a-zA-Z0-9]*$'. 64
Error Name 'm_colorDistribution' must match pattern '^[a-z][a-zA-Z0-9]*$'. 66
Error Parameter treeMap should be final. 72
Error Parameter color should be final. 72
Error Parameter treeMap should be final. 81
Error Parameter positiveColor should be final. 81
Error Parameter negativeColor should be final. 82
Error Parameter treeMap should be final. 91
Error Parameter colorDistribution should be final. 92
Error Parameter color should be final. 92
Error Parameter treeMap should be final. 102
Error Parameter colorDistribution should be final. 103
Error Parameter positiveColor should be final. 103
Error Parameter negativeColor should be final. 104
Error Parameter treeMap should be final. 117
Error Parameter colorDistribution should be final. 118
Error Parameter hue should be final. 118
Error Parameter saturation should be final. 118
Error Parameter treeMap should be final. 130
Error Parameter colorDistribution should be final. 131
Error Parameter positiveHue should be final. 131
Error Parameter positiveSaturation should be final. 132
Error Parameter negativeHue should be final. 132
Error Parameter negativeSaturation should be final. 132
Error Parameter treeMap should be final. 145
Error Parameter hue should be final. 145
Error Parameter saturation should be final. 145
Error Parameter treeMap should be final. 157
Error Parameter positiveHue should be final. 157
Error Parameter positiveSaturation should be final. 158
Error Parameter negativeHue should be final. 158
Error Parameter negativeSaturation should be final. 158
Error '3' is a magic number. 179
Error Return count is 5 (max allowed is 3). 266
Error Parameter parent should be final. 341
Error Parameter style should be final. 341
Error '20' is a magic number. 353
Error 'if' construct must use '{}'s. 354

net/sf/jtreemap/ktreemap/example/KTreeMapView.java

Error Line
Error Using the '.*' form of import should be avoided - org.eclipse.ui.part.*. 46
Error Using the '.*' form of import should be avoided - org.eclipse.jface.viewers.*. 52
Error Using the '.*' form of import should be avoided - org.eclipse.jface.action.*. 60
Error Using the '.*' form of import should be avoided - org.eclipse.ui.*. 62
Error Using the '.*' form of import should be avoided - net.sf.jtreemap.ktreemap.*. 65
Error Class Data Abstraction Coupling is 33 (max allowed is 13) classes [Separator, Action, SplitByNumber, ISelectionChangedListener, LinkedHashMap, OpenTM3Action, OpenXMLAction, BuilderXML, Group, Combo, FillLayout, ViewContentProvider, ViewLabelProvider, SplitBySortedWeight, IMenuListener, XMLTreeMapProvider, Composite, ZoomAction, SashForm, GridData, File, TreeViewer, SplitSquarified, SelectionListener, SplitByWeight, DrillDownAdapter, KTreeMap, SplitBySlice, Path, HSBTreeMapColorProvider, TM3TreeMapProvider, MenuManager, GridLayout]. 82
Error '15' is a magic number. 134
Error '70' is a magic number. 134
Error '15' is a magic number. 134
Error 'if' construct must use '{}'s. 512
Error Name 'EXTENTIONS' must match pattern '^[a-z][a-zA-Z0-9]*$'. 542
Error Name 'EXTENTIONS' must match pattern '^[a-z][a-zA-Z0-9]*$'. 600
Error Parameter text should be final. 667
Error Parameter image should be final. 667
Error Parameter node should be final. 667

net/sf/jtreemap/ktreemap/example/ResourceManager.java

Error Line
Error Using the '.*' form of import should be avoided - org.eclipse.swt.graphics.*. 45
Error Using the '.*' form of import should be avoided - org.eclipse.swt.widgets.*. 46
Error Utility classes should not have a public or default constructor. 63
Error Name 'm_ClassImageMap' must match pattern '^[a-z][a-zA-Z0-9]*$'. 66
Error Name 'm_ColorMap' must match pattern '^[a-z][a-zA-Z0-9]*$'. 69
Error Name 'm_DescriptorImageMap' must match pattern '^[a-z][a-zA-Z0-9]*$'. 70
Error Name 'm_FontMap' must match pattern '^[a-z][a-zA-Z0-9]*$'. 73
Error Name 'm_FontToBoldFontMap' must match pattern '^[a-z][a-zA-Z0-9]*$'. 74
Error Name 'm_FontToItalicFontMap' must match pattern '^[a-z][a-zA-Z0-9]*$'. 75
Error Name 'm_IdToCursorMap' must match pattern '^[a-z][a-zA-Z0-9]*$'. 78
Error Name 'm_ImageToDecoratorMap' must match pattern '^[a-z][a-zA-Z0-9]*$'. 79
Error Name 'm_URLImageMap' must match pattern '^[a-z][a-zA-Z0-9]*$'. 82
Error 'for' construct must use '{}'s. 128
Error 'for' construct must use '{}'s. 137
Error 'for' construct must use '{}'s. 147
Error 'for' construct must use '{}'s. 150
Error 'for' construct must use '{}'s. 154
Error 'for' construct must use '{}'s. 164
Error 'for' construct must use '{}'s. 168
Error 'if' construct must use '{}'s. 183
Error '20' is a magic number. 186
Error '20' is a magic number. 186
Error Array brackets at illegal position. 207
Error 'if' construct must use '{}'s. 304
Error Array brackets at illegal position. 361
Error 'if' construct must use '{}'s. 379
Error Nested try depth is 2 (max allowed is 1). 382
Error Must have at least one statement. 389
Error Must have at least one statement. 392
Error Must have at least one statement. 409
Error Must have at least one statement. 412
Error 'if' construct must use '{}'s. 421

net/sf/jtreemap/ktreemap/example/TM3Bean.java

Error Line
Error Variable 'fieldNames' must be private and have accessor methods. 69
Error Variable 'fieldTypes' must be private and have accessor methods. 73

net/sf/jtreemap/ktreemap/example/package.html

Error Line
Error Missing package documentation file. 0

net/sf/jtreemap/ktreemap/package.html

Error Line
Error Missing package documentation file. 0