Unreferenced variables strong indicator for other errors
46 percent of routines with no unused variables had no errors compared to only 17 to 29 percent for those with one or more unreferenced variables.
IfSQ Defect Indicators based on this finding:
There are unreferenced variables in the code. Unreferenced variables are a strong indicator for other errors.