facebook pixelCodiga Analysis Kotlin Rules, severity informational , category best practice
BACK TO LIST

Kotlin rules

Codiga provides multiple sets 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
Informational

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

detekt.SpreadOperator

Best practice
Informational

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
Informational

Function parameter is unused