Rule IndexΒΆ
OCLint 22.02 includes 72 rules.
- Basic
- BitwiseOperatorInConditional
- BrokenNilCheck
- BrokenNullCheck
- BrokenOddnessCheck
- CollapsibleIfStatements
- ConstantConditionalOperator
- ConstantIfExpression
- DeadCode
- DoubleNegative
- ForLoopShouldBeWhileLoop
- GotoStatement
- JumbledIncrementer
- MisplacedNilCheck
- MisplacedNullCheck
- MultipleUnaryOperator
- ReturnFromFinallyBlock
- ThrowExceptionFromFinallyBlock
- Cocoa
- Convention
- AssignIvarOutsideAccessors
- AvoidBranchingStatementAsLastInLoop
- DestructorOfVirtualClass
- InvertedLogic
- MisplacedDefaultLabel
- MissingBreakInSwitchStatement
- MissingDefaultStatement
- NonCaseLabelInSwitchStatement
- ParameterReassignment
- PreferEarlyExit
- ProblematicBaseClassDestructor
- TooFewBranchesInSwitchStatement
- UnnecessaryDefaultStatement
- Cuda
- Design
- Empty
- Migration
- Naming
- Redundant
- Size
- Unused