BooleanParameter
Error prone
Warning
Detect boolean parameters (instead, the boolean should be used to call the function)
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.
Detect boolean parameters (instead, the boolean should be used to call the function)
Do not use class variables
contains iterators nested 4 deep
has the name 'valid\_payment\_2'
Paramter not descriptive
Variable name not descriptive
Unused parameter