Metrics and Wealth – It’s All Relative

While in the midst of other developers, I often find myself in funny little debates about metric analysis. Which metric values determine complexity, which determine quality, and most importantly which of these values are “correct”.

However in the end, regardless of metric and regardless of it’s value – what matters most is that metrics relation to your satisfaction. In other words, a metric value is only as valuable as the relational context and environment in which it is applied.

Alright, I still feel that definition is a little to wordy, so let me explain with an analogy…

It has been scientifically proven numerous times that people are happier when they are relatively wealthier than their neighbors, rather than just being wealthy. In short, a upper middle class family surrounded by middle class families is more content with their monetary status than the poorest man living on Billionare’s Avenue. Hard to imagine I know…

Metric analysis needs to be perceived in the same way. There is no “correct” value of Code Coverage Percent (nor any other metric) because it is all relative to your team and previous metric goals. For example, a team just learning to unit test might find it a great achievement to hit 70% code coverage results, a venerated team might find shame in not achieving 100%, while another team’s goals might be transfixed on ROI and call 90% “good enough”. All of these metric goals are perfectly correct in their own ways because they are directly proportional to the teams attempting to achieve them.

Just remember the fundamental reason why you started caring about the metrics in the first place, so that you can drive yourself to become healthier, wealthier, and wiser each and every day. Focus on that and before you know it you will be the richest kid on the block.