facebook pixelCodiga Analysis Kotlin Rules, severity warning , category design
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.FunctionOnlyReturningConstant

Design
Warning

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

detekt.LongMethod

Design
Warning

Function is too long

detekt.LongParameterList

Design
Warning

Too many parameters

detekt.MaxLineLength

Design
Warning

Line is too long

detekt.TooManyFunctions

Design
Warning

Too many functions in object