You know the 80-20 rule. The one marketers, managers, bigwigs, writers, speakers, and everyone else references to tell you what to focus on or why the widgets aren’t selling like they should.
Well, as painful as it might be to hear the rule applied to yet another scenario, we’re here today to let you know that 80-20 can be applied, in many cases, to your code’s exceptions as well.
20% of Errors Cause 80% of Exception Instances #
That’s not so bad, is it?
All we’re trying to point out is that when you start tracking and organizing the errors in your code, inevitably you’ll start to realize that a small percentage of bugs are causing the majority of your total errors.
What we did about it #
We realized this ourselves, so we built the “Most Frequent Errors” report right into the Exceptionless dashboard.
When you log into your account, you immediately see which errors are causing the largest number of exceptions, how many instances of each there is, when the first occurrence was, and when the last occurrence was.
From there, you can click in, view there error’s details, and hopefully find a quick resolution to the problem.
Most Frequent Most Important #
While it’s great to chip away at the most frequent errors, it’s worth pointing out that most frequent doesn’t always mean most important, so be sure to focus on bottom line, customer facing, and major functionality issues first!
Have You Observed the 80-20 in the Wild? #
In your coding adventures, have you found the 80-20 rule to apply to your exceptions? Was it something you found quickly, or did you track down numerous instances of the same error before realizing it?