Confusing Ternary should skip else if statements (or have a property to do so)
A source code analyzer
Brought to you by:
adangel,
juansotuyo
Diff:
I've added a property "ignoreElseIf". It will be available with PMD 5.1 in February.