org.scalastyle.scalariform.ClassNamesChecker
Incorrect class name
Codiga provides multiple sets of rules for 12+ languages. Below we provide a link and a description for all the rules supported by our platform. Note that not all the rules are being listed and described below.
Incorrect class name
Cyclomatic complexity too high
Import from illegal package
Literal string appears too much in the file
Use an uppercase character for long literals
Do not use null
Checks that a regular expression cannot be matched, if found reports this
Check that there is no trailing whitespace at the end of lines
Checks that type parameter to a class matches a regular expression
If a class/trait has no members, the braces are unnecessary
Checks that if statements have braces
Checks that imports are grouped together, not throughout the file
Checks that a case statement pattern match is not lower case, as this can cause confusion
Checks that methods do not exceed a maximum length
Check that method names match a regular expression
No whitespace before left bracket ‘[’
Check that a class / trait / object does not have too many methods
Check that object names match a regular expression
Maximum number of parameters for a method
Check that a method has an explicit return type, it is not inferred
Check that return is not used
Boolean expression can be simplified
Check that the plus sign is followed by a space
Check that the plus sign is preceded by a space
Line contains a tab
Number of types declared in the file exceeds 30
No space after a left bracket
Avoid using structural types