There is a good number of software quality metrics available in this world : http://en.wikipedia.org/wiki/Software_metric
From my experience, I have found that there is an extraordinary correlation between debugging and software quality. And the rule is :
"The quality of any particular piece of software is inversely proportional to the time spent debugging it"
5 stars : I dont remember last time I have debugged
4 stars : Debugging from time to time
3 stars : Usually once per 2 weeks iteration
2 stars : Frequently debugging
1 stars : Using Debugger more frequently than Facebook
Debug abuse means:
1. There is not enough validations. Code breaks easily.
2. Poor or inexistent unit testing. You notice errors late.
3. Code is over engineered, or a HC (https://coderwall.com/p/eup6pg?i=1&p=1&q=&t%5B%5D=%21%21mine&t%5B%5D=%21%21bookmarks)
How many stars is your code?