hitul/src/main/java/es/uma/lcc/neo/util

Severity

Blocker 0
Critical 0
Major 207
Minor 380
Info 0

Rule

An open curly brace should be located at the end of a line 96
Field names should comply with a naming convention 16
Sections of code should not be "commented out" 14
Useless parentheses around expressions should be removed to prevent any misunderstanding 13
Close curly brace and the next "else", "catch" and "finally" keywords should be located on the same line 11
Local variable and method parameter names should comply with a naming convention 9
Generic exceptions should never be thrown 6
Constant names should comply with a naming convention 5
Strings literals should be placed on the left side when checking for equality 4
Public methods should throw at most one checked exception 4
Standard outputs should not be used directly to log anything 4
Method names should comply with a naming convention 4
Exception handlers should preserve the original exceptions 4
Synchronized classes Vector, Hashtable, Stack and StringBuffer should not be used 2
Unused local variables should be removed 2
Loops should not contain more than a single "break" or "continue" statement 2
Declarations should use Java collection interfaces such as "List" rather than specific implementation classes such as "LinkedList" 2
Methods should not be too complex 2
Utility classes should not have public constructors 2
Source files should not have any duplicated blocks 1
Method parameters, caught exceptions and foreach variables should not be reassigned 1
Methods should not be empty 1
Unused method parameters should be removed 1
Unused "private" fields should be removed 1
Magic numbers should not be used 300
The members of an interface declaration or class should appear in a pre-defined order 54
Modifiers should be declared in the correct order 12
Tabulation characters should not be used 5
Control flow statements "if", "for", "while", "switch" and "try" should not be nested too deeply 4
Comments should not be located at the end of lines of code 2
String literals should not be duplicated 1
Local Variables should not be declared and then immediately returned or thrown 1
Useless imports should be removed 1