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