This metric is an indication of the maximum number of local variables in scope at any point in a method. The idea of the metric is that a large Number Of Locals In Scope increases complexity and reduces comprehensibility. Such methods can generally be decomposed using Extract Method or extracted completely into a Method Object.