facebook pixelKotlin Static Analysis Rules
BACK TO LIST

Kotlin 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.

      detekt.FunctionOnlyReturningConstant

      Design
      Medium

      Function is returning a constant. Prefer declaring a constant instead.

      detekt.LongMethod

      Design
      Medium

      Function is too long

      detekt.LongParameterList

      Design
      Medium

      Too many parameters

      detekt.MaxLineLength

      Design
      Medium

      Line is too long

      detekt.TooManyFunctions

      Design
      Medium

      Too many functions in object