Quality Really IS Free

Scott Berkun recently brought up Philip Crosby’s classic Quality is Free on his PMClinic mailing list, in a discussion about how to “successfully argue for time for higher quality”. If argued on its merits, that should be an easy one: it really is cheaper to introduce activities that raise the quality of the software than it is to omit them.

Scott is right. Crosby’s work is definitely the place to start when you’re trying to get a bead on quality. In Quality is Free, Crosby defines quality as “conformance to requirements,” and this has become the standard definition of quality — not just in software engineering, but universally across all modern product engineering and manufacturing industries.

This is a slightly counterintuitive idea, but it’s not hard to understand why it makes sense to define quality that way. I usually explain it using a hypothetical “black box”. Say you’re a tester, and someone hands you a black box with a big red button on it and tells you to test it. Consider the following three scenarios:

You press the button and nothing happens.

You press the button, and the box plays a recording telling you that you pressed the button incorrectly.

You press the button, and the box immediately heats up to precisely 472 degrees C, causing you to drop it. It breaks into a dozen pieces.

In each of these scenarios, does the box work? That depends on whether it’s a children’s toy or the heating element for an industrial oven. What this illustrates is that there’s no way to validate a product unless you know what it’s supposed to do. And that’s Crosby’s point — that if you don’t know the requirements of a product, you can’t judge its quality.

In the PMClinic thread, Faisal Jawdat had a good post summing some of the ways that Crosby shows us how quality is free. It takes effort to do quality improvement, but it leads to a lower cost to the project overall. It’s a lot cheaper — by orders of magnitude — to fix a defect when it’s still on paper than it is to fix it after the code has been built. In practice, it’s not hard to show that quality activities like inspections, walkthroughs, deskchecks, code reviews, test-driven development, continuous integration, static code verification, etc., save more time than they cost. If you hold a code review that takes three people two hours, and if you’ve done a good job selecting the code to be reviewed, then you almost always find bugs which would have cost far more than six man-hours to fix. And you often catch at least one defect which would have made it out and been caught by a user. So by introducing code reviews, you can reduce the total effort required for the project while increasing the quality of the code (by shipping it with fewer defects).

The other side of this idea was championed by W. Edwards Deming who, along with Crosby and Juran, is seen as one of the “grandfathers” of modern quality. One important idea that he wrote about in “Out of the Crisis” is that there the requirements themselves also have their own notion of quality. High-quality requirements address the needs of the people who will use the product (the users) and the people who need it (the stakeholders). He spends a lot of time talking about how getting the people who build the product to understand what it’s needed for is the best way to get them to innovate in the right direction. He has some great examples, drawn from industrial engineering and automotive manufacturnig, that taught me a lot about fostering communication between the people who need the software and the people who build it. (Like Crosby, Deming doesn’t write specifically about software. The reason for this was that modern software engineering has its roots, via Watts Humphrey, in both Deming and Crosby.)

All of this adds up to the idea that understanding the needs of the users and stakeholders, and then agreeing upon the behavior of the software and verifying that the behavior will actually satisfy the needs, will lead to higher quality software and a more efficient team.

Which brings me to a classic counterargument (brought up by another PMClinic poster) which is often used to shoot down quality ideas: “The perfect is the enemy of the good.”

This is certainly true, and if you have a QA team that’s trying to get the software “perfect”, then they aren’t doing their jobs. But I’ve never met an experienced software tester who thought his job was to make the code perfect.

I have, however, seen many senior managers try to remove quality activities from the schedule, justifying it by saying that the software doesn’t have to be perfect. Ironically, I often hear the same people blaming the QA team for problems that they didn’t catch. It seems that there’s a double-standard here: when testers want to test software, they are guilty of trying to reach perfection, but when they miss defects they’re guilty of not being perfect. (I’m not doing a great job of explaining this — Jenny could probably do it better.)

That’s why Crosby’s definition of quality is so important. It makes quality very specific: the more closely the product conforms to its requirements, the higher its quality. It also makes the job of the testers very specific: to validate the software against the requirements. It also makes it clear why the verification and defect prevention activities (reviews and inspections) are so important — they reduce the number of defects in the requirements, before those defects can be reflected in the software. With these ideas in mind, it’s easy to challenge the senior manager who wants to cut down the testing schedule as “too perfectionist”. Whenever I’ve been in that situation, I’ve simply said, “Just tell me which requirements you don’t need to work, and we’ll cut out the tests for them. And in the future, we’ll do this earlier so that we don’t build those features in the first place!”

Post navigation

3 thoughts on “Quality Really IS Free”

I feel this was very well written. One thing I would like to not is the use of term “QA Team”. I feel it has been so poorly defined, misused, and is not consistent in the software industry. I think if Deeming, Juran, and Crosby could see where “quality” is being placed in many software projects they would turn over in their graves. The “QA Team” does not constitute Software Testers. Software Testers are Software Testers they are not Quality Assurance professionals. It is my belief that a “QA Team” consists of Software Quality Engineers (SQE) that work hand in hand with Software Engineers throughout an entire software development life cycle through requirements, design, implementation, verification and validation, and software delivery to the customer. If you want to obtain a Certified Software Quality Analyst (CSQA) or a Certified Software Quality Engineer (CSQE) http://www.softwarecertifications.com/qai_cqa.htm these have nothing to do with Software Testing. Conversely if you want to obtain Certified Software Testing Engineer (CSTE) http://www.softwarecertifications.com/qai_cste.htm this has nothing to do with CSQA or CSQE.

Software Quality Engineers should be considered an integral part of the software team and are the eyes and ears of the software project. So, how does SQEs work the software development life cycle? SQE’s audit a software project’s compliance to it standards, plans, processes, and procedures. Oh, you mean you should have standards, plans, processes, and procedures? Maybe this is why software projects fail in the industry lack of having the necessary intelligence of establishing, managing, and backing standards, plans, processes, and procedures. I have worked on many projects in various corporations that do not have standards, plans, processes and procedures. So I bring up Crosby’s “conformance to requirements,” how can you have a quality product and verify “conformance to requirements,” if you do not have standards, plans, and procedures? Are you going to levy the compliance to standards, plans, and procedures on the Software Testing Team? The answer to that question is, Uh No.

Welcome!

Our books

Head First Agile

Head First Agile is a highly visual brain-friendly guide to help you learn important agile concepts and ideas. It covers Scrum, XP, Lean, and Kanban, and it also helps you prepare for the PMI-ACP certification.