facebook pixelCodiga Analysis Ruby Rules, category design
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.

Attribute

Design
Warning

Detect writable attributes

Learn more

FeatureEnvy

Design
Warning

Use of a data from another class too much (data may be moved to another class)

InstanceVariableAssumption

Design
Warning

Assume too much on class content

IrresponsibleModule

Design
Error

No descriptive comment

ManualDispatch

Design
Error

manually dispatches method call

RepeatedConditional

Design
Warning

Repeated conditional

SubclassedFromCoreClass

Design
Warning

Inherit from Core Class

UtilityFunction

Design
Warning

Data does not depend on instance state