facebook pixelCodiga Analysis Ruby Rules, category error prone
BACK TO LIST

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

BooleanParameter

Error prone
Warning

Detect boolean parameters (instead, the boolean should be used to call the function)

Learn more

ClassVariable

Error prone
Warning

Do not use class variables

NestedIterators

Error prone
Warning

contains iterators nested 4 deep

TooManyInstanceVariables

Error prone
Informational

Too many instance variables

TooManyStatements

Error prone
Informational

Too many statements

UncommunicativeMethodName

Error prone
Warning

has the name 'valid\_payment\_2'

UncommunicativeParameterName

Error prone
Warning

Paramter not descriptive

UncommunicativeVariableName

Error prone
Warning

Variable name not descriptive

UnusedParameters

Error prone
Warning

Unused parameter