![]() |
|
| Home > Best Practices > Information Technology | Search: | for |
|
Six Sigma Software Metrics, Part 2
B Part 1 in this series on software defect metrics discussed Goals 1 and 2, which focused on identifying and removing defects in the development process as close to the point of occurrence as possible (Table 1). This installment looks at predicting defect insertion and removal dynamics early in a project and measuring predicted versus actual defect find rates during each development stage. The next and final installment in the series provides a foundation for understanding the most elusive metrics, defect density measures such as Defects per Million Opportunities (DPMO). Goal 3: Predict Defect Find and Fix Rates During Development and After Release Defect insertion and removal dynamics over the course of a development project are summarized in Figure 1. The left curve illustrates that defect insertion (in the form of ambiguities, misunderstandings, omissions, etc.) begins when the project effort begins, during the earliest stages of the "fuzzy front end." Defects are often tied to the intensity of the effort (e.g. number of people involved, lines of communication, decisions being made, etc.) and the insertion rate usually tracks with that contour. The second curve illustrates that finding and fixing defects most often occurs substantially after the work-product effort. For an organization depending on the final test process to find most defects, this lag can have a negative impact. Activities like peer reviews and inspections find defects closer to their insertion point, shifting the find curve to the left, where the fix times and costs are lower.
The asymmetry in the curves suggests that it takes more time to get done than it did to get engaged. The Rayleigh Model1 is a proven method to predict and track this time-dynamic. The application of the Model to the estimation of project effort is covered in a related article (Six Sigma Meets Project Management, Part 2). Here its use is extended to predict defect find and fix rates. Starting Simple - Using Project History Figure 2 illustrates a case where the project team estimated the size of the new project at about 1,250 Function Points2. Two additional inputs are included, one that assess the organization's Productivity Index3 and one that anticipates schedule compression. These inputs will drive project deadlines. The model computes estimates of duration, effort, and defects as total, pre-release, and released figures.
Applying the most likely scenario, the second line in the figure with a Total Defect estimate of 946, to a scorecard facilitates the next level of detailed predictions (Figure 3), Goals 1 and 2 provided the ability to understand and quantify Phase Containment Effectiveness (PCE), Defect Containment Effectiveness (DCE) and insertion rates. Those numbers take on a predictive value in the scorecard, where they are used to distribute the total defect count across development or iteration steps. Building on the measurements enabled through Goals 1 and 2, project teams can use their growing database of phase containment data to estimate the number of defects expected in each phase of a new project.
The circle in Figure 3 highlights the number of defects expected during the requirements stage. As development progresses the predicted versus actual defect tallies are compared. Cases where the actual is significantly higher than predicted may provide early warning of a problem. Actual tallies that are much less than predicted should prompt an investigation to ensure that leaks in the defect detection methods are not present before determining that the insertion rate was lowered. Defect Time Contouring With The Rayleigh Model Numbers for total effort and total defects are derived from the estimating model (Figure 2). These totals, together with an anticipated time to reach peak estimate are the only quantities needed to compute the Rayleigh curve (Figure 4). For the defect plot, an additional value associated with the estimated lag behind the start of the project effort is needed to account for defect find and fix work.
The pair of curves in Figure 5 illustrates the time-dynamic connection between project Effort and Defects. The Model provides support for fact-based discussions about the impact of changes such as accelerating the project delivery date. For a project under pressure to deliver within 9 months, the Model will clearly display that many defects will still remain. The Model facilitates analysis of the cost of delivering those defects versus the advantages of early delivery. The Model's Cumulative Distribution Function (CDF) supports a more refined discussion of the impact associated with a change in delivery date. This figure describes the Total to Date effort expended or defects found at each interval. Figures 6, 7, and 8 show the Rayleigh CDF formula, chart, and values table respectively.
Figures 7 and 8 provide quantitative, fact-based data to support a discussion on the delivery date. At 12 months the Rayleigh Model indicates the expectation that 96.9% of the defects are found. Moving delivery to 9 months could reduce the total containment effectiveness (TCE) to around 81.6%. An organization about to make that decision is well advised to weigh the benefits of early delivery against the costs associated with released defect repair and possibly, customer loyalty that are involved in that tradeoff. Looking Ahead To Part 3 Goal 4: Compare Implementations Within the Company Goal 5: Benchmark Implementations Across Companies Read Six Sigma Software Metrics, Part 3 » About The Author Footnotes And References
Reproduction Without Permission Is Strictly Prohibited Copyright Requests Publish an Article: Do you have a Six Sigma tip, learning or case study? Share it with the largest community of Six Sigma professionals, and be recognized by your peers. It's a great way to promote your expertise and/or build your resume. Read more about submitting an article. "The Bottom Line" Links
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home | Discussion Forum | Event Calendar | Job Shop | |
| Link To iSixSigma | Rate This Page | Report A Problem | Free Content For Your Site | Submit Article For Publishing | |
| Terms of Service. ©2000-2009 iSixSigma. All rights reserved. v3.0lb, 2.0-A-244 |
About iSixSigma · Contact Us · Privacy Policy · Site Map. |