Reports unnecessary
switch
statements. Warns on switch statement with an empty body, only one
case
branch, or only single
default
branch.