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

      Best practice
      Minor

      Function has 3 return statements which exceeds the limit of 2.

      detekt.SpreadOperator

      Best practice
      Minor

      In most cases using a spread operator causes a full copy of the array to be created before calling a method which has a very high performance penalty.

      detekt.UnusedPrivateMember

      Best practice
      Minor

      Function parameter is unused