S Neuendorf 2004 Prediction of Software Defects SASQAG March 2004 by Steve Neuendorf.

Slides:



Advertisements
Similar presentations
Chapter 24 Quality Management.
Advertisements

Bayesian Belief Propagation
What causes bugs? Joshua Sunshine. Bug taxonomy Bug components: – Fault/Defect – Error – Failure Bug categories – Post/pre release – Process stage – Hazard.
Software Development Process Models. The Waterfall Development Model.
1 © 1998 HRL Laboratories, LLC. All Rights Reserved Construction of Bayesian Networks for Diagnostics K. Wojtek Przytula: HRL Laboratories & Don Thompson:
Prediction Basic concepts. Scope Prediction of:  Resources  Calendar time  Quality (or lack of quality)  Change impact  Process performance  Often.
Software Configuration Management
RIT Software Engineering
SE 450 Software Processes & Product Metrics 1 Defect Removal.
Software Process and Product Metrics
Kan Ch 7 Steve Chenoweth, RHIT
Software faults & reliability Presented by: Presented by: Pooja Jain Pooja Jain.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 27 Slide 1 Quality Management 1.
Software Testing Verification and validation planning Software inspections Software Inspection vs. Testing Automated static analysis Cleanroom software.
1 Bayesian methods for parameter estimation and data assimilation with crop models Part 2: Likelihood function and prior distribution David Makowski and.
Graphical Causal Models: Determining Causes from Observations William Marsh Risk Assessment and Decision Analysis (RADAR) Computer Science.
Cmpe 589 Spring Software Quality Metrics Product  product attributes –Size, complexity, design features, performance, quality level Process  Used.
CS4723 Software Validation and Quality Assurance
VTT-STUK assessment method for safety evaluation of safety-critical computer based systems - application in BE-SECBS project.
Software Metrics - Data Collection What is good data? Are they correct? Are they accurate? Are they appropriately precise? Are they consist? Are they associated.
Chapter 6 : Software Metrics
OHTO -99 SOFTWARE ENGINEERING “SOFTWARE PRODUCT QUALITY” Today: - Software quality - Quality Components - ”Good” software properties.
1 Department of Electrical and Computer Engineering University of Virginia Software Quality & Safety Assessment Using Bayesian Belief Networks Joanne Bechta.
University of Sunderland CIFM03Lecture 4 1 Software Measurement and Reliability CIFM03 Lecture 4.
Software Engineering - Spring 2003 (C) Vasudeva Varma, IIITHClass of 39 CS3600: Software Engineering: Standards in Process Modeling CMM and PSP.
Bayesian Graphical Models for Software Testing David A Wooff, Michael Goldstein, Frank P.A. Coolen Presented By Scott Young.
Software Test Metrics When you can measure what you are speaking about and express it in numbers, you know something about it; but when you cannot measure,
Testing Basics of Testing Presented by: Vijay.C.G – Glister Tech.
Software Measurement & Metrics
Software Engineering 2003 Jyrki Nummenmaa 1 SOFTWARE PRODUCT QUALITY Today: - Software quality - Quality Components - ”Good” software properties.
This chapter is extracted from Sommerville’s slides. Text book chapter
Chapter 19: Quality Models and Measurements  Types of Quality Assessment Models  Data Requirements and Measurement  Comparing Quality Assessment Models.
Software Metrics and Reliability. Definitions According to ANSI, “ Software Reliability is defined as the probability of failure – free software operation.
OHTO -99 SOFTWARE ENGINEERING “SOFTWARE PRODUCT QUALITY” Today: - Software quality - Quality Components - ”Good” software properties.
Lecture 4 Software Metrics
Deeper Insights from System Dynamics Models Mark Paich Lexidyne Consulting 10/9/08.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 22 Slide 1 Software Verification, Validation and Testing.
Introduction to Software Project Estimation I (Condensed) Barry Schrag Software Engineering Consultant MCSD, MCAD, MCDBA Bellevue.
Computing and SE II Chapter 15: Software Process Management Er-Yu Ding Software Institute, NJU.
BSBPMG504A Manage Project Costs 7.1 Estimate Costs Adapted from PMBOK 4 th Edition InitiationPlanning ExecutionClose Monitor Control The process of developing.
Cmpe 589 Spring 2006 Lecture 2. Software Engineering Definition –A strategy for producing high quality software.
Software Defects.
Software Engineering 2004 Jyrki Nummenmaa 1 SOFTWARE PRODUCT QUALITY Today: - Software quality - Quality Components - ”Good” software properties.
Formal Methods in SE Software Verification Using Formal Methods By: Qaisar Javaid, Assistant Professor Formal Methods1.
SOFTWARE METRICS Software Metrics :Roadmap Norman E Fenton and Martin Neil Presented by Santhosh Kumar Grandai.
Using Bayesian Nets to Predict Software Defects in Arbitrary Software Lifecycles Martin Neil Agena Ltd London, UK Web:
1 Experience from Studies of Software Maintenance and Evolution Parastoo Mohagheghi Post doc, NTNU-IDI SEVO Seminar, 16 March 2006.
1 Software Quality Engineering. 2 Quality Management Models –Tools for helping to monitor and manage the quality of software when it is under development.
CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M13 8/20/2001Slide 1 SMU CSE 8314 /
Copyright , Dennis J. Frailey CSE Software Measurement and Quality Engineering CSE8314 M00 - Version 7.09 SMU CSE 8314 Software Measurement.
Adaptive Processes © Adaptive Processes Simpler, Faster, Better Defect Testing Testing programs to establish the presence of system defects.
Using Bayesian Belief Networks in Assessing Software Architectures Jilles van Gurp & Jan Bosch.
Project Planning Goal 1 - Estimates are documented for use in tracking and planning project. Goal 2 - Project Activities and commitments planned and documented.
What is a software? Computer Software, or just Software, is the collection of computer programs and related data that provide the instructions telling.
Modeling of Core Protection Calculator System Software February 28, 2005 Kim, Sung Ho Kim, Sung Ho.
Managing Qualitative Knowledge in Software Architecture Assesment Jilles van Gurp & Jan Bosch Högskolan Karlskrona/Ronneby in Sweden Department of Software.
by: Er. Manu Bansal Deptt of IT Software Quality Assurance.
Testing Integral part of the software development process.
Steve Chenoweth Office Phone: (812) Cell: (937)
Software Defects Cmpe 550 Fall 2005
Lecture on Bayesian Belief Networks (Basics)
Product reliability Measuring
Predict Failures with Developer Networks and Social Network Analysis
Progression of Test Categories
Additional notes on random variables
Software metrics.
The Organizational Impacts on Software Quality and Defect Estimation
Additional notes on random variables
Exploring Complexity Metrics as Indicators of Software Vulnerability
Presentation transcript:

S Neuendorf 2004 Prediction of Software Defects SASQAG March 2004 by Steve Neuendorf

S Neuendorf 2004 Affiliations –Independent Consultant –David Consulting Group –Human Systems Knowledge Networks

S Neuendorf 2004 introduce which are observed as FAULTSDEFECTSFAILURES are discovered in products Before release Internal Defects or Errors (External) Defects Yes No Faults, Defects and Failures There is considerable disagreement about the definitions of defects, errors, faults and failures. (Fenton)

S Neuendorf 2004 Defect Prediction # Created? # Found? # Fixed? Release # Found? # Left? # Created # Found # Left

S Neuendorf 2004 Defect Addition Rates PhaseDefects per FP Requirements1.00 Design1.25 Coding1.75 Documentation0.60 Bad Fixes0.40 Total5.00 Jones 5

S Neuendorf 2004 Defect Removal Efficency 55%60%65%70%75%80%85%90%95%100% MalpracticeUS AverageBest in Class Defects per FP Defect Removal Efficiency Jones 5

S Neuendorf 2004 Other Considerations Not much information about the relationship between defects and failures No relationship between defect(s) and failure severity No consistency in terminology (BSOD = Bug?)

S Neuendorf 2004 Defect Prediction Many types of Models –Process Models –Multivariate Models –Size and Complexity metrics –Belief Models –...

S Neuendorf 2004 The Components of a Process

S Neuendorf 2004 Process Models Actual Performance Predicted Performance (e.g., E, Q or T) Process Model Current Capability Management Teams Tools Techniques Technology Environment

S Neuendorf 2004 Process Models Phase Containment Models –Rely on history to identify How many defects were produced in each phase, How many defects from that phase were discovered and corrected (Phase Containment) –Predict defects for each phase and track discovery and removal. Assume that defects predicted and not found were passed to the next phase. –Simple, easy to implement with common tools.

S Neuendorf 2004 Multivariate Models Analogous to Parametric Estimating Models. (e.g., COQUALMO) Uses any of many variables and analysis of the relationships of the values for those variables and the results observed in historic projects. Good if you have a good match for the projects from which the model is created.

S Neuendorf 2004 Size and Complexity metrics Given enough “Defects per” data, all that is needed is the “per What” to predict defects – Right? Size and Complexity do not cause defects – faults do.

S Neuendorf 2004 Using Testing Metrics Look at total defects found in each phase pre and post release, including analysis as to where the defect originated. Use statistics to determine total defects introduced in each phase and use that as a predictor. With a stable environment, very high confidence (95%) is claimed. Good opportunity for Benchmarking Approach.

S Neuendorf 2004 Using Process Quality Data SEI CMM LevelsDefect PotentialsRemoval EfficiencyDelivered Defects 1585% % % % %0.01 Jones 5

S Neuendorf 2004 Bayesian Belief Networks (BBN) Seems to be the area of most interest. Combines history with reality. Old Concept (1763) – New life (we got tools) Graphical network of the probabilistic relationships between variables. –Uses expert beliefs about the relationships assess the the impact of evidence on the probabilities of outcomes

S Neuendorf 2004 Staff Experience Problem Complexity Use of Standard Code Complexity Use Reliability # of Latent Defects Coders’ Performance Adapted from Fenton 4 Example BBN

S Neuendorf 2004 Node probability table (NPT) for the node 'Reliability' Uselowmedhigh Defectslowmedhighlowmedhighlowmedhigh Reliability low med high

S Neuendorf 2004 References 1.A Bayesian Approach to Deriving Parameter Values for a Software Defect Predictive Model; Robert Stoddard, John Henderson, Ph.D.; Sixth International Conference on the Applications of Software Measurement. 2.A Critique of Software Defect Prediction Models; Norman Fenton, Martin Neil; Centre for Software Reliability 3.Predicting Software Errors and Defects; Mark Criscione, et.al. 4.Predicting Software Quality using Bayesian Belief Networks; Martin Neil & Norman Fenton 5.Estimating Software Costs, Jones, McGraw-Hill, 1999