...
Automated Detection
Compass/ROSE could can detect most violations of this rule by flagging any variable as a violation as long as:
...
recommendation.
Risk Assessment
Failing to const
-qualify immutable objects can result in a constant being modified at runtime.
...