Avoid explicit type when it can be inferred from literal value affected
Read more
Avoid structures initializations with unamed fields
Read more
Avoid self-assigned variables
Read more
Avoid binary operators with identical members
Read more
Avoid ‘if/else if’ & cases statements having the same condition
Read more
Avoid dead code
Read more
Avoid ‘if … else if’ constructs with missing final ‘else’ clauses
Read more
Increment (++) and decrement (–) operators should not be used in a method call or mixed with other operators in an expression
Read more
‘switch’ statements should not be nested
Read more
Avoid collapsible nested ‘if’
Read more