SlideShare a Scribd company logo
1 of 17
Download to read offline
OVERVIEW
• Describes an on-going engagement to expand a measurement process within a
commercial organization
• Large international company involved in commercial software-intensive systems
development
• Explore how to provide measurement guidance in environments where there is no
realistic/practical executive commitment to quantitative understanding of
business performance
ABOUT DISTRIBUTIVE
• Involved in Measurement since 1996, primarily servicing high maturity
customers (with 95% at CMMI level 3 and higher)
• Market, sell and support the DataDrill measurement tool for collection,
storage, analysis and reporting
• DataDrill currently in use at over 300 sites in US, Europe and Asia
• Distributive has privilege of working to implement or expand measurement
processes in environments using advanced practices
GOALS
At the Program Level
• Provide a defect discovery estimate that can be used as a target/goal for
monitoring testing activities after design
• Replace the current trending calculation that is overly complex, trying to
compensate for not being accurate during most of the phases
At the Feature Level
• Develop a method to estimate defect discovery by activity
In the Company Culture
Demonstrate that measurement can provide useful information which encourages:
1) Executive to commit to quantitative management
2) first and second line managers to participate in minor process changes
CULTURE
There is a great deal of project resistance to changing the planning and management of
testing activities, which leads to …
If measurement is so great, then set it up and show me, which is difficult because …
There is no historical data, further compounded by …
The project won’t change to provide much required data , which leads to …
My approach was to demonstrate that defect discovery prediction (themselves) doesn’t
take much time and is more effective than a 3 week trend line.
AVAILABLE DATA
About six and half years worth of data
Spans 3 builds (A, B and C)
Defects found during unit test and later activities
Roughly 5500 total defects
Classified by:
 Build
 Feature
 Discovery date
 Priority
 Activity Where Discovered
PROGRAM LEVEL DEFECT DISCOVERY
Converted the defect discovery numbers to a percent of total and plotted by activity
Defect discovery by activity exhibited nice similar shape
PROGRAM LEVEL DEFECT DISCOVERY
• Grouped the 9 activities into four phases:
1. Design and development testing
2. Unit testing
3. Integration and system testing
4. Acceptance testing
• Plotted the defects per phase as a percent of total.
• Preliminary fit of Weibull shown at right
PROGRAM LEVEL DEFECT DISCOVERY
• Plot discovery per phase by build
• Fit to a Weibull distribution (with good results)
• Compared four phase data to a published commercial study (Infosys published a
CMMI Level 5 company
PROGRAM LEVEL
Next Steps
• Move backwards into development and design activities
• Start collecting and reviewing (the very sparse) software size and
feature/program characteristics to continue with defect prediction … not sure how
many “X” are going to be available
• As of today, have collected about 18 months of detailed staff, cost and schedule
data so we can start tuning parametric estimation model
• Planning to use Schedule Risk Analysis for presenting schedule delivery risk to
augment existing schedule measures
FEATURE LEVEL
Feature represents a lower level than program, where there are a small number of
features (typically less than 25) in a build.
Across the three builds, there were roughly 45 features developed which followed 9
testing activities in the 4 phases
Current feature level planning is not formal. Primary drivers are:
• All features development and unit testing be completed before program starts
integration test activities
• Program can track to a “pencils down” event at end of acceptance test
FEATURE LEVEL
My suggestion was to use a belief network to accommodate the drivers of defects and
the effectiveness of the testing activities trying to remove them
For example, if an early activity finds “fewer” defects, then instead of assuming the
feature has high quality, it assumes that testing quality was low and the latent
defects will be higher.
Design process
quality
Feature
complexity
Testing quality
Operational
Usage
Defects inserted
Defects Found
& Fixed
Latent
Defects
Defects
In Use
Belief network is based on approach published by Fenton, Neil and Marquez in 2007.
FEATURE LEVEL
For better precision, a single node can be decomposed into a sub-network which
provides more granularity when needed.
Belief network is based on approach published by Fenton, Neil and Marquez in 2007.
Design process
quality
Feature
complexity
Testing quality
Operational
Usage
Defects inserted
Defects Found
& Fixed
Latent
Defects
Defects
In Use
Design
process quality
Feature
complexity
Testing quality
Operational
Usage
Defects
inserted
Defects Found
& Fixed
Latent
Defects
Defects
In Use
FEATURE LEVEL
• Started building distributions for three nodes in top part of the network based on analysis of
defects by feature.
• Validate the network by comparing the forward direction with feature defect counts
• Only have the top-half data to validate
• Distribution values are defects per 1 KSLOC
Design Process Quality
Low Medium High
4 2 1
Feature Complexity **
Low Medium High
0.5 1 3
** Preliminary.
Testing Quality
Low Medium High
0.3 0.8 1.7
Example:
For Build 1 -Feature 1,
Predicts 252 defects
Found 277 defects
FEATURE LEVEL
Not yet finished analyzing all feature data for the distributions, validating or adjusting
the network
One benefit is that the network model is constructed quickly for sparse sets of data
and as accurate as available data
One side effect of the belief network is to get managers to start discussing the
effectiveness of their sub-processes without the feeling that “Hey this is process
improvement!”
Also, the network provides a flexible method for accommodating unique process or
work products through the use of new nodes and edges without changing the
model for existing, validated models
CONTACT ME
Peter BAXTER
pbaxter@distributive.com
Distributive Management
Fredericksburg, Virginia 22408
540-891-8811 / 8885 fax
www.distributive.com

More Related Content

What's hot

Methodology Patterns (Agile Cambridge 2014)
Methodology Patterns (Agile Cambridge 2014)Methodology Patterns (Agile Cambridge 2014)
Methodology Patterns (Agile Cambridge 2014)Giovanni Asproni
 
Unit iv-testing-pune-university-sres-coe
Unit iv-testing-pune-university-sres-coeUnit iv-testing-pune-university-sres-coe
Unit iv-testing-pune-university-sres-coeHitesh Mohapatra
 
Testing metrics
Testing metricsTesting metrics
Testing metricsprats12345
 
Rals freedom project management methodologies training
Rals freedom project management methodologies trainingRals freedom project management methodologies training
Rals freedom project management methodologies trainingfrankdrake
 
Software effort estimation
Software effort estimationSoftware effort estimation
Software effort estimationtumetr1
 
Mining Performance Regression Testing Repositories for Automated Performance ...
Mining Performance Regression Testing Repositories for Automated Performance ...Mining Performance Regression Testing Repositories for Automated Performance ...
Mining Performance Regression Testing Repositories for Automated Performance ...SAIL_QU
 
Regulated Software Testing - Griffin Jones - TISQA 2014
Regulated Software Testing  - Griffin Jones - TISQA 2014Regulated Software Testing  - Griffin Jones - TISQA 2014
Regulated Software Testing - Griffin Jones - TISQA 2014Griffin Jones
 
Automated visual-regression-testing (1)
Automated visual-regression-testing (1)Automated visual-regression-testing (1)
Automated visual-regression-testing (1)Sriram Angajala
 
Advanced Web Development in PHP - Understanding Project Development Methodolo...
Advanced Web Development in PHP - Understanding Project Development Methodolo...Advanced Web Development in PHP - Understanding Project Development Methodolo...
Advanced Web Development in PHP - Understanding Project Development Methodolo...Rasan Samarasinghe
 
Lecture3
Lecture3Lecture3
Lecture3soloeng
 
Automation in the Bug Flow - Machine Learning for Triaging and Tracing
Automation in the Bug Flow - Machine Learning for Triaging and TracingAutomation in the Bug Flow - Machine Learning for Triaging and Tracing
Automation in the Bug Flow - Machine Learning for Triaging and TracingMarkus Borg
 
Digital Test Analytics
Digital Test AnalyticsDigital Test Analytics
Digital Test AnalyticsExperitest
 
Shorten Business Life Cycle Using DevOps
Shorten Business Life Cycle Using DevOpsShorten Business Life Cycle Using DevOps
Shorten Business Life Cycle Using DevOpsPerfecto Mobile
 
RQM in scrum agile testing - Raj kumar
RQM in scrum agile testing - Raj kumarRQM in scrum agile testing - Raj kumar
RQM in scrum agile testing - Raj kumarRoopa Nadkarni
 

What's hot (20)

[Vu Van Nguyen] Test Estimation in Practice
[Vu Van Nguyen]  Test Estimation in Practice[Vu Van Nguyen]  Test Estimation in Practice
[Vu Van Nguyen] Test Estimation in Practice
 
Methodology Patterns (Agile Cambridge 2014)
Methodology Patterns (Agile Cambridge 2014)Methodology Patterns (Agile Cambridge 2014)
Methodology Patterns (Agile Cambridge 2014)
 
Unit iv-testing-pune-university-sres-coe
Unit iv-testing-pune-university-sres-coeUnit iv-testing-pune-university-sres-coe
Unit iv-testing-pune-university-sres-coe
 
Testing metrics
Testing metricsTesting metrics
Testing metrics
 
Software Metrics
Software MetricsSoftware Metrics
Software Metrics
 
Rals freedom project management methodologies training
Rals freedom project management methodologies trainingRals freedom project management methodologies training
Rals freedom project management methodologies training
 
Software effort estimation
Software effort estimationSoftware effort estimation
Software effort estimation
 
Mining Performance Regression Testing Repositories for Automated Performance ...
Mining Performance Regression Testing Repositories for Automated Performance ...Mining Performance Regression Testing Repositories for Automated Performance ...
Mining Performance Regression Testing Repositories for Automated Performance ...
 
Regulated Software Testing - Griffin Jones - TISQA 2014
Regulated Software Testing  - Griffin Jones - TISQA 2014Regulated Software Testing  - Griffin Jones - TISQA 2014
Regulated Software Testing - Griffin Jones - TISQA 2014
 
Hello
HelloHello
Hello
 
Automated visual-regression-testing (1)
Automated visual-regression-testing (1)Automated visual-regression-testing (1)
Automated visual-regression-testing (1)
 
Advanced Web Development in PHP - Understanding Project Development Methodolo...
Advanced Web Development in PHP - Understanding Project Development Methodolo...Advanced Web Development in PHP - Understanding Project Development Methodolo...
Advanced Web Development in PHP - Understanding Project Development Methodolo...
 
Software metrics
Software metricsSoftware metrics
Software metrics
 
Lecture3
Lecture3Lecture3
Lecture3
 
Automation in the Bug Flow - Machine Learning for Triaging and Tracing
Automation in the Bug Flow - Machine Learning for Triaging and TracingAutomation in the Bug Flow - Machine Learning for Triaging and Tracing
Automation in the Bug Flow - Machine Learning for Triaging and Tracing
 
Digital Test Analytics
Digital Test AnalyticsDigital Test Analytics
Digital Test Analytics
 
Shorten Business Life Cycle Using DevOps
Shorten Business Life Cycle Using DevOpsShorten Business Life Cycle Using DevOps
Shorten Business Life Cycle Using DevOps
 
Devops
DevopsDevops
Devops
 
RQM in scrum agile testing - Raj kumar
RQM in scrum agile testing - Raj kumarRQM in scrum agile testing - Raj kumar
RQM in scrum agile testing - Raj kumar
 
Testing
TestingTesting
Testing
 

Viewers also liked

Portfolio project. nelson
Portfolio project. nelsonPortfolio project. nelson
Portfolio project. nelsonKelsey Nelson
 
Sintesi tesi laurea e libro psicologia dei cammini sacri - clemente fiora
Sintesi tesi laurea e libro   psicologia dei cammini sacri - clemente fioraSintesi tesi laurea e libro   psicologia dei cammini sacri - clemente fiora
Sintesi tesi laurea e libro psicologia dei cammini sacri - clemente fioraGianni Clemente
 
Criterios diagnósticos para la dislexia en el dsm
Criterios diagnósticos para la dislexia en el dsmCriterios diagnósticos para la dislexia en el dsm
Criterios diagnósticos para la dislexia en el dsmAleja Quelal
 
Teletrabajo en la administración pública
Teletrabajo en la administración públicaTeletrabajo en la administración pública
Teletrabajo en la administración públicacesaryufra22
 
Sejarah dan perkembangan ekonomi syariah
Sejarah dan perkembangan ekonomi syariahSejarah dan perkembangan ekonomi syariah
Sejarah dan perkembangan ekonomi syariahSarah Mardiana
 
Cerebro, conciencia y comunicación
Cerebro, conciencia y comunicaciónCerebro, conciencia y comunicación
Cerebro, conciencia y comunicaciónhectortorreslima
 

Viewers also liked (14)

Trabajo3.anaq
Trabajo3.anaqTrabajo3.anaq
Trabajo3.anaq
 
Portfolio project. nelson
Portfolio project. nelsonPortfolio project. nelson
Portfolio project. nelson
 
Act1 lnra
Act1 lnraAct1 lnra
Act1 lnra
 
Sintesi tesi laurea e libro psicologia dei cammini sacri - clemente fiora
Sintesi tesi laurea e libro   psicologia dei cammini sacri - clemente fioraSintesi tesi laurea e libro   psicologia dei cammini sacri - clemente fiora
Sintesi tesi laurea e libro psicologia dei cammini sacri - clemente fiora
 
Sistema de conver. binario
Sistema de conver. binarioSistema de conver. binario
Sistema de conver. binario
 
Portafolio de Influencias
Portafolio de InfluenciasPortafolio de Influencias
Portafolio de Influencias
 
Introducción
IntroducciónIntroducción
Introducción
 
Criterios diagnósticos para la dislexia en el dsm
Criterios diagnósticos para la dislexia en el dsmCriterios diagnósticos para la dislexia en el dsm
Criterios diagnósticos para la dislexia en el dsm
 
Teletrabajo en la administración pública
Teletrabajo en la administración públicaTeletrabajo en la administración pública
Teletrabajo en la administración pública
 
Sejarah dan perkembangan ekonomi syariah
Sejarah dan perkembangan ekonomi syariahSejarah dan perkembangan ekonomi syariah
Sejarah dan perkembangan ekonomi syariah
 
презентація2
презентація2презентація2
презентація2
 
La Presentacion de Durero
La Presentacion de DureroLa Presentacion de Durero
La Presentacion de Durero
 
Cerebro, conciencia y comunicación
Cerebro, conciencia y comunicaciónCerebro, conciencia y comunicación
Cerebro, conciencia y comunicación
 
Avances analticos
Avances analticosAvances analticos
Avances analticos
 

Similar to DefectmodelsinSparseenvironments

Improving Validation Activities
Improving Validation ActivitiesImproving Validation Activities
Improving Validation ActivitiesHassan Aftab
 
agri-commerce hub project-documentation report.pptx
agri-commerce hub project-documentation report.pptxagri-commerce hub project-documentation report.pptx
agri-commerce hub project-documentation report.pptxMuhweziAmon4
 
Creating Functional Testing Strategy.pptx
Creating Functional Testing Strategy.pptxCreating Functional Testing Strategy.pptx
Creating Functional Testing Strategy.pptxMohit Rajvanshi
 
Software test management
Software test managementSoftware test management
Software test managementVishad Garg
 
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".Emerasoft, solutions to collaborate
 
Does dev ops need continuous testing devops days des moines 2018 v1
Does dev ops need continuous testing devops days des moines 2018 v1Does dev ops need continuous testing devops days des moines 2018 v1
Does dev ops need continuous testing devops days des moines 2018 v1GerieOwen
 
Assure TotalView - Analytics for Application Delivery
Assure TotalView - Analytics for Application DeliveryAssure TotalView - Analytics for Application Delivery
Assure TotalView - Analytics for Application DeliveryAssure
 
Quantifying DevOps Adoption Empirically for Demonstrable ROI
Quantifying DevOps Adoption Empirically for Demonstrable ROIQuantifying DevOps Adoption Empirically for Demonstrable ROI
Quantifying DevOps Adoption Empirically for Demonstrable ROIDevOps for Enterprise Systems
 
Pressman ch-22-process-and-project-metrics
Pressman ch-22-process-and-project-metricsPressman ch-22-process-and-project-metrics
Pressman ch-22-process-and-project-metricsSeema Kamble
 
Test Planning and Test Estimation Techniques
Test Planning and Test Estimation TechniquesTest Planning and Test Estimation Techniques
Test Planning and Test Estimation TechniquesMurageppa-QA
 
Production Monitoring Platform
Production Monitoring PlatformProduction Monitoring Platform
Production Monitoring PlatformAriel Smoliar
 
Continuous testing in agile projects 2015
Continuous testing in agile projects 2015Continuous testing in agile projects 2015
Continuous testing in agile projects 2015Fabricio Epaminondas
 
Using Benchmarking to Quantify the Benefits of Software Process Improvement
Using Benchmarking to Quantify the Benefits of Software Process ImprovementUsing Benchmarking to Quantify the Benefits of Software Process Improvement
Using Benchmarking to Quantify the Benefits of Software Process ImprovementQuantitative Software Management, Inc.
 
LIMS_ASQ.pptx
LIMS_ASQ.pptxLIMS_ASQ.pptx
LIMS_ASQ.pptxArta Doci
 
Quality Assurance in Modern Software Development
Quality Assurance in Modern Software DevelopmentQuality Assurance in Modern Software Development
Quality Assurance in Modern Software DevelopmentZahra Sadeghi
 

Similar to DefectmodelsinSparseenvironments (20)

Improving Validation Activities
Improving Validation ActivitiesImproving Validation Activities
Improving Validation Activities
 
agri-commerce hub project-documentation report.pptx
agri-commerce hub project-documentation report.pptxagri-commerce hub project-documentation report.pptx
agri-commerce hub project-documentation report.pptx
 
Creating Functional Testing Strategy.pptx
Creating Functional Testing Strategy.pptxCreating Functional Testing Strategy.pptx
Creating Functional Testing Strategy.pptx
 
Software test management
Software test managementSoftware test management
Software test management
 
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
Webinar: "5 semplici passi per migliorare la Quality e i processi di Test".
 
Software testing kn husainy
Software testing kn husainySoftware testing kn husainy
Software testing kn husainy
 
Does dev ops need continuous testing devops days des moines 2018 v1
Does dev ops need continuous testing devops days des moines 2018 v1Does dev ops need continuous testing devops days des moines 2018 v1
Does dev ops need continuous testing devops days des moines 2018 v1
 
Assure TotalView - Analytics for Application Delivery
Assure TotalView - Analytics for Application DeliveryAssure TotalView - Analytics for Application Delivery
Assure TotalView - Analytics for Application Delivery
 
Quantifying DevOps Adoption Empirically for Demonstrable ROI
Quantifying DevOps Adoption Empirically for Demonstrable ROIQuantifying DevOps Adoption Empirically for Demonstrable ROI
Quantifying DevOps Adoption Empirically for Demonstrable ROI
 
Pressman ch-22-process-and-project-metrics
Pressman ch-22-process-and-project-metricsPressman ch-22-process-and-project-metrics
Pressman ch-22-process-and-project-metrics
 
Software Development
Software DevelopmentSoftware Development
Software Development
 
Test Planning and Test Estimation Techniques
Test Planning and Test Estimation TechniquesTest Planning and Test Estimation Techniques
Test Planning and Test Estimation Techniques
 
Production Monitoring Platform
Production Monitoring PlatformProduction Monitoring Platform
Production Monitoring Platform
 
Continuous testing in agile projects 2015
Continuous testing in agile projects 2015Continuous testing in agile projects 2015
Continuous testing in agile projects 2015
 
Using Benchmarking to Quantify the Benefits of Software Process Improvement
Using Benchmarking to Quantify the Benefits of Software Process ImprovementUsing Benchmarking to Quantify the Benefits of Software Process Improvement
Using Benchmarking to Quantify the Benefits of Software Process Improvement
 
LIMS_ASQ.pptx
LIMS_ASQ.pptxLIMS_ASQ.pptx
LIMS_ASQ.pptx
 
Quality Assurance in Modern Software Development
Quality Assurance in Modern Software DevelopmentQuality Assurance in Modern Software Development
Quality Assurance in Modern Software Development
 
Sudhakar Resume
Sudhakar ResumeSudhakar Resume
Sudhakar Resume
 
Types of Testing
Types of TestingTypes of Testing
Types of Testing
 
Softwaretesting
SoftwaretestingSoftwaretesting
Softwaretesting
 

More from pbaxter

Using-Measurement-Current-Standards-and-Guidance_paper
Using-Measurement-Current-Standards-and-Guidance_paperUsing-Measurement-Current-Standards-and-Guidance_paper
Using-Measurement-Current-Standards-and-Guidance_paperpbaxter
 
Systems-Engineering-Measurement_pres_INCOSE2002
Systems-Engineering-Measurement_pres_INCOSE2002Systems-Engineering-Measurement_pres_INCOSE2002
Systems-Engineering-Measurement_pres_INCOSE2002pbaxter
 
Aligning-Metrics-With-Organizational-Structure_paper
Aligning-Metrics-With-Organizational-Structure_paperAligning-Metrics-With-Organizational-Structure_paper
Aligning-Metrics-With-Organizational-Structure_paperpbaxter
 
UsingAHP_02
UsingAHP_02UsingAHP_02
UsingAHP_02pbaxter
 
SEPG_2010_RiskKnowItAll_REV2
SEPG_2010_RiskKnowItAll_REV2SEPG_2010_RiskKnowItAll_REV2
SEPG_2010_RiskKnowItAll_REV2pbaxter
 
ThreePhasedImplementationPlan
ThreePhasedImplementationPlanThreePhasedImplementationPlan
ThreePhasedImplementationPlanpbaxter
 
Measurement-Process-Effectiveness_paper_updated210
Measurement-Process-Effectiveness_paper_updated210Measurement-Process-Effectiveness_paper_updated210
Measurement-Process-Effectiveness_paper_updated210pbaxter
 
Putting-MANAGEMENT-into-Your-Requirements-Management_Dec2005
Putting-MANAGEMENT-into-Your-Requirements-Management_Dec2005Putting-MANAGEMENT-into-Your-Requirements-Management_Dec2005
Putting-MANAGEMENT-into-Your-Requirements-Management_Dec2005pbaxter
 
AgileGraphingCookbook
AgileGraphingCookbookAgileGraphingCookbook
AgileGraphingCookbookpbaxter
 
Statistical-Process-Control-Analysis-Unraveled_updated210
Statistical-Process-Control-Analysis-Unraveled_updated210Statistical-Process-Control-Analysis-Unraveled_updated210
Statistical-Process-Control-Analysis-Unraveled_updated210pbaxter
 
Measurement_Information Needs_paper_Crosstalk
Measurement_Information Needs_paper_CrosstalkMeasurement_Information Needs_paper_Crosstalk
Measurement_Information Needs_paper_Crosstalkpbaxter
 

More from pbaxter (11)

Using-Measurement-Current-Standards-and-Guidance_paper
Using-Measurement-Current-Standards-and-Guidance_paperUsing-Measurement-Current-Standards-and-Guidance_paper
Using-Measurement-Current-Standards-and-Guidance_paper
 
Systems-Engineering-Measurement_pres_INCOSE2002
Systems-Engineering-Measurement_pres_INCOSE2002Systems-Engineering-Measurement_pres_INCOSE2002
Systems-Engineering-Measurement_pres_INCOSE2002
 
Aligning-Metrics-With-Organizational-Structure_paper
Aligning-Metrics-With-Organizational-Structure_paperAligning-Metrics-With-Organizational-Structure_paper
Aligning-Metrics-With-Organizational-Structure_paper
 
UsingAHP_02
UsingAHP_02UsingAHP_02
UsingAHP_02
 
SEPG_2010_RiskKnowItAll_REV2
SEPG_2010_RiskKnowItAll_REV2SEPG_2010_RiskKnowItAll_REV2
SEPG_2010_RiskKnowItAll_REV2
 
ThreePhasedImplementationPlan
ThreePhasedImplementationPlanThreePhasedImplementationPlan
ThreePhasedImplementationPlan
 
Measurement-Process-Effectiveness_paper_updated210
Measurement-Process-Effectiveness_paper_updated210Measurement-Process-Effectiveness_paper_updated210
Measurement-Process-Effectiveness_paper_updated210
 
Putting-MANAGEMENT-into-Your-Requirements-Management_Dec2005
Putting-MANAGEMENT-into-Your-Requirements-Management_Dec2005Putting-MANAGEMENT-into-Your-Requirements-Management_Dec2005
Putting-MANAGEMENT-into-Your-Requirements-Management_Dec2005
 
AgileGraphingCookbook
AgileGraphingCookbookAgileGraphingCookbook
AgileGraphingCookbook
 
Statistical-Process-Control-Analysis-Unraveled_updated210
Statistical-Process-Control-Analysis-Unraveled_updated210Statistical-Process-Control-Analysis-Unraveled_updated210
Statistical-Process-Control-Analysis-Unraveled_updated210
 
Measurement_Information Needs_paper_Crosstalk
Measurement_Information Needs_paper_CrosstalkMeasurement_Information Needs_paper_Crosstalk
Measurement_Information Needs_paper_Crosstalk
 

DefectmodelsinSparseenvironments

  • 1.
  • 2. OVERVIEW • Describes an on-going engagement to expand a measurement process within a commercial organization • Large international company involved in commercial software-intensive systems development • Explore how to provide measurement guidance in environments where there is no realistic/practical executive commitment to quantitative understanding of business performance
  • 3. ABOUT DISTRIBUTIVE • Involved in Measurement since 1996, primarily servicing high maturity customers (with 95% at CMMI level 3 and higher) • Market, sell and support the DataDrill measurement tool for collection, storage, analysis and reporting • DataDrill currently in use at over 300 sites in US, Europe and Asia • Distributive has privilege of working to implement or expand measurement processes in environments using advanced practices
  • 4. GOALS At the Program Level • Provide a defect discovery estimate that can be used as a target/goal for monitoring testing activities after design • Replace the current trending calculation that is overly complex, trying to compensate for not being accurate during most of the phases At the Feature Level • Develop a method to estimate defect discovery by activity In the Company Culture Demonstrate that measurement can provide useful information which encourages: 1) Executive to commit to quantitative management 2) first and second line managers to participate in minor process changes
  • 5. CULTURE There is a great deal of project resistance to changing the planning and management of testing activities, which leads to … If measurement is so great, then set it up and show me, which is difficult because … There is no historical data, further compounded by … The project won’t change to provide much required data , which leads to … My approach was to demonstrate that defect discovery prediction (themselves) doesn’t take much time and is more effective than a 3 week trend line.
  • 6. AVAILABLE DATA About six and half years worth of data Spans 3 builds (A, B and C) Defects found during unit test and later activities Roughly 5500 total defects Classified by:  Build  Feature  Discovery date  Priority  Activity Where Discovered
  • 7. PROGRAM LEVEL DEFECT DISCOVERY Converted the defect discovery numbers to a percent of total and plotted by activity Defect discovery by activity exhibited nice similar shape
  • 8. PROGRAM LEVEL DEFECT DISCOVERY • Grouped the 9 activities into four phases: 1. Design and development testing 2. Unit testing 3. Integration and system testing 4. Acceptance testing • Plotted the defects per phase as a percent of total. • Preliminary fit of Weibull shown at right
  • 9. PROGRAM LEVEL DEFECT DISCOVERY • Plot discovery per phase by build • Fit to a Weibull distribution (with good results) • Compared four phase data to a published commercial study (Infosys published a CMMI Level 5 company
  • 10. PROGRAM LEVEL Next Steps • Move backwards into development and design activities • Start collecting and reviewing (the very sparse) software size and feature/program characteristics to continue with defect prediction … not sure how many “X” are going to be available • As of today, have collected about 18 months of detailed staff, cost and schedule data so we can start tuning parametric estimation model • Planning to use Schedule Risk Analysis for presenting schedule delivery risk to augment existing schedule measures
  • 11. FEATURE LEVEL Feature represents a lower level than program, where there are a small number of features (typically less than 25) in a build. Across the three builds, there were roughly 45 features developed which followed 9 testing activities in the 4 phases Current feature level planning is not formal. Primary drivers are: • All features development and unit testing be completed before program starts integration test activities • Program can track to a “pencils down” event at end of acceptance test
  • 12. FEATURE LEVEL My suggestion was to use a belief network to accommodate the drivers of defects and the effectiveness of the testing activities trying to remove them For example, if an early activity finds “fewer” defects, then instead of assuming the feature has high quality, it assumes that testing quality was low and the latent defects will be higher. Design process quality Feature complexity Testing quality Operational Usage Defects inserted Defects Found & Fixed Latent Defects Defects In Use Belief network is based on approach published by Fenton, Neil and Marquez in 2007.
  • 13. FEATURE LEVEL For better precision, a single node can be decomposed into a sub-network which provides more granularity when needed. Belief network is based on approach published by Fenton, Neil and Marquez in 2007. Design process quality Feature complexity Testing quality Operational Usage Defects inserted Defects Found & Fixed Latent Defects Defects In Use Design process quality Feature complexity Testing quality Operational Usage Defects inserted Defects Found & Fixed Latent Defects Defects In Use
  • 14. FEATURE LEVEL • Started building distributions for three nodes in top part of the network based on analysis of defects by feature. • Validate the network by comparing the forward direction with feature defect counts • Only have the top-half data to validate • Distribution values are defects per 1 KSLOC Design Process Quality Low Medium High 4 2 1 Feature Complexity ** Low Medium High 0.5 1 3 ** Preliminary. Testing Quality Low Medium High 0.3 0.8 1.7 Example: For Build 1 -Feature 1, Predicts 252 defects Found 277 defects
  • 15. FEATURE LEVEL Not yet finished analyzing all feature data for the distributions, validating or adjusting the network One benefit is that the network model is constructed quickly for sparse sets of data and as accurate as available data One side effect of the belief network is to get managers to start discussing the effectiveness of their sub-processes without the feeling that “Hey this is process improvement!” Also, the network provides a flexible method for accommodating unique process or work products through the use of new nodes and edges without changing the model for existing, validated models
  • 16.
  • 17. CONTACT ME Peter BAXTER pbaxter@distributive.com Distributive Management Fredericksburg, Virginia 22408 540-891-8811 / 8885 fax www.distributive.com