facebook pixelJava Static Analysis Rules
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
      High

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

      Learn more

      AvoidMultipleUnaryOperators

      Error prone
      High

      Using multiple unary operators may be a bug

      BrokenNullCheck

      Error prone
      High

      Method call on object which may be null

      SingleMethodSingleton

      Error prone
      High

      Class contains multiple getInstance methods. Please review.

      SingletonClassReturningNewInstance

      Error prone
      High

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