Investing in Software Testing: The Cost of Software Quality



Similar documents
Investing in Software Testing: Manual or Automated?

Component Outsourcing, Quality Risks, and Testing: Factors and Strategies for Project Managers

Quality Cost Analysis: Benefits and Risks

The 10 Most Costly Mistakes You Can Make When Selling Your Home

should you invest while you re in debt? GETTING STARTED

White. Paper COST JUSTIFICATION OF AN AUTOMATED DATA COLLECTION SYSTEM

Quality Meets the CEO

English as a Second Language Podcast ESL Podcast 307 Cable and Satellite TV

COLLEGE. Going from high school to college. Getting Ready for College CHAPTER 1. Getting organized

The Proven ROI of Development Testing: An in-depth analysis of Coverity customer experiences

How to Meet EDI Compliance with Cloud ERP

WHITE PAPER. Using ROI to Make the Business Case for Training. Authors: Ray Halagera President, The Profit Ability Group

Building the business case for ITAM

THE WEBSITE REDESIGN THAT S HURTING YOUR BUSINESS

How To Measure Quality

Should I submit a claim or not? How do you know whether or not you should bother submitting an Insurance Claim?

Security Testing. The Magazine for Professional Testers. June, 2009

THEME: VALUING GOODWILL

Defining Test Mission, Policy, and Metrics of Success

Testing Introduction. IEEE Definitions

Evaluating the Cost of Software Quality

top tips to help you save on travel and expenses

CUT COSTS, NOT PROJECTS

Applied Software Project Management

Leverage Your Customer Experience In Growing The Top Line Cheaply By John Goodman

Automation can dramatically increase product quality, leading to lower field service, product support and

Mistakes Companies make when Outsourcing

TEACHING YOUR TEEN ABOUT MONEY

Seven Things You Must Know Before Hiring a Plumber

How Do I Find. the Right CRM. for My Business? a guide by

INVENTORY MANAGEMENT: ANALYZING INVENTORY TO MAXIMIZE PROFITABILITY

Software Engineering Compiled By: Roshani Ghimire Page 1

Whole Life Insurance is not A Retirement Plan

Time is Money: Justifying the Switch to Automated Time Collection

DRUPAL WEBSITE PLATFORM BUYER S GUIDE

going to take to town. On the way to the village, Mr. Norton joined Mr. Bates. I thought I would walk with you to town. I have some business I need

Four Steps to Reduce Your Debt

usbank.com PARTICIPANT S GUIDE The Budget Zone Saving for Spring Break Without Breaking The Bank

TALKING POINTS COLLEGE STUDENTS PRESENTED BY JEAN CHATZKY AND PASS FROM AMERICAN EXPRESS SM

Monitoring, Managing, Remediating

Chapter 8: Project Quality Management

AP 571 PURCHASING CARD COMMERCIAL CREDIT CARD PROGRAM

ONE DOLLAR AND EIGHTY-SEVEN CENTS.

GENERATING VALUE WITH CONTINUOUS SECURITY TESTING

Building a Winning Business Case for Telecom Expense Management (TEM)

Whitepaper. The future of. Expense management. Issued January remarkable findings. Powered by:

The Numbers Count Using Metrics to Prove the Value of HR

International Software Test Institute

How Cisco IT Reduced Costs Through PC Asset Management

WELL-MANAGED LIFT TRUCK FLEETS INCREASE PRODUCTIVITY, REDUCE COSTS

Starting a new Oil Analysis Program Burden or Benefit?

Reducing Customer Churn

Seven Things You Must Know Before Hiring a Real Estate Agent

Econ 80H: Introduction

Evaluating Software Alternatives. Chapter 4 Methods of Software Acquisition. Advantages of Custom Developed Software. Custom Developed Software

7 Habits of Highly Successful Property Investors

Installed v. Hosted Database Management: The True Costs How Does ROI Solutions Compare?

Business White Paper. Multichannel ROI. March, 2011 Todd Samalin Sales Engineer

Keys To Unlocking Your Web Marketing Genius. Increase Customer Retention by Analyzing Visitor Segments. By Jim Novo. Based on WebTrends TAKE 10 Series

Why do we need Fundraising Software?

Selecting Enterprise Software

Software Project Management Matrics. Complied by Heng Sovannarith

Why Test Automation Fails

The Top FIVE Metrics. For Revenue Generation Marketers

Test Automation: A Project Management Perspective

10 Steps to Financial Freedom in Your Twenties and Thirties

Software Testing. Knowledge Base. Rajat Kumar Bal. Introduction

Is Cloud ERP Really Cheaper?

Seven Things You Must Know Before Hiring a Real Estate Agent

If you re in the early stages of pricing out a phone upgrade for. your business, determining ballpark pricing can seem difficult or

Selling Agile to the CFO: A Guide for Development Teams

When Toyota met e-commerce: Lean at Amazon

How much money do you spend every week?

MAXIMIZING ROI FOR YOUR FIELD SERVICE MOBILITY SOLUTION

Implementing ERP in Small and Mid-Size Companies

Quick Preview PROPERTY DAMAGE

How To Make A Successful Product From A Successful Recipe Card

A Professional Law Corporation 419 S. State Street, Suite A-100 Jackson, Mississippi (601)

Deciding whether to purchase a tool or develop it in-house. by Elisabeth Hendrickson

Five Testing Best Practices And How These Practices Can Help You

Integrating Travel Into Your Expense Management. Introducing TripLink

PNC is a registered mark of The PNC Financial Services Group, Inc.( PNC ) 2013 The PNC Financial Services Group, Inc. All rights reserved.

Enterprise Class SSD: A Business Benefit Analysis

Maximize Software Development ROI With Quality Assurance. Showing the value of the Quality Process

DRIVING THE RETURN ON INVESTMENT (ROI) OF VIDEOCONFERENCING

21 Tax Saving Tips Tax & Accounts

Benchmarking Software Quality With Applied Cost of Quality

The cost of a poor credit rating

CONTINUOUS INTEGRATION

The Business Benefits of Measuring Return on Investment for Business Intelligence Implementations

Accounting Basics: The Income Statement & Key Performance Indicators

ZCorum s Ask a Broadband Expert Series:

Useful Automated Software Testing Metrics

Automating Your Sales Performance Build or Buy?

SELECTING ECOMMERCE WEB HOSTING & SUPPORT

Preface Agile Testing Review

True Cost of Tape Backup

Your Guide to. Buying a Home. Part 4: Before You Move In. Seide Realty (352)

Reputation Management for Local Businesses: Protect Your Image

ISTQB Certified Tester. Foundation Level. Sample Exam 1

Transcription:

Abstract Investing in Software Testing: The Cost of Software Quality Testing can be considered an investment. A software organization whether an in-house IT shop, market-driven shrink-wrap software vendor, or Internet ASP chooses to forego spending money on new projects or additional features to fund the test team. What s the return on that investment (ROI)? Cost of quality analysis provides one way to quantify ROI. Introduction The process of negotiating a software testing budget can be painful. Some project managers view testing as a necessary evil that occurs at the end of the project. In these people s minds, testing costs too much, takes too long, doesn t help them build the product, and can create hostility between the test team and the rest of the development organization. No wonder people who view testing this way spend as little as possible on it. Other project managers, though, are inclined to spend more on testing. Why? Smart software managers understand that testing is an investment in quality. Out of the overall project budget, the project managers set aside some money for assessing the system and resolving the bugs that the testers find. Smart test managers have learned how to manage that investment wisely. In such circumstances, the test investment produces a positive return, fits within the overall project schedule, has quantifiable findings, and is seen as a definite contributor to the project. (For some ideas on helping to make your managers and yourself smarter see James Bullock s article, Calculating the Value of Testing, and Rob Sabourin s article, At Your Service, both available here at www.stickyminds.com.) What Does Quality Cost? The title of Phil Crosby s book says it all: Quality Is Free. Why is quality free? Like Crosby and J.M. Juran, Jim Campenella, in Principles of Quality Costs, illustrates a technique of analyzing the costs of quality start by breaking down these costs as follows: C quality =C conformance +C nonconformance Conformance costs include prevention costs and appraisal costs. Prevention costs include money spent on quality assurance tasks like training, requirements and code reviews, and other activities that promote good software. Appraisal costs include money spent on planning test activities, developing test cases and data, and executing those test cases once. Nonconformance costs come in two flavors, internal failures and external failures. The costs of internal failure include all expenses that arise when test cases fail

the first time they re run, as they often do. A programmer incurs a cost of internal failure while debugging problems found during her own unit and component testing. Once we get into formal testing in an independent test team, the costs of internal failure increase. Think through the process: The tester researches and reports the failure, the programmer finds and fixes the fault, the release engineer produces a new release, the system administration team installs that release in the test environment, and the tester retests the new release to confirm the fix and to check for regression. The costs of external failure are those incurred when, rather than a tester finding a bug, the customer does. These costs will be even higher than those associated with either kind of internal failure, programmer-found or tester-found. In these cases, not only does the same process described for tester-found bugs occur, but you also incur the technical support overhead and the more expensive process of releasing a fix to the field rather than to the test lab. In addition, consider the intangible costs: Angry customers, damage to the company image, lost business, and maybe even lawsuits. Two observations lay the foundation for the enlightened view of testing as an investment. First, like any cost equation in business, we will want to minimize the cost of quality. Second, while it is often cheaper to prevent problems than to repair them, if we must repair problems, internal failures cost less than external failures. A Hypothetical Case Study Let s use a hypothetical case study to illustrate the use of this cost of quality technique to analyze return on the testing investment. Suppose we have a software product in the field, with one new release every quarter. On average, each release contains 1,000 must-fix bugs unacceptable defects which we identify and repair over the life of the release. Currently, developers find and fix 250 of those bugs during development, while the customers find the rest. Suppose that you have analyzed the costs of internal and external failure. Bugs found by programmers costs $10 to fix. Bugs found by customers cost $1,000 to fix. As shown in the No Formal Testing column in Figure 1, our cost of quality is three-quarters of a million dollars. It s not like this $750,000 expenditure is buying us anything, either. Given that 750 bugs escape to the field, it s a safe bet that customers are mad! Suppose we calculate that bugs found by testers would cost $100 to fix. This is one-tenth what a bug costs if it escapes to our customers. So, we invest $70,000 per quarterly release in a manual testing process. The Manual Testing column shows how profitable this investment is. The testers find 350 bugs before the release, which cuts almost in half the number of bugs found by customers. This certainly will make the customers happier. This process improvement will also make the Chief Financial Officer happier, too: Our total cost of quality has

dropped to about half a million dollars and we enjoy a nice fat 350% return on our $70,000 investment. In some cases, we can do even better. For example, suppose that we invest $150,000 in test automation tools. Let s assume we intend to recapture a return on that investment across the next twelve quarterly releases. Would we be happy if that investment in test automation helped us find about 40% more bugs? Finding 500 bugs in the test process would lower the overall customer bug find count for each release to 250. Certainly, customers would be much happier to have the more-thoroughly tested system. In addition, cost of quality would fall to a little under $400,000, a 445% return on investment. Figure 1: Using Cost of Quality to Analyze Return on Investment

This is a huge improvement over the initial situation. We are realizing a quantifiable and substantial return on our testing investment. We are also making our customers happier. Is This For Real and How Do We Get There? Cost of quality analyses on software process improvement bear out these figures. In Principles of Quality Costs, Campenella presents a case study from Raytheon that describes reductions in the cost of software quality from a whopping seventy percent of the total production cost to twenty to thirty percent. To put these percentages in more concrete terms, suppose you currently develop, deploy, and support systems at an average cost of $1,000,000 each. Reductions in the cost of software quality like Raytheon achieved would reduce this average cost to around $500,000. Can your organization use an extra $500,000 per system? While testing is only part of the investment in quality, it is an important part. Certainly a substantial investment is justifiable to achieve such phenomenal gains. To get started, you ll need a management team wise enough to look at the cost of quality over the entire life of the software release. A management team that ignores the long term and focuses just on the budget required to get the software out the door initially does not see testing as an investment. Quality is given lipservice when the only priorities are shipping something anything on a given schedule and within a given budget. You ll also want to get a better grip on what quality actually costs your organization. As Crosby points out in Quality Is Free, most organizations that haven t looked at quality costs carefully significantly underestimate those costs. Campenella describes rigorous accounting techniques in Principles of Quality Costs. However, first-order estimates provided you are conservative can be used to build a solid, credible business case. Ask programmers, technical support personnel, testers, business analysts, and managers (development, technical support, help desk, IT, sales, and marketing) what percentage of their time they spend dealing with each kind of failure, internal and external. To turn these percentages into dollars or euros, or pounds, or yen, or whatever figure out what a staff-hour costs in your organization. For example, $100 per hour is typical in the United States for technical organizations, including costs like health insurance, facilities, and other overheads beyond just salary. Add in other costs as appropriate. For example, in one company I talked to, their response to field failures was to fly a programmer to the client s site, along with sufficient tools to fix the bug, and keep him there until the problem was fixed, which was typically about a week. Last minute airfare, hotel costs, meals, and car rental added about $2,000 to the $4,000 cost associated with the programmer s lost time. (For additional ideas on doing this analysis, see my book, Managing the Testing Process, Second Edition, Mark Fewster and Dorothy Graham s book, Software Test Automation, or Johanna Rothman s web site, www.jrothman.com.) Your management team will probably be surprised at what quality costs your organization right now, and how little value it s getting from that expenditure.

However, having supportive, far-sighted management is only a necessary not a sufficient condition for achieving positive returns on your test investment. Just as in the stock market, there are right and wrong ways to invest. Picking the right tests, managing the appropriate quality risks, using the proper tools and techniques, and driving testing throughout the organization will result in optimal returns, while failure in any one of these areas can mean disappointing or even negative returns. In the next few columns, I ll explore each of these topics. Author Biography Rex Black is President and Principal Consultant of RBCS, Inc. (www.rexblackconsulting.com), a consultancy that provides testing experts world-wide, serving clients such as Bank One, Cisco, Hitachi, IMG, and Schlumberger in consulting, training, and hands-on implementation. He s written Managing the Testing Process, Critical Testing Processes, and numerous articles, along with presenting papers and keynote speeches at international conferences. Bibliography R. Black, Managing the Testing Process, Second Edition. Wiley, New York, 2002. J. Bullock, Calculating the Value of Testing, Software Testing and Quality Engineering, Volume 2, Issue 3, 56-62 (May/June, 2000). P. Crosby, Quality is Free. McGraw-Hill, New York, 1979. J. Campanella, ed., Principles of Quality Costs. ASQ Quality Press, Milwaukee, 1999. M. Fewster and D. Graham, Software Test Automation. Harlow, Addison-Wesley, 1999. S. Kan, Metrics and Models in Software Quality Engineering. Addison-Wesley, Reading, 1995.