facebook pixelCodiga Analysis Java Rules, severity error
BACK TO LIST

Java rules

The Codiga Code Analysis engine supports hundreds of rules for Java, checking that your code is safe and secure. Start using Codiga today to check your code and automate your code reviews to find issues in every pull request and merge with confidence.

AvoidBranchingStatementAsLastInLoop

Error prone
Error

Avoid using a branching statement as the last in a loop.

Learn more

AvoidMultipleUnaryOperators

Error prone
Error

Using multiple unary operators may be a bug

AvoidReassigningParameters

Best practice
Error

Avoid reassigning parameters

BooleanInstantiation

Unknown
Error

Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead.

BrokenNullCheck

Error prone
Error

Method call on object which may be null

SingleMethodSingleton

Error prone
Error

Class contains multiple getInstance methods. Please review.

SingletonClassReturningNewInstance

Error prone
Error

getInstance method always creates a new object and hence does not comply to Singleton Design Pattern behaviour. Please review