The following document contains the results of Checkstyle.
Rules | Violations | Severity |
---|---|---|
FileLength | 0 | Error |
NewlineAtEndOfFile | 0 | Error |
AbstractClassName | 0 | Error |
AnnotationUseStyle | 0 | Error |
AnonInnerLength | 5 | Error |
ArrayTypeStyle | 0 | Error |
AvoidInlineConditionals | 0 | Error |
AvoidStaticImport | 0 | Error |
ClassDataAbstractionCoupling | 4 | Error |
ClassFanOutComplexity | 3 | Error |
ClassTypeParameterName | 0 | Error |
ConstantName | 9 | Error |
CovariantEquals | 3 | Error |
DeclarationOrder | 16 | Error |
DefaultComesLast | 0 | Error |
DescendantToken | 0 | Error |
DesignForExtension | 4 | Error |
DoubleCheckedLocking | 0 | Error |
EmptyBlock | 2 | Error |
EmptyForInitializerPad | 0 | Error |
EmptyForIteratorPad | 0 | Error |
EmptyStatement | 0 | Error |
EqualsAvoidNull | 0 | Error |
EqualsHashCode | 2 | Error |
ExecutableStatementCount | 13 | Error |
ExplicitInitialization | 5 | Error |
FallThrough | 0 | Error |
FinalClass | 0 | Error |
FinalLocalVariable | 19 | Error |
FinalParameters | 11 | Error |
GenericWhitespace | 0 | Error |
HiddenField
| 2 | Error |
HideUtilityClassConstructor | 0 | Error |
IllegalCatch | 7 | Error |
IllegalImport | 0 | Error |
IllegalInstantiation | 0 | Error |
IllegalThrows | 0 | Error |
IllegalTokenText | 0 | Error |
IllegalType | 2 | Error |
Indentation | 0 | Error |
InnerAssignment | 0 | Error |
InterfaceIsType | 0 | Error |
JUnitTestCase | 0 | Error |
JavaNCSS | 9 | Error |
LeftCurly | 0 | Error |
LocalFinalVariableName | 11 | Error |
LocalVariableName | 9 | Error |
MemberName | 10 | Error |
MethodName | 0 | Error |
MethodParamPad | 0 | Error |
MethodTypeParameterName | 0 | Error |
MissingCtor | 0 | Error |
MissingDeprecated | 0 | Error |
MissingOverride | 0 | Error |
ModifierOrder | 0 | Error |
MultipleStringLiterals | 12 | Error |
MultipleVariableDeclarations | 0 | Error |
MutableException | 0 | Error |
NPathComplexity | 4 | Error |
NeedBraces | 0 | Error |
NoClone | 0 | Error |
NoFinalizer | 0 | Error |
NoWhitespaceBefore | 0 | Error |
OperatorWrap | 0 | Error |
OuterTypeNumber | 0 | Error |
PackageAnnotation | 0 | Error |
PackageDeclaration | 0 | Error |
PackageName | 0 | Error |
ParameterName | 15 | Error |
ParameterNumber | 0 | Error |
ParenPad | 1 | Error |
RedundantImport | 0 | Error |
RedundantModifier | 3 | Error |
RedundantThrows | 0 | Error |
RightCurly | 0 | Error |
StaticVariableName | 0 | Error |
SuperClone | 0 | Error |
SuperFinalize | 0 | Error |
SuppressWarnings | 0 | Error |
ThrowsCount | 1 | Error |
TodoComment | 0 | Error |
TypeName | 0 | Error |
TypecastParenPad | 0 | Error |
UncommentedMain
| 0 | Error |
UpperEll | 0 | Error |
VisibilityModifier | 1 | Error |
WhitespaceAfter | 3 | Error |
WhitespaceAround | 6 | Error |
MagicNumber | 150 | Error |
UnusedImports | 0 | Error |
AvoidStarImport | 0 | Error |
NoWhitespaceAfter | 0 | Error |
BooleanExpressionComplexity | 0 | Error |
CyclomaticComplexity | 12 | Error |
MethodLength | 1 | Error |
MissingSwitchDefault | 1 | Error |
ModifiedControlVariable | 4 | Error |
NestedTryDepth | 0 | Error |
ParameterAssignment | 1 | Error |
SimplifyBooleanExpression | 0 | Error |
SimplifyBooleanReturn | 0 | Error |
StringLiteralEquality | 0 | Error |
LineLength
| 7 | Error |
NestedIfDepth
| 10 | Error |
ReturnCount | 5 | Error |
Violation | Message | Line |
---|---|---|
Class Data Abstraction Coupling is 27 (max allowed is 7) classes [ActionListener, ArrayList, BorderLayout, CSVFileFilter, CSVTypeLog, Dimension, EntireGraphingPanel, File, FileInputStream, FileOutputStream, FreeEMSBin, FreeEMSBinFileFilter, FreeEMSFileFilter, FreeEMSLAFileFilter, JFileChooser, JMenu, JMenuBar, JMenuItem, JPanel, LogFileFilter, MSTypeFileFilter, OptionFrameV2, PlayBarPanel, Properties, PropertiesPane, Runnable, WindowEvent]. | 77 | |
Class Fan-Out Complexity is 42 (max allowed is 20). | 77 | |
Declaring variables, return values or parameters of type 'AbstractDecoder' is not allowed. | 115 | |
Executable statement count is 50 (max allowed is 30). | 119 | |
NCSS for this method is 66 (max allowed is 50). | 119 | |
'600' is a magic number. | 127 | |
'420' is a magic number. | 127 | |
Anonymous inner class length is 33 lines (max allowed is 20). | 231 | |
Cyclomatic Complexity is 17 (max allowed is 10). | 266 | |
Executable statement count is 46 (max allowed is 30). | 266 | |
NCSS for this method is 54 (max allowed is 50). | 266 | |
NPath Complexity is 312 (max allowed is 200). | 266 | |
Line is longer than 160 characters. | 330 | |
Name 'AppWide' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 347 | |
Name 'AppWideFile' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 348 | |
Name 'AppWide' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 362 | |
Name 'AppWideFile' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 363 | |
Name 'AppWide' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 378 | |
Name 'AppWideFile' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 379 | |
Name 'AppWide' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 392 | |
Name 'AppWideFile' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 393 | |
Name 'IOE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 413 | |
Catching 'Exception' is not allowed. | 441 |
Violation | Message | Line |
---|---|---|
Executable statement count is 84 (max allowed is 30). | 71 | |
NCSS for this method is 103 (max allowed is 50). | 71 |
Violation | Message | Line |
---|---|---|
'0.25F' is a magic number. | 45 | |
'0.5F' is a magic number. | 46 | |
'0.75F' is a magic number. | 47 | |
'8' is a magic number. | 49 | |
'128' is a magic number. | 49 | |
'4' is a magic number. | 62 | |
'0.25' is a magic number. | 67 | |
Control variable 'found' is modified. | 82 |
Violation | Message | Line |
---|---|---|
covariant equals without overriding equals(java.lang.Object). | 90 | |
Definition of 'equals()' without corresponding definition of 'hashCode()'. | 94 | |
covariant equals without overriding equals(java.lang.Object). | 94 |
Violation | Message | Line |
---|---|---|
Name 'initialLength' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 35 | |
Name 'loadFactor' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 36 | |
Line is longer than 160 characters. | 57 | |
Catching 'Exception' is not allowed. | 58 |
Violation | Message | Line |
---|---|---|
Name 'initialLength' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 42 | |
Name 'loadFactor' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 43 | |
Static variable definition in wrong order. | 67 | |
Static variable definition in wrong order. | 78 | |
Static variable definition in wrong order. | 89 | |
Static variable definition in wrong order. | 109 | |
'100' is a magic number. | 111 | |
'100' is a magic number. | 112 | |
'640' is a magic number. | 113 | |
'32768' is a magic number. | 114 | |
'100' is a magic number. | 115 | |
'100' is a magic number. | 116 | |
'1000' is a magic number. | 117 | |
'100' is a magic number. | 118 | |
'32768' is a magic number. | 119 | |
'100' is a magic number. | 120 | |
'512' is a magic number. | 129 | |
'512' is a magic number. | 130 | |
'32768' is a magic number. | 131 | |
'1250' is a magic number. | 134 | |
'100.0' is a magic number. | 135 | |
'32768.0' is a magic number. | 135 | |
'1250' is a magic number. | 136 | |
'1250' is a magic number. | 137 | |
'1250' is a magic number. | 138 | |
'1250' is a magic number. | 139 | |
'50' is a magic number. | 140 | |
'1250' is a magic number. | 141 | |
'8' is a magic number. | 169 | |
'6000' is a magic number. | 191 | |
'32' is a magic number. | 197 | |
Cyclomatic Complexity is 18 (max allowed is 10). | 224 | |
Executable statement count is 74 (max allowed is 30). | 224 | |
NCSS for this method is 90 (max allowed is 50). | 224 | |
Nested if-else depth is 3 (max allowed is 2). | 266 | |
Nested if-else depth is 4 (max allowed is 2). | 267 | |
Nested if-else depth is 3 (max allowed is 2). | 281 | |
Catching 'Exception' is not allowed. | 313 | |
Cyclomatic Complexity is 19 (max allowed is 10). | 347 | |
Executable statement count is 41 (max allowed is 30). | 347 | |
NCSS for this method is 56 (max allowed is 50). | 347 | |
NPath Complexity is 720 (max allowed is 200). | 347 | |
Return count is 3 (max allowed is 2). | 347 | |
Name 'HEADER_HAS_LENGTH_INDEX' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 348 | |
Name 'HEADER_HAS_SEQUENCE_INDEX' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 350 | |
'256' is a magic number. | 368 | |
'256' is a magic number. | 408 | |
'8' is a magic number. | 435 | |
'16' is a magic number. | 435 | |
'32' is a magic number. | 435 | |
'256' is a magic number. | 467 | |
Return count is 4 (max allowed is 2). | 480 | |
'0xFF' is a magic number. | 499 |
Violation | Message | Line |
---|---|---|
Name 'divideByOne' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 26 | |
Name 'addToZero' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 27 | |
Name 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 29 | |
Name 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 41 | |
Name 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 44 | |
Name 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 47 | |
Name 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 51 | |
Name 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 54 | |
Name 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 58 | |
The String "ID is null, needs to be a valid string!" appears 2 times in the file. | 65 | |
Cyclomatic Complexity is 12 (max allowed is 10). | 75 | |
Name 'ID' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 75 | |
'8' is a magic number. | 88 | |
'16' is a magic number. | 90 | |
'32' is a magic number. | 92 |
Violation | Message | Line |
---|---|---|
Return count is 4 (max allowed is 2). | 40 |
Violation | Message | Line |
---|---|---|
Return count is 6 (max allowed is 2). | 40 |
Violation | Message | Line |
---|---|---|
Variable 'realMinAndMaxFound' explicitly initialized to 'false' (default value for its type). | 57 | |
Variable 'displayMinAndMaxSet' explicitly initialized to 'false' (default value for its type). | 63 | |
Name 'PCS' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 74 | |
'3' is a magic number. | 111 | |
Name 'PCL' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 160 | |
Name 'PCL' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 164 | |
Return count is 3 (max allowed is 2). | 178 | |
Throws count is 2 (max allowed is 1). | 179 | |
The String "Unsupported" appears 2 times in the file. | 183 |
Violation | Message | Line |
---|---|---|
Variable access definition in wrong order. | 41 | |
Name 'recordCountKey' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 41 | |
Variable access definition in wrong order. | 42 | |
Name 'tempResetKey' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 42 | |
Variable access definition in wrong order. | 43 | |
Name 'elapsedTimeKey' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 43 | |
Variable access definition in wrong order. | 53 | |
Name 'PCS' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 53 | |
Variable 'PCS' must be private and have accessor methods. | 53 | |
Variable 'logStatusMessage' explicitly initialized to 'null' (default value for its type). | 55 | |
Name 'GDE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 109 | |
Variable 'GDE' should be declared final. | 109 | |
Executable statement count is 32 (max allowed is 30). | 127 | |
Line is longer than 160 characters. | 136 | |
The String ", Free: " appears 2 times in the file. | 136 | |
The String ", Total: " appears 2 times in the file. | 136 | |
Line is longer than 160 characters. | 154 |
Violation | Message | Line |
---|---|---|
Line is longer than 160 characters. | 45 | |
Variable access definition in wrong order. | 47 | |
Variable access definition in wrong order. | 48 | |
Variable access definition in wrong order. | 49 | |
Variable access definition in wrong order. | 50 | |
'600' is a magic number. | 81 | |
'400' is a magic number. | 81 | |
'600' is a magic number. | 84 | |
'20' is a magic number. | 84 | |
'10' is a magic number. | 93 | |
'10' is a magic number. | 95 | |
'8' is a magic number. | 252 | |
Method 'isZoomedOutBeyondOneToOne' is not designed for extension - needs to be abstract, final or empty. | 281 | |
'50' is a magic number. | 530 | |
Cyclomatic Complexity is 11 (max allowed is 10). | 543 | |
'cast' is not followed by whitespace. | 549 | |
Cyclomatic Complexity is 29 (max allowed is 10). | 578 | |
Executable statement count is 51 (max allowed is 30). | 578 | |
NCSS for this method is 79 (max allowed is 50). | 578 | |
NPath Complexity is 289 (max allowed is 200). | 578 | |
switch without "default" clause. | 580 | |
'0.75' is a magic number. | 623 | |
'if' is not followed by whitespace. | 630 | |
'{' is not preceded with whitespace. | 630 | |
'0.75' is a magic number. | 635 | |
'50' is a magic number. | 639 | |
'0.75' is a magic number. | 654 | |
'if' is not followed by whitespace. | 661 | |
'{' is not preceded with whitespace. | 661 | |
'0.75' is a magic number. | 666 | |
'50' is a magic number. | 670 | |
Method 'componentMoved' is not designed for extension - needs to be abstract, final or empty. | 733 | |
Method 'componentResized' is not designed for extension - needs to be abstract, final or empty. | 738 | |
Variable 'newWidth' should be declared final. | 740 | |
Variable 'amount' should be declared final. | 743 |
Violation | Message | Line |
---|---|---|
'2.5' is a magic number. | 60 | |
Cyclomatic Complexity is 12 (max allowed is 10). | 90 | |
Line is longer than 160 characters. | 112 | |
Must have at least one statement. | 116 | |
'6' is a magic number. | 124 | |
Cyclomatic Complexity is 13 (max allowed is 10). | 136 | |
Must have at least one statement. | 162 | |
Variable 'positionData' should be declared final. | 171 | |
'0.5' is a magic number. | 172 | |
'18' is a magic number. | 178 | |
Variable 'multiGraph' should be declared final. | 212 | |
'100.0' is a magic number. | 238 | |
Variable 'count' should be declared final. | 239 | |
'{' is not preceded with whitespace. | 241 | |
'3' is a magic number. | 243 | |
'3' is a magic number. | 248 | |
Redundant 'final' modifier. | 286 | |
'16' is a magic number. | 330 | |
'16' is a magic number. | 331 | |
'15' is a magic number. | 332 | |
'{' is not preceded with whitespace. | 332 |
Violation | Message | Line |
---|---|---|
Name 'FPScounter' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 45 | |
Variable 'FPScounter' explicitly initialized to '0' (default value for its type). | 45 | |
Name 'FPS' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 46 | |
Variable 'FPS' explicitly initialized to '0' (default value for its type). | 46 | |
'255' is a magic number. | 50 | |
'255' is a magic number. | 50 | |
'255' is a magic number. | 50 | |
'100' is a magic number. | 50 | |
'170' is a magic number. | 51 | |
'-100' is a magic number. | 57 | |
'-100' is a magic number. | 58 | |
Cyclomatic Complexity is 13 (max allowed is 10). | 63 | |
Executable statement count is 49 (max allowed is 30). | 63 | |
NCSS for this method is 58 (max allowed is 50). | 63 | |
'1000' is a magic number. | 67 | |
'1000' is a magic number. | 72 | |
'0.001' is a magic number. | 72 | |
'12' is a magic number. | 82 | |
'3' is a magic number. | 96 | |
'4' is a magic number. | 97 | |
Variable 'fm' should be declared final. | 109 | |
Variable 'mouseDataString' should be declared final. | 126 | |
'3' is a magic number. | 128 | |
'3' is a magic number. | 130 |
Violation | Message | Line |
---|---|---|
'400' is a magic number. | 47 | |
'600' is a magic number. | 47 | |
'99' is a magic number. | 48 | |
Control variable 'i' is modified. | 105 |
Violation | Message | Line |
---|---|---|
Name 'GDE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 50 | |
Variable 'zoomedOut' should be declared final. | 87 | |
Cyclomatic Complexity is 25 (max allowed is 10). | 99 | |
Executable statement count is 50 (max allowed is 30). | 99 | |
NCSS for this method is 64 (max allowed is 50). | 99 | |
NPath Complexity is 4,612 (max allowed is 200). | 99 | |
'5' is a magic number. | 171 | |
'3' is a magic number. | 176 | |
'3' is a magic number. | 176 | |
'3' is a magic number. | 181 | |
'3' is a magic number. | 181 | |
'3' is a magic number. | 186 | |
'3' is a magic number. | 186 | |
'GDE' hides a field. | 233 | |
Name 'GDE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 233 | |
Variable 'zoomedOut' should be declared final. | 251 | |
The String "-.-" appears 2 times in the file. | 252 | |
Redundant 'final' modifier. | 268 | |
'6' is a magic number. | 279 | |
'8' is a magic number. | 281 | |
'8' is a magic number. | 282 | |
Redundant 'final' modifier. | 294 | |
Parameter cursorPosition should be final. | 294 | |
'6' is a magic number. | 301 | |
'6' is a magic number. | 302 | |
'8' is a magic number. | 305 | |
'8' is a magic number. | 306 | |
'8' is a magic number. | 308 | |
'8' is a magic number. | 309 | |
'6' is a magic number. | 311 | |
The String " | " appears 2 times in the file. | 321 | |
'cast' is not followed by whitespace. | 340 | |
Variable 'graphWindowWidth' should be declared final. | 341 | |
Cyclomatic Complexity is 24 (max allowed is 10). | 378 | |
Executable statement count is 81 (max allowed is 30). | 378 | |
Method length is 162 lines (max allowed is 150). | 378 | |
NCSS for this method is 93 (max allowed is 50). | 378 | |
'cast' is not followed by whitespace. | 380 | |
Variable 'graphWindowWidth' should be declared final. | 381 | |
Line is longer than 160 characters. | 384 | |
'3' is a magic number. | 385 | |
Variable 'gdeIndex' should be declared final. | 429 | |
Nested if-else depth is 3 (max allowed is 2). | 430 | |
Nested if-else depth is 4 (max allowed is 2). | 434 | |
Nested if-else depth is 4 (max allowed is 2). | 438 | |
Nested if-else depth is 4 (max allowed is 2). | 443 | |
Nested if-else depth is 4 (max allowed is 2). | 447 | |
Variable 'averageData' should be declared final. | 453 | |
Nested if-else depth is 3 (max allowed is 2). | 454 | |
Variable 'averageData' should be declared final. | 517 |
Violation | Message | Line |
---|---|---|
Class Data Abstraction Coupling is 11 (max allowed is 7) classes [ActionListener, ActiveHeaderLabel, ArrayList, ContainerListener, Dimension, JButton, JLayeredPane, JPanel, JScrollPane, ModifyGraphPane, MouseMotionAdapter]. | 57 | |
Class Fan-Out Complexity is 21 (max allowed is 20). | 57 | |
'1280' is a magic number. | 120 | |
Instance variable definition in wrong order. | 124 | |
Instance variable definition in wrong order. | 131 | |
Instance variable definition in wrong order. | 138 | |
Anonymous inner class length is 28 lines (max allowed is 20). | 138 | |
Cyclomatic Complexity is 12 (max allowed is 10). | 195 | |
Name 'GCB' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 202 | |
Control variable 'i' is modified. | 209 | |
Instance variable definition in wrong order. | 245 | |
Anonymous inner class length is 31 lines (max allowed is 20). | 245 | |
Name 'GCB' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 250 | |
'16' is a magic number. | 254 | |
Nested if-else depth is 3 (max allowed is 2). | 260 | |
Name 'GCB' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 277 | |
Executable statement count is 35 (max allowed is 30). | 290 | |
Method 'updateFromLog' is not designed for extension - needs to be abstract, final or empty. | 290 | |
Declaring variables, return values or parameters of type 'ArrayList' is not allowed. | 306 | |
Name 'GDE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 313 | |
Parameter GDE should be final. | 345 | |
Name 'GDE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 345 | |
Name 'GDE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 364 | |
Name 'AHL' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 365 | |
Executable statement count is 34 (max allowed is 30). | 420 | |
'10' is a magic number. | 424 | |
'10' is a magic number. | 425 | |
'100' is a magic number. | 439 | |
'20' is a magic number. | 440 | |
'100' is a magic number. | 441 | |
'20' is a magic number. | 441 | |
'40' is a magic number. | 442 | |
'60' is a magic number. | 443 | |
'100' is a magic number. | 444 | |
'60' is a magic number. | 444 | |
'80' is a magic number. | 445 | |
'500' is a magic number. | 457 | |
'180' is a magic number. | 457 | |
'210' is a magic number. | 457 | |
'133' is a magic number. | 457 | |
Parameter gde should be final. | 463 | |
Parameter ahl should be final. | 463 | |
Catching 'Exception' is not allowed. | 475 | |
The String "TODO: do something with Auto field" appears 2 times in the file. | 476 | |
Catching 'Exception' is not allowed. | 481 | |
Name 'GDE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 495 | |
Anonymous inner class length is 56 lines (max allowed is 20). | 501 | |
'16' is a magic number. | 505 | |
'18' is a magic number. | 507 | |
Name 'GCB' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 525 | |
Variable 'GCB' should be declared final. | 525 | |
Name 'GCB' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 531 | |
Variable 'GCB' should be declared final. | 531 | |
Parameter x should be final. | 569 | |
Parameter y should be final. | 569 | |
Parameter width should be final. | 569 | |
Parameter height should be final. | 569 | |
'GDE' hides a field. | 576 | |
Name 'GDE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 576 | |
The String "<HTML> Data Stream: </b>" appears 2 times in the file. | 591 | |
The String "<br>To modify Min and Max values for scaling purposes Ctrl+LeftClick</HTML>" appears 2 times in the file. | 596 | |
Parameter previousPanel should be final. | 616 | |
Name 'GCB' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 661 | |
Variable 'GCB' should be declared final. | 661 |
Violation | Message | Line |
---|---|---|
Class Data Abstraction Coupling is 19 (max allowed is 7) classes [ActionListener, ArrayList, BorderLayout, BufferedWriter, Color, Dimension, File, FileReader, FileWriter, FlowLayout, JButton, JMenu, JMenuBar, JMenuItem, JPanel, JScrollPane, PropertyPanel, Scanner, SingleProperty]. | 59 | |
Class Fan-Out Complexity is 23 (max allowed is 20). | 59 | |
Name 'OLVProperties' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 62 | |
'350' is a magic number. | 71 | |
'500' is a magic number. | 71 | |
'550' is a magic number. | 72 | |
'500' is a magic number. | 72 | |
'400' is a magic number. | 78 | |
The String ".OpenLogViewer" appears 3 times in the file. | 102 | |
The String "OLVProperties.olv" appears 2 times in the file. | 108 | |
Name 'IOE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 115 | |
Catching 'Exception' is not allowed. | 122 | |
Name 'E' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 122 | |
')' is preceded with whitespace. | 139 | |
Variable 'newprop' should be declared final. | 140 | |
Parameter evt should be final. | 150 | |
'500' is a magic number. | 163 | |
'32' is a magic number. | 163 | |
'3' is a magic number. | 207 | |
'4' is a magic number. | 208 | |
'5' is a magic number. | 209 | |
'6' is a magic number. | 210 | |
Name 'FNF' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 215 | |
Catching 'Exception' is not allowed. | 234 | |
'60' is a magic number. | 277 | |
'60' is a magic number. | 311 | |
Control variable 'i' is modified. | 314 | |
Class Data Abstraction Coupling is 8 (max allowed is 7) classes [Dimension, FlowLayout, JCheckBox, JComboBox, JLabel, JPanel, JTextField, MouseListener]. | 320 | |
Executable statement count is 39 (max allowed is 30). | 330 | |
'10' is a magic number. | 333 | |
'500' is a magic number. | 335 | |
'50' is a magic number. | 335 | |
'15' is a magic number. | 342 | |
'20' is a magic number. | 342 | |
'50' is a magic number. | 345 | |
'20' is a magic number. | 345 | |
'50' is a magic number. | 348 | |
'20' is a magic number. | 348 | |
'30' is a magic number. | 352 | |
'20' is a magic number. | 352 | |
'60' is a magic number. | 360 | |
'20' is a magic number. | 360 | |
Anonymous inner class length is 29 lines (max allowed is 20). | 363 |
Violation | Message | Line |
---|---|---|
Name 'GDE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 45 | |
Parameter split should be final. | 95 | |
Assignment of parameter 'split' is not allowed. | 97 | |
The String "," appears 6 times in the file. | 113 | |
Definition of 'equals()' without corresponding definition of 'hashCode()'. | 125 | |
covariant equals without overriding equals(java.lang.Object). | 125 |