Six Sigma Quality Resources for Software & Information Technology In association withSix Sigma Advantage, Inc. - Six Sigma Third Wave for Software Development
 Main Site > Software / IT Channel > Best Practices  > Information Technology Search:
 
 for    
Publications
Marketplace
| iSixSigma
Stuff
| iSixSigma
Blogosphere
| Events
Calendar
| The
Dictionary
| Discussion
Forum
| Find
a Job
| Post
a Job
| Industry
News
| Newsletter
Signup
| Sigma
Calculator
| Online
Surveys
2008 Version! DMAIC Training Slides: 1,176 Slides + Instructor Notes and More for $99.99
iSixSigma Magazine Signup
 iSixSigma Live!  
  Summit & Awards
  Most Successful Start-up
  Breakthrough Projects
  Speaker Proposals
 Free Newsletters!  
  Sign Up Now!
  Manage Subscriptions
  New To Six Sigma?
  Six Sigma Q&A
  Cert. Practice Test
  Problem Solving Wizard
  ISSSP Info
ISSSP Is The Official Six Sigma Society of iSixSigma
 Channels 
  iSixSigma Main
  Europe
  Financial Services
  Healthcare
  Military
 Quality Directory 
  Recent Articles
  Certifications/Awards
  Consultants
  Culture Evolution
  Methodologies
  News & Events
  Organizations
  Product/Service Guides
  Statistics & Analysis
  Tools & Templates
  Voice of the Customer
  Free Whitepapers
 Related Topics 
  Innovation
  Outsourcing/Offshoring
  Business Process Mgt
 Quick Access 
  Help
  Search
  Advertise Here
  Article Archives
  Newsletter Archives
 User Feedback 
  Please suggest site
  improvements.
 
  [ larger form ]

Six Sigma Software Metrics, Part 4

Bookmark This Page Bookmark This Page
Email This Page Email This Page
Format for Printing Format for Printing
Cite This Article Cite This Article
Submit an Article Submit an Article
Six Sigma Article Archive Read More Articles
Related Tools & Articles
  • Discussion Forum
    "How do you use Six Sigma in software developement? Is the Six Sigma methodology (DMAIC) the same or has it been altered? What metrics have been used to measure baselines and success?"

    Six Sigma Metrics For Software Development

    B
    New from iSixSigmaGage R&R Excel Template

    Medical Parts Delivery Project Example

    Six Sigma Project Tracking Software Review
    y David L. Hallowell

    This article is the last of four parts. It presents a discussion of Opportunities For Defects (OFD), Defects Per Million Opportunities (DPMO) and Sigma levels. When comparing implementations across companies, using the common language of DPMO and Sigma levels will assist in understanding benchmarking data. Parts one, two and three followed a progression of goals shared by both software development and Six Sigma: 1) Reducing released defects; 2) Finding and fixing defects closer to their point of origin; 3) Predicting and tracking defect appearance and removal rates and repair costs; 4) Comparing implementations within the company; 5) Comparing implementations across companies.

    The Poisson Model
    Some key Six Sigma concepts and terms are built on the Poisson distribution, a math model representing the way discrete events (like defects) are sprinkled throughout physical, logical, or temporal space. Sparse defects typically follow a Poisson distribution, making the model's mapping of defect probability a useful tool. The model predicts the probability of finding zero defects in a unit (or the proportion of a series of units) is e-DPU, sometimes called First Time Yield (FTY). In our example (Equation 1) where DPU = 1, the FTY = about 36.8%. This example will serve as a backdrop for studying the influence of the "area of opportunity" within a unit.

     Equation 1: Poisson Estimate for Zero Defect Case

       P(0 defects) = e-DPU = First Time Yield (FTY)   

    If DPU = 1 Then e-DPU = e-1 = 0.368


    Area of Opportunity
    The Poisson distribution provides a sense of the "area of opportunity" for the events or defects it tracks. When DPU = 1, some units (about 36.8% per Equation 1) are expected to contain zero defects.

    Let's picture the example unit as containing 10 areas of opportunity, each representing a region where a single defect either will or will not be found (Figure 1). For the overall Defect Per Unit (DPU) to reach 1, each of these 10 Opportunities for Defect (OFD) regions must actually contain a defect only 1 time in 10 (p(defect) = 0.1). In other words, the chances that any single OFD is defect free (OK) must be 9 in 10 (p(OK) = 0.9).

     Figure 1: Visualizing a Unit and Opportunities
    Visualizing a Unit and Opportunities

    For the unit to be defect free, all 10 OFDs must be defect free. The concept of joint probability provides that the chances of all 10 independent OFDs being defect free is the product of the probabilities for each one being defect-free. Equation 2 shows that this equates to about 34.9%. It's no accident that this agrees pretty well with the estimate in Equation 1 (36.8%), as the Poisson distribution is built on the basis of simple probability related to individual discrete events.

     Equation 2: OFD-Based Probability Estimate for Zero Defect Case

       P(Defect Free Unit) = 0.9*0.9*0.9*0.9*0.9*0.9*0.9*0.9*0.9*0.9 = 0.349   

    The Poisson FTY estimate will track with the OFD estimate (Equation 2) regardless of the exact number of opportunities. For example, if the OFD count in the example unit where DPU = 1 is not 10 but 100, the chances of each OFD containing a defect is 1/100. The chance of each OFD being defect free is 99/100, creating a defect free unit probability of 0.99100 or about 36.6% - closer still to the Poisson estimate (36.8%).

    Defects Per Million Opportunities (DPMO)
    A meaningful comparison of defect counts for different work products requires some normalization for size. Defects Per Million Opportunities (DPMO) is a special case of that approach, where OFDs are normalized to account for the number of total possible opportunities. For example, before comparing two states with annual divorce rates of 800 and 2,000 you would want to capture the number of total opportunities (e.g., the number of married couples) then normalize the data by dividing each defect by the number of opportunities for divorce. This example illustrates an important principle in OFD counting; opportunities are not the same as possible causes. There are numerous possible causes but unless each one maps to a specific count tally, treating potential causes as OFDs will inflate the count. An inflated OFD estimate waters down a DPMO computation by dividing the defect count by too large a number.

    Calibrating OFD Counts for Software
    So, what is an "opportunity" in a software environment? Let's look again at the released defect benchmarking data previously quoted from the work of Capers Jones (Figure 2). The upper table shows released defects per delivered function point for a sample of project teams at CMM levels 1-5. The upper right corner of that table summarizes a worst-case scenario for a software process, where teams in that group inserted and released about as many defects per function point as are possible. It follows that each function point must contain at least 4.5 opportunities to count defects. For simplicity, the round number of 5 OFD per function point is used going forward for discussion purposes.

    The center table in Figure 2 uses the hypothetical 5 OFD per function point to convert the released defect values to DPMOs.

     Figure 2: One Rationale for Calibrating Software OFDs
    One Rationale for Calibrating Software OFDs

    To understand the bottom half of Figure 2, an overview of the steps used to convert DPMO rates to Sigma levels is necessary.

    Converting DPMO Rates to Sigma Levels
    Sigma level definitions are framed within the presumption of a normal or bell- shaped distribution. For situations where the defect data does not display a normally distributed curve, Sigma levels are still applicable as the conversion is based on a mathematical analogy.

    DPMO represents a defect rate and is illustrated by a specific area under the tail of the Normal curve (Figure 3). In Figure 3, the Specification Limit, which is set by the client, helps identify the defect area. A Sigma Table (also called a Z Table) is used to determine the number of standard deviations from the mean necessary to equal the DPMO defect rate. The smaller the defect rate, the larger the Sigma value or Z score.

     Figure 3: Any Defect Rate Has A Normal Distribution Analog
    Any Defect Rate Has A Normal Distribution Analog

    1.5 Sigma Shift
    When monitoring and controlling a process there is almost never the ability to capture and measure all output data. Instead, sampling and some form of Statistical Process Control (SPC) are used to represent the total population. The concept of a 1.5 sigma shift was created by the founders of the Six Sigma methodology and is built on the mathematical calculations associated with SPC.

    The object of the shift is to standardize a common SPC scenario where sample averages from subgroups of size 4 are periodically drawn and plotted from a stream of process data. SPC control limits, typically set at +/- 3 standard deviations, are one trigger used to decide whether or not the process is allowed to keep running. When the subgroup size equals 4, these control limits represent +/- 1.5 standard deviations of the individual process data points. Figure 4 illustrates that case.

     Figure 4: A Process Under SPC, Subgroup Size = 4
    A Process Under SPC, Subgroup Size = 4

    Analyzing a process at any given time presents one of the following:

    1. A best-case where the process mean is on center
    2. A worst-case where the process mean has shifted 1.5 Sigma
    Typically, defect data collection presumes worst-case conditions (a shifted process) requiring an addition of 1.5 to the Sigma level. When translating a Sigma level to a defect rate, assume a worst-case condition and subtract 1.5 to estimate the defect rate for the shifted case.

    Checking Sigma Levels for Software Benchmark Data
    The lower part of Figure 2 provides calculations of Sigma levels using the DPMO analogy and 1.5 Sigma shift. Under the calibrating assumption of 5 OFDs per function point, the average Sigma level benchmarks in the lower table run from about 2.5 to 3.5, a reasonable range.

    Table 1 illustrates how the goals of this series "start simple" with the fundamental need to reduce released defects, progressing to more sophisticated goals found in this final article of the series. Each goal builds on prior work and understanding.

     Table 1: Software Organization Goals Versus Processes And Metrics
     Six Sigma Goal Required Processes Enabled Processes Metrics
    1. Reduce Released DefectsUnit/Integration/System TestPre-release vs. Post-release Defect TalliesTotal Containment Effectiveness (TCE)
    Focus defect fix/removal workOperational definitions for classifying Defects
    Problem-solving knowledge-base
    Basic causal analysisDefect stratification by type

    Poisson Modeling for defect clustering
     (Optional) Define the "Unit" for work-products deliveredYield assessments for work-product units delivered

    Yield predictions for work-product units planned
    Total Defects per Unit (TDU)

    Rolled Throughput Yield (RTY)
    2. Find and Fix Defects Closer to Their OriginUpstream Defect Detection Process (Inspections)Defect Insertion rates and Defect Find Rates for phases or other segments of work breakdown structure (WBS)Phase Containment Effectiveness (PCE) and Defect Containment Effectiveness (DCE)
    Gather data necessary for process monitoring and improvementDefect Sourcing ProcessImproved causal analysisDefects per Unit (DPU) for phases or other segments of WBS, contributions to TDU
    3. Predict Defect Find and Fix Rates During Development and After ReleaseRayleigh or other time-dynamic modeling of defect insertion and repair

    Defect Estimating Model - calibrated to the history and current state in our process
    Given data on defects found during upstream development or WBS stages, predict defect find rates downstream.

    Predicted total defects for an upcoming project of specified size and complexity
    Best fit Rayleigh Model

    Predictive Rayleigh Model
    4. Compare Implementations Within the CompanyCompany's choice of appropriate normalizing factors(LOC, FP, etc) to convert defect counts into meaningful defect densitiesDefect Density comparing groups, sites, code-bases, etc. within the companyDefects / Function Point Defects per KLOC
    5. Benchmark Implementations Across CompaniesDefine Opportunities for counting defects in a way that is consistent within the company and any companies being benchmarkedDefect Density comparing performance with other companies (and, if applicable, other industries)DPMO
    Sigma Level
    Cpk
    z-score

    Invitation to Dialogue
    The hope is that this discussion was instructive about Six Sigma concepts and the considerations involved in opportunity counting and Sigma levels. While our limited benchmark sample can't argue for the broad applicability of the OFD calibration it should provide a starting point for further discussion. The author, and iSixSigma invite dialogue and other benchmark checks on the reference points presented here.

    About The Author
    David L. Hallowell is a Managing Partner of Six Sigma Advantage, Inc. and has 20+ years experience as an engineer, manager and Master Black Belt. As Digital’s representative to Motorola’s Six Sigma Research Institute he worked on the original courseware for Black Belts and the application of Six Sigma to software. Mr. Hallowell has supported Six Sigma deployments and trained many Black Belts and trainers worldwide.

    With a special focus on Design for Six Sigma, he has led development teams to breakthrough improvements in the concept development and design of a number of commercial products. Mr. Hallowell has patents and publications in the area of microelectronics packaging and high speed interconnect. He has authored courses in Software DFSS, Design of Experiments, C++ , and Computational Intelligence Tools. He is a co-founder of Six Sigma Advantage Inc., where he co-authored the Black Belt, Green Belt, and Foundation curriculum. He can be reached via email at dhallowell@6siga.com.

     
    Rate This Article:  Current Rating: 4.48
      Poor    Excellent     
              1    2    3     4    5
    Copyright © 2000-2008 iSixSigma – All Rights Reserved
    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.


    Download the iSixSigma Toolbar for 1-Click access. Search Your Way. Everyday. Without Delay.
    Get 1-Click iSixSigma access. Search Your Way. Everyday. Without Delay.

    BEST SELLING PRODUCTS (iSixSigma Publications)
    1. 2008 VERSION! Six Sigma DMAIC Training Slides
      The complete Lean Six Sigma DMAIC course prepares participants to perform the role of a LSS Black Belt; covering what’s ...
    2. NEW VERSION! Process Management Training Slides
      The OSSS Process Management course is designed in two phases comprised of:352 Powerpoint slidesInstructor notesSlide exp...
    3. Certified Lean Six Sigma Black Belt Assessment Exam
      Interested in assessing your knowledge of Lean Six Sigma? Preparing for certifications? Testing your students and traine...
    4. Gage R&R Excel Template
      Gage Repeatability and Reproducibility (R&R) studies measure the amount of measurement variation that is attributabl...
    5. E6 Sigma DMAIC EZ: Black Belt for Service
      E6 Sigma is THE Six Sigma Holy Grail. The first-ever Six Sigma training and implementation software, REAL Six Sigma is a...
    6. NEW VERSION! Six Sigma Black Belt (DMAIC) Training Slides
      The OSSS Six Sigma Black Belt course is comprised of: 1,176 PowerPoint slides, Instructor notes, Slide explanations, 37 ...
    7. FMEA Excel Template
      Need to be more preventative, prioritize risks, or brainstorm possible failures in a process or product? Use the FMEA to...
     

    Six Sigma AdLinks
    Improve IT Projects With Six Sigma. Villanova University.
    iSixSigma Live! Save up to $700
    Lean Office, Lean IT/IS. Act Now and Save.



    Google AdWords
     
    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-2008 iSixSigma. All rights reserved. v3.0lb, 3.6-A-244
    About iSixSigma · Contact Us · Privacy Policy · Site Map
    nogeo