facebook pixelScala Static Analysis Rules
BACK TO LIST

Scala rules

Codiga provides multiple set 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.

      org.scalastyle.scalariform.MultipleStringLiteralsChecker

      Best practice
      Medium

      Literal string appears too much in the file

      Learn more

      org.scalastyle.scalariform.IfBraceChecker

      Best practice
      Medium

      Checks that if statements have braces

      org.scalastyle.scalariform.MethodLengthChecker

      Best practice
      Medium

      Checks that methods do not exceed a maximum length

      org.scalastyle.scalariform.NumberOfMethodsInTypeChecker

      Best practice
      Medium

      Check that a class / trait / object does not have too many methods

      org.scalastyle.scalariform.PublicMethodsHaveTypeChecker

      Best practice
      Medium

      Check that a method has an explicit return type, it is not inferred

      org.scalastyle.scalariform.ReturnChecker

      Best practice
      Medium

      Check that return is not used

      org.scalastyle.scalariform.NumberOfTypesChecker

      Best practice
      Medium

      Number of types declared in the file exceeds 30