Rule 2: Avoid_naming_types_having_same_names_as_java_lang_types

Severity:
Low
Rule:
Since package java.lang is implicitly imported whenever a java file is created, declaring classes or interfaces with same name as java.lang types might bring confusions and ambiguities.
Reason:
Since package java.lang is implicitly imported whenever a java file is created, declaring classes or interfaces with same name as java.lang types might bring confusions and ambiguities.

Rule 4: Avoid_local_variables_names_differing_only_in_case

Severity:
Medium
Rule:
Although this isn't an error, it makes it harder to read and confusing for the person reading viewing the source code.
Reason:
Although this isn't an error, it makes it harder to read and confusing for the person reading viewing the source code.

Rule 5: Avoid_method_parameter_names_differing_only_in_case

Severity:
Medium
Rule:
Although this isn't an error, it makes it harder to read and confusing for the person reading viewing the source code.
Reason:
Although this isn't an error, it makes it harder to read and confusing for the person reading viewing the source code.

Severity:
Medium
Rule:
Arrays and collections should have plural names to indicate that they are collections of objects (rather than single objects).
Reason:
Arrays and collections should have plural names to indicate that they are collections of objects (rather than single objects).

Severity:
Medium
Rule:
Arrays and collections should have plural names to indicate that they are collections of objects (rather than single objects).
Reason:
Arrays and collections should have plural names to indicate that they are collections of objects (rather than single objects).

Rule 26: Use_proper_naming_convention_for_non_final_static_fields

public class Use_proper_naming_convention_for_non_final_static_fields_violation{ public static int _value; static String name; // VIOLATION if the naming convention is set to be "_.+" static final long currID = 1000;}

Should be written as:

package com.rule;

public class Use_proper_naming_convention_for_non_final_static_fields_correction{ public static int _value; static String _name; // COORECTION if the naming convention is set to be "_.+" static final long currID = 1000;}

Severity:
Medium
Rule:
Arrays and collections should have plural names to indicate that they are collections of objects (rather than single objects).
Reason:
Arrays and collections should have plural names to indicate that they are collections of objects (rather than single objects).

Rule 36: Class_name_wrongly_ends_with_exception

Severity:
Medium
Rule:
This class is not derived from another exception, but ends with Exception which can lead to confusion.
Reason:
This class is not derived from another exception, but ends with Exception which can lead to confusion.