Query module AV Rule 196

name
No trivial switch statements
description
Using a switch statement when there are fewer than two non-default cases leads to unclear code.
kind
problem
problem.severity
recommendation
precision
high
id
cpp/trivial-switch
tags
maintainability readability external/jsf

Imports

cpp

Provides classes and predicates for working with C/C++/ObjC/ObjC++ code.