How (Not) to Measure Quality
28th March 2023
-
Locked
Michael Kutz
Quality Engineer/Ambassador

Talk Description
PO: “Hey folks, we need to add this new feature as fast as possible! It will bring that revenue boost we need.”
Devs: “But we need time to refactor the code!”
Testers: “And to test it properly!”
PO: “Hm… how much?”
Devs: “Uhm… 3 weeks?”
Testers: “Rather 4!”
“OK, I'll give you 2. See you then.”
Sounds familiar?
I had a lot of similar discussions in my career. I think they are a symptom of a deeper problem. Implementing a feature can be measured: it is there. Quality is much harder to measure. How much quality do we need anyway? What for? Which metrics truly tell us the quality and which are not?
Different stakeholders have very different qualities in mind. Product people and users care about outer quality, developers are concerned with inner quality aspects, and finally, managers care most about process quality. These three qualities need very different sets of metrics.
Another problem is that some commonly used metrics are only proxies for the information that we need. E.g. code coverage tells us which lines of code get executed during a test, but sometimes we confuse this with how well the code is tested.
Different stakeholders have very different qualities in mind. Product people and users care about outer quality, developers are concerned with inner quality aspects, and finally, managers care most about process quality. These three qualities need very different sets of metrics.
Another problem is that some commonly used metrics are only proxies for the information that we need. E.g. code coverage tells us which lines of code get executed during a test, but sometimes we confuse this with how well the code is tested.
In this talk, I share some general motivations for measuring quality. I review various commonly used metrics that claim to measure quality. Based on my experience, I rate them regarding how they may be helpful or harmful to achieve actual goals and which side effects are to be expected. I give some examples of how the weaknesses of one metric might be countered by another one to create a beneficial system.
What you’ll learn
By the end of this talk, you'll be able to:
- Identify different approaches on how (not) to measure quality
- Assess commonly used quality metrics against different purposes
- Be aware of possible side effects of measurements
- Understand how metrics can be combined to even out each other's weaknesses
Michael Kutz
Quality Engineer/Ambassador
I've been working in professional software development for more than 10 years now. I love to write working software and I hate fixing bugs. Hence I developed a strong focus on test automation, continuous delivery/deployment and agile principals.
Since 2014 I work at digital as a software engineer and since 2018 as quality engineer. As such my main objective is to support our development teams in QA and test automation to empower them to write awesome bug-free software fast.
Suggested Content
Explore MoT
A skills and knowledge exchange to enhance your testing, QA and quality engineering life
Learn with me about what Accessibility is, why it's important to test for and how to get your team started with an Accessibility testing mindset
Debrief the week in Testing via a community radio show hosted by Simon Tomes and members of the community