This inspection reports
if
statements with three or more branches that can be replaced with a
when
expression.