My company wishes to use two primary KPIs to help improve quality.
- Number of bugs (less is better)
- Number of tests (more is better)
Will improving these figures actually improve quality?
My company wishes to use two primary KPIs to help improve quality.
Will improving these figures actually improve quality?
No
Some general guidelines:
I have yet to see any good reason for using bug counts or test counts as a KPI.
In a recent automation project, actually by reducing the test count drastically improved the overall test suite effectiveness multiple times. We almost reduced 80% test cases and designed test cases from scratch which is effectively & economically striking at the right points of the application.
We are getting far more effective test coverage with 100 test cases compared to earlier where we had 500 legacy tests which nobody bothered to review in long time.
Although this only could become possible when Business agreed to invest significant time to review test cases together with the QA team.
The "number of bugs and numbers of tests" KPIs are often used.
This is unfortunate as they are actually just symptoms of underlying problems.
When companies try to improve those two figures without diving deeper into the why and underlying causes they will not improve quality for the long term. Or tomorrow.
In order to actually improve quality - which will lead to less bugs - companies should focus on a combination pf both technical and business stats that workers can actually affect by their daily activities and that the business want to see improving such as
The one word answer would be no.
The reason behind is that bugs and tests can be much diverse in nature and only using numbers as metric won't suffice, and I don't know if any other metric exists which can give all the details of bugs and tests (e.g. details like root cause, effectiveness, etc).
If an organization wants to improve quality, I believe that they must follow some of the best practices(if not all), then they won't need to use such not so useful metrices.