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 | 1 | Error |
AvoidStaticImport | 0 | Error |
ClassDataAbstractionCoupling | 5 | Error |
ClassFanOutComplexity | 4 | Error |
ClassTypeParameterName | 0 | Error |
ConstantName | 8 | Error |
CovariantEquals | 1 | Error |
DeclarationOrder | 10 | Error |
DefaultComesLast | 0 | Error |
DescendantToken | 0 | Error |
DesignForExtension | 0 | Error |
DoubleCheckedLocking | 0 | Error |
EmptyBlock | 0 | Error |
EmptyForInitializerPad | 0 | Error |
EmptyForIteratorPad | 0 | Error |
EmptyStatement | 0 | Error |
EqualsAvoidNull | 0 | Error |
EqualsHashCode | 1 | Error |
ExecutableStatementCount | 12 | Error |
ExplicitInitialization | 2 | Error |
FallThrough | 0 | Error |
FinalClass | 0 | Error |
FinalLocalVariable | 4 | Error |
FinalParameters | 0 | Error |
GenericWhitespace | 0 | Error |
HiddenField
| 1 | Error |
HideUtilityClassConstructor | 0 | Error |
IllegalCatch | 2 | Error |
IllegalImport | 0 | Error |
IllegalInstantiation | 0 | Error |
IllegalThrows | 0 | Error |
IllegalTokenText | 0 | Error |
IllegalType | 1 | Error |
Indentation | 0 | Error |
InnerAssignment | 0 | Error |
InterfaceIsType | 0 | Error |
JUnitTestCase | 0 | Error |
JavaNCSS | 6 | Error |
LeftCurly | 0 | Error |
LocalFinalVariableName | 8 | Error |
LocalVariableName | 0 | Error |
MemberName | 5 | Error |
MethodName | 0 | Error |
MethodParamPad | 0 | Error |
MethodTypeParameterName | 0 | Error |
MissingDeprecated | 0 | Error |
MissingOverride | 0 | Error |
ModifierOrder | 0 | Error |
MultipleStringLiterals | 15 | Error |
MultipleVariableDeclarations | 0 | Error |
MutableException | 0 | Error |
NPathComplexity | 2 | 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 | 10 | Error |
ParameterNumber | 0 | Error |
ParenPad | 0 | Error |
RedundantImport | 0 | Error |
RedundantModifier | 0 | 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 | 0 | Error |
WhitespaceAfter | 0 | Error |
WhitespaceAround | 8 | Error |
InnerTypeLast | 0 | Error |
MethodCount | 0 | Error |
NestedForDepth | 0 | Error |
OneStatementPerLine | 0 | Error |
OuterTypeFilename | 0 | Error |
MagicNumber | 95 | Error |
UnusedImports | 0 | Error |
AvoidStarImport | 0 | Error |
NoWhitespaceAfter | 0 | Error |
BooleanExpressionComplexity | 0 | Error |
CyclomaticComplexity | 11 | Error |
MethodLength | 3 | Error |
MissingSwitchDefault | 0 | Error |
ModifiedControlVariable | 1 | Error |
NestedTryDepth | 0 | Error |
ParameterAssignment | 0 | Error |
SimplifyBooleanExpression | 0 | Error |
SimplifyBooleanReturn | 0 | Error |
StringLiteralEquality | 0 | Error |
LineLength
| 11 | Error |
NestedIfDepth
| 13 | Error |
ReturnCount | 5 | Error |
Violation | Message | Line |
---|---|---|
Class Data Abstraction Coupling is 30 (max allowed is 7) classes [AbstractAction, ActionListener, ArrayList, BorderLayout, CSVFileFilter, CSVTypeLog, Dimension, EntireGraphingPanel, File, FileInputStream, FileOutputStream, FooterPanel, FreeEMSBin, FreeEMSBinFileFilter, FreeEMSFileFilter, FreeEMSLAFileFilter, JFileChooser, JMenu, JMenuBar, JMenuItem, JPanel, LogFileFilter, MSTypeFileFilter, MacOSAboutHandler, OptionFrameV2, Point, Properties, PropertiesPane, Runnable, WindowEvent]. | 87 | |
Class Fan-Out Complexity is 50 (max allowed is 20). | 87 | |
Name 'buildInfo' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 92 | |
Declaring variables, return values or parameters of type 'AbstractDecoder' is not allowed. | 126 | |
Executable statement count is 74 (max allowed is 30). | 135 | |
Method length is 153 lines (max allowed is 150). | 135 | |
NCSS for this method is 93 (max allowed is 50). | 135 | |
Variable 'preliminaryVersion' should be declared final. | 141 | |
Anonymous inner class length is 56 lines (max allowed is 20). | 295 | |
Cyclomatic Complexity is 12 (max allowed is 10). | 297 | |
Executable statement count is 31 (max allowed is 30). | 422 | |
Cyclomatic Complexity is 14 (max allowed is 10). | 525 |
Violation | Message | Line |
---|---|---|
Variable 'finalAndInitialLength' should be declared final. | 90 |
Violation | Message | Line |
---|---|---|
Name 'initialLength' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 43 | |
Name 'loadFactor' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 44 | |
Variable 'firstTempClockStored' explicitly initialized to 'false' (default value for its type). | 72 | |
Variable 'firstClockInMilliSecondsStored' explicitly initialized to 'false' (default value for its type). | 77 | |
Static variable definition in wrong order. | 80 | |
Static variable definition in wrong order. | 91 | |
Static variable definition in wrong order. | 102 | |
Static variable definition in wrong order. | 113 | |
Static variable definition in wrong order. | 124 | |
Static variable definition in wrong order. | 144 | |
'100' is a magic number. | 146 | |
'-273.15' is a magic number. | 146 | |
'100' is a magic number. | 147 | |
'-273.15' is a magic number. | 147 | |
'640' is a magic number. | 148 | |
'32768' is a magic number. | 149 | |
'100' is a magic number. | 150 | |
'100' is a magic number. | 151 | |
'1000' is a magic number. | 152 | |
'100' is a magic number. | 153 | |
'-273.15' is a magic number. | 153 | |
'32768' is a magic number. | 154 | |
'100' is a magic number. | 155 | |
'512' is a magic number. | 164 | |
'512' is a magic number. | 165 | |
'32768' is a magic number. | 166 | |
'1250' is a magic number. | 169 | |
'100.0' is a magic number. | 170 | |
'16384.0' is a magic number. | 170 | |
'1250' is a magic number. | 171 | |
'1250' is a magic number. | 172 | |
'1250' is a magic number. | 173 | |
'1250' is a magic number. | 174 | |
'50' is a magic number. | 175 | |
'1250' is a magic number. | 176 | |
The String "tempClock" appears 2 times in the file. | 179 | |
The String "clockInMilliSeconds" appears 2 times in the file. | 203 | |
'8' is a magic number. | 204 | |
'32' is a magic number. | 235 | |
'if' is not followed by whitespace. | 247 | |
'{' is not preceded with whitespace. | 247 | |
'else' is not preceded with whitespace. | 249 | |
'}' is not followed by whitespace. | 249 | |
'if' is not followed by whitespace. | 249 | |
'{' is not preceded with whitespace. | 249 | |
Cyclomatic Complexity is 19 (max allowed is 10). | 268 | |
Executable statement count is 77 (max allowed is 30). | 268 | |
NCSS for this method is 94 (max allowed is 50). | 268 | |
Nested if-else depth is 3 (max allowed is 2). | 310 | |
Nested if-else depth is 4 (max allowed is 2). | 311 | |
Nested if-else depth is 3 (max allowed is 2). | 325 | |
Catching 'Exception' is not allowed. | 362 | |
Cyclomatic Complexity is 27 (max allowed is 10). | 396 | |
Executable statement count is 62 (max allowed is 30). | 396 | |
NCSS for this method is 83 (max allowed is 50). | 396 | |
NPath Complexity is 6,096 (max allowed is 200). | 396 | |
Return count is 3 (max allowed is 2). | 396 | |
Name 'HEADER_HAS_LENGTH_INDEX' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 397 | |
Name 'HEADER_HAS_SEQUENCE_INDEX' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 399 | |
'256' is a magic number. | 417 | |
'256' is a magic number. | 457 | |
'if' is not followed by whitespace. | 465 | |
'65536' is a magic number. | 466 | |
'1000d' is a magic number. | 472 | |
Nested if-else depth is 3 (max allowed is 2). | 482 | |
'255' is a magic number. | 482 | |
Nested if-else depth is 3 (max allowed is 2). | 487 | |
'1000' is a magic number. | 488 | |
'-1000d' is a magic number. | 488 | |
'8' is a magic number. | 522 | |
'16' is a magic number. | 522 | |
'32' is a magic number. | 522 | |
'256' is a magic number. | 554 | |
Return count is 4 (max allowed is 2). | 567 | |
'0xFF' is a magic number. | 586 |
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). | 47 |
Violation | Message | Line |
---|---|---|
Return count is 6 (max allowed is 2). | 46 |
Violation | Message | Line |
---|---|---|
Return count is 3 (max allowed is 2). | 173 | |
Throws count is 2 (max allowed is 1). | 174 |
Violation | Message | Line |
---|---|---|
Name 'tempResetKey' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 40 | |
Name 'elapsedTimeKey' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 41 | |
Executable statement count is 31 (max allowed is 30). | 132 |
Violation | Message | Line |
---|---|---|
NCSS for this method is 67 (max allowed is 50). | 794 |
Violation | Message | Line |
---|---|---|
'2.5' is a magic number. | 62 | |
Cyclomatic Complexity is 12 (max allowed is 10). | 96 | |
'6' is a magic number. | 132 | |
Cyclomatic Complexity is 14 (max allowed is 10). | 144 | |
Executable statement count is 32 (max allowed is 30). | 144 | |
Nested if-else depth is 3 (max allowed is 2). | 172 | |
'3' is a magic number. | 255 | |
'3' is a magic number. | 259 |
Violation | Message | Line |
---|---|---|
Cyclomatic Complexity is 11 (max allowed is 10). | 66 | |
Executable statement count is 38 (max allowed is 30). | 66 | |
'3' is a magic number. | 87 | |
'4' is a magic number. | 116 |
Violation | Message | Line |
---|---|---|
Cyclomatic Complexity is 45 (max allowed is 10). | 116 | |
Executable statement count is 75 (max allowed is 30). | 116 | |
Method length is 152 lines (max allowed is 150). | 116 | |
NCSS for this method is 100 (max allowed is 50). | 116 | |
NPath Complexity is 38,020 (max allowed is 200). | 116 | |
Line is longer than 160 characters. | 141 | |
Line is longer than 160 characters. | 190 | |
Line is longer than 160 characters. | 234 | |
Line is longer than 160 characters. | 239 | |
Line is longer than 160 characters. | 246 | |
Line is longer than 160 characters. | 247 | |
Line is longer than 160 characters. | 251 | |
Line is longer than 160 characters. | 252 | |
Cyclomatic Complexity is 24 (max allowed is 10). | 475 | |
Executable statement count is 82 (max allowed is 30). | 475 | |
Method length is 165 lines (max allowed is 150). | 475 | |
NCSS for this method is 94 (max allowed is 50). | 475 | |
'3' is a magic number. | 485 | |
Nested if-else depth is 3 (max allowed is 2). | 530 | |
Nested if-else depth is 4 (max allowed is 2). | 534 | |
Nested if-else depth is 4 (max allowed is 2). | 538 | |
Nested if-else depth is 4 (max allowed is 2). | 543 | |
Nested if-else depth is 4 (max allowed is 2). | 547 | |
Nested if-else depth is 3 (max allowed is 2). | 554 |
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]. | 60 | |
Class Fan-Out Complexity is 22 (max allowed is 20). | 60 | |
Anonymous inner class length is 28 lines (max allowed is 20). | 114 | |
'1280' is a magic number. | 176 | |
Cyclomatic Complexity is 11 (max allowed is 10). | 208 | |
Name 'GCB' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 215 | |
Control variable 'i' is modified. | 223 | |
Instance variable definition in wrong order. | 257 | |
Anonymous inner class length is 31 lines (max allowed is 20). | 257 | |
Name 'GCB' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 262 | |
'16' is a magic number. | 266 | |
Nested if-else depth is 3 (max allowed is 2). | 272 | |
Name 'GCB' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 289 | |
Executable statement count is 35 (max allowed is 30). | 302 | |
Name 'GDE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 324 | |
Name 'GDE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 357 | |
Name 'GDE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 376 | |
Name 'AHL' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 377 | |
Executable statement count is 33 (max allowed is 30). | 427 | |
'10' is a magic number. | 431 | |
'100' is a magic number. | 432 | |
'20' is a magic number. | 435 | |
'10' is a magic number. | 437 | |
'100' is a magic number. | 438 | |
'20' is a magic number. | 438 | |
'40' is a magic number. | 442 | |
'60' is a magic number. | 446 | |
'100' is a magic number. | 450 | |
'60' is a magic number. | 450 | |
'80' is a magic number. | 454 | |
'500' is a magic number. | 467 | |
'180' is a magic number. | 467 | |
'210' is a magic number. | 467 | |
'133' is a magic number. | 467 | |
Name 'GDE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 507 | |
Anonymous inner class length is 57 lines (max allowed is 20). | 513 | |
'16' is a magic number. | 517 | |
'18' is a magic number. | 519 | |
Name 'GCB' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 537 | |
Name 'GCB' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 543 | |
'GDE' hides a field. | 588 | |
Name 'GDE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 588 | |
Name 'GCB' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 671 |
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]. | 65 | |
Class Fan-Out Complexity is 24 (max allowed is 20). | 65 | |
Name 'OLVProperties' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 72 | |
'350' is a magic number. | 83 | |
'500' is a magic number. | 83 | |
'550' is a magic number. | 84 | |
'500' is a magic number. | 84 | |
'400' is a magic number. | 92 | |
The String "OLVProperties.olv" appears 2 times in the file. | 122 | |
Catching 'Exception' is not allowed. | 137 | |
'500' is a magic number. | 178 | |
'32' is a magic number. | 178 | |
'3' is a magic number. | 222 | |
'4' is a magic number. | 223 | |
'5' is a magic number. | 224 | |
'6' is a magic number. | 225 | |
'60' is a magic number. | 292 | |
'60' is a magic number. | 327 | |
Class Data Abstraction Coupling is 8 (max allowed is 7) classes [Dimension, FlowLayout, JCheckBox, JComboBox, JLabel, JPanel, JTextField, MouseListener]. | 336 | |
Executable statement count is 39 (max allowed is 30). | 346 | |
'10' is a magic number. | 348 | |
'500' is a magic number. | 350 | |
'50' is a magic number. | 350 | |
'15' is a magic number. | 357 | |
'20' is a magic number. | 357 | |
'50' is a magic number. | 360 | |
'20' is a magic number. | 360 | |
'50' is a magic number. | 363 | |
'20' is a magic number. | 363 | |
'30' is a magic number. | 367 | |
'20' is a magic number. | 367 | |
'60' is a magic number. | 375 | |
'20' is a magic number. | 375 | |
Anonymous inner class length is 28 lines (max allowed is 20). | 378 |
Violation | Message | Line |
---|---|---|
Definition of 'equals()' without corresponding definition of 'hashCode()'. | 139 | |
covariant equals without overriding equals(java.lang.Object). | 139 |
Violation | Message | Line |
---|---|---|
Class Data Abstraction Coupling is 13 (max allowed is 7) classes [BorderLayout, BoxLayout, Date, Dimension, HyperlinkListener, ImageIcon, JEditorPane, JLabel, JPanel, JTextPane, SimpleAttributeSet, SimpleDateFormat, StringBuilder]. | 55 | |
Class Fan-Out Complexity is 22 (max allowed is 20). | 55 | |
Name 'bytesPerMegaByte' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. | 56 | |
Static variable definition in wrong order. | 64 | |
Static variable definition in wrong order. | 76 | |
'synchronized' is not followed by whitespace. | 85 | |
Constructor definition in wrong order. | 94 | |
Line is longer than 160 characters. | 160 | |
The String "'>" appears 3 times in the file. | 166 | |
Line is longer than 160 characters. | 181 | |
Line is longer than 160 characters. | 182 | |
The String "os.name" appears 2 times in the file. | 182 | |
The String " " appears 4 times in the file. | 182 | |
The String "os.arch" appears 2 times in the file. | 182 | |
The String "os.version" appears 2 times in the file. | 182 | |
The String "java.version" appears 2 times in the file. | 183 | |
The String " on a " appears 2 times in the file. | 183 | |
The String "java.vm.version" appears 2 times in the file. | 183 | |
The String " VM" appears 2 times in the file. | 183 | |
The String "MB" appears 3 times in the file. | 207 | |
The String "MB/" appears 2 times in the file. | 210 |