2007 MIT BAE Systems Fall Conference: October 30-31 Software Reliability Methods and Experience Dave Dwyer USA – E&IS baesystems.com.

Slides:



Advertisements
Similar presentations
+ Failure rates. + outline Failure rates as continuous distributions Weibull distribution – an example of an exponential distribution with the failure.
Advertisements

Lecture (11,12) Parameter Estimation of PDF and Fitting a Distribution Function.
CmpE 104 SOFTWARE STATISTICAL TOOLS & METHODS MEASURING & ESTIMATING SOFTWARE SIZE AND RESOURCE & SCHEDULE ESTIMATING.
CHAPTER 24: Inference for Regression
Software Reliability Engineering
1 Software Reliability Growth Models Incorporating Fault Dependency with Various Debugging Time Lags Chin-Yu Huang, Chu-Ti Lin, Sy-Yen Kuo, Michael R.
SE 450 Software Processes & Product Metrics Reliability: An Introduction.
Reliability and Software metrics Done by: Tayeb El Alaoui Software Engineering II Course.
Estimation and Confidence Intervals
Statistics.
Lecture 16 – Thurs, Oct. 30 Inference for Regression (Sections ): –Hypothesis Tests and Confidence Intervals for Intercept and Slope –Confidence.
Testing Metrics Software Reliability
1 Fundamentals of Reliability Engineering and Applications Dr. E. A. Elsayed Department of Industrial and Systems Engineering Rutgers University
Continuous Random Variables and Probability Distributions
EEE499 Real Time Systems Software Reliability (Part II)
1 Regression Econ 240A. 2 Retrospective w Week One Descriptive statistics Exploratory Data Analysis w Week Two Probability Binomial Distribution w Week.
Lecture II-2: Probability Review
Overview Software Quality Assurance Reliability and Availability
ECE355 Fall 2004Software Reliability1 ECE-355 Tutorial Jie Lian.
Software faults & reliability Presented by: Presented by: Pooja Jain Pooja Jain.
Pop Quiz How does fix response time and fix quality impact Customer Satisfaction? What is a Risk Exposure calculation? What’s a Scatter Diagram and why.
ECE 355: Software Engineering
Inference for regression - Simple linear regression
1 Statistical Analysis - Graphical Techniques Dr. Jerrell T. Stracener, SAE Fellow Leadership in Engineering EMIS 7370/5370 STAT 5340 : PROBABILITY AND.
Handouts Software Testing and Quality Assurance Theory and Practice Chapter 15 Software Reliability
Estimating a Population Mean
CORRELATION & REGRESSION
Confidence Intervals for the Regression Slope 12.1b Target Goal: I can perform a significance test about the slope β of a population (true) regression.
Software Reliability SEG3202 N. El Kadri.
6 Chapter Confidence Intervals © 2012 Pearson Education, Inc.
1 Institute of Engineering Mechanics Leopold-Franzens University Innsbruck, Austria, EU H.J. Pradlwarter and G.I. Schuëller Confidence.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 4 Curve Fitting.
1 Statistical Distribution Fitting Dr. Jason Merrick.
Boğaziçi University Software Reliability Modelling Computer Engineering Software Reliability Modelling Engin Deveci.
Production Planning and Control. A correlation is a relationship between two variables. The data can be represented by the ordered pairs (x, y) where.
Ch. 1.  High-profile failures ◦ Therac 25 ◦ Denver Intl Airport ◦ Also, Patriot Missle.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Statistics Section 5-6 Normal as Approximation to Binomial.
Probabilistic & Statistical Techniques Eng. Tamer Eshtawi First Semester Eng. Tamer Eshtawi First Semester
1 Chapter 6 Estimates and Sample Sizes 6-1 Estimating a Population Mean: Large Samples / σ Known 6-2 Estimating a Population Mean: Small Samples / σ Unknown.
Spatial Analysis & Geostatistics Methods of Interpolation Linear interpolation using an equation to compute z at any point on a triangle.
6.1 Inference for a Single Proportion  Statistical confidence  Confidence intervals  How confidence intervals behave.
Software Reliabilty1 Software Reliability Advanced Software Engineering COM360 University of Sunderland © 1998.
5-1 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. May 28, 2009 Inventory # Chapter 5 Six Sigma.
Robust Estimators.
CIA Annual Meeting LOOKING BACK…focused on the future.
CPE 619 Comparing Systems Using Sample Data Aleksandar Milenković The LaCASA Laboratory Electrical and Computer Engineering Department The University of.
Stracener_EMIS 7305/5305_Spr08_ Reliability Data Analysis and Model Selection Dr. Jerrell T. Stracener, SAE Fellow Leadership in Engineering.
SENG521 (Fall SENG 521 Software Reliability & Testing Overview of Software Reliability Engineering Department of Electrical.
Continuous Random Variables and Probability Distributions
Software Reliability “The most important dynamic characteristic of most software systems..” Sommerville (5th ed.) p365.
Chapter 20 Statistical Considerations Lecture Slides The McGraw-Hill Companies © 2012.
Software Reliability Estimates/ Projections, Cumulative & Instantaneous Presented by Dave Dwyer With help from: Ann Marie Neufelder, John D. Musa, Martin.
CSE SW Metrics and Quality Engineering Copyright © , Dennis J. Frailey, All Rights Reserved CSE8314M12 8/20/2001Slide 1 SMU CSE 8314 /
Assumptions of Multiple Regression 1. Form of Relationship: –linear vs nonlinear –Main effects vs interaction effects 2. All relevant variables present.
Main Title Slide Software Reliability Estimates/ Projections, Cumulative & Instantaneous - Dave Dwyer With help from: Ann Marie Neufelder, John D. Musa,
1 Statistical Analysis - Graphical Techniques Dr. Jerrell T. Stracener, SAE Fellow Leadership in Engineering EMIS 7370/5370 STAT 5340 : PROBABILITY AND.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 8-1 Chapter 8 Confidence Interval Estimation Business Statistics: A First Course 5 th Edition.
Week 2 Normal Distributions, Scatter Plots, Regression and Random.
A Software Cost Model with Reliability Constraint under Two Operational Scenarios Satoru UKIMOTO and Tadashi DOHI Department of Information Engineering,
Expectations of Random Variables, Functions of Random Variables
BAE 5333 Applied Water Resources Statistics
Software Reliability Models.
Statistical Methods For Engineers
CHAPTER 26: Inference for Regression
T305: Digital Communications
Chapter 8: Estimating with Confidence
YuankaiGao,XiaogangLi
CHAPTER 12 More About Regression
Further Topics on Random Variables: Derived Distributions
Normal as Approximation to Binomial
Presentation transcript:

2007 MIT BAE Systems Fall Conference: October Software Reliability Methods and Experience Dave Dwyer USA – E&IS baesystems.com

2007 MIT BAE Systems Fall Conference: October 30-31Page 2 Overview and outline Definitions Similarities and differences: hardware and software reliability Foundations of Musa’s models reviewed –Trachtenberg (Trachtenberg, Martin. “The Linear Software Reliability Model and Uniform Testing,” IEEE Transactions on Reliability, 1985, pp 8-16) –Downs (Downs, Thomas. “An Approach to the Modeling of Software Testing with Some Applications,” IEEE Transactions on Software Engineering, Vol. SE-11, No. 4, April 1985, pp ) Instantaneous Failure Rate, a.k.a. failure intensity –Hardware - Duane, Codier –Software - analogous derivation Testing results SW reliability calculator

2007 MIT BAE Systems Fall Conference: October 30-31Page 3 SW reliability defined Software reliability defined: –The probability of failure-free operation for a specified time in a specified environment for a specified purpose (“Software Engineering”, 5 th edition, I. Somerville, Addison-Wesley, 1995) –The probability of failure-free operation of a computer program for a specified time in a specified environment (“Software Reliability”, Musa, Iannino, Okumoto, McGraw-Hill, 1987) –We will use MTBF or its reciprocal, λ

2007 MIT BAE Systems Fall Conference: October 30-31Page 4 HW vs. SW reliability The hardware reliability discipline provided an impetus to provide for safety margins in the stresses, both mechanical and electrical But margins of safety don’t mean much in software because it doesn’t wear out Software has ‘x’ failures per million unique executions [if ‘y’ executions/hour, then ‘xy’ failures/million hours] Once a process has been successfully executed, that identical process is not going to fail in the future

2007 MIT BAE Systems Fall Conference: October 30-31Page 5 Martin Trachtenberg (1985): Simulation testing showed that: –Testing the functions of the software system in a random or round-robin order and fixing the failures gives linearly decaying system error rates –Testing and fixing each function exhaustively one at a time gives flat system-error rates –Testing and fixing different functions at widely different frequencies gives exponentially decaying system error rates [operational profile testing], and –Testing strategies that result in linear decaying error rates tend to require the fewest tests to detect a given number of errors –Testing to the operational profile gives the lowest time to reach an operational MTBF

2007 MIT BAE Systems Fall Conference: October 30-31Page 6 Down’s ‘Pure’ approach reflected the nature of software (1985) The execution of a sequence of M paths The actual number of paths affected by a fault is treated as a random variable ‘c’ Not all paths are equally likely to be executed j = (N – j) , where: N = the total number of faults, j = the number of corrected faults,  = -r log(1 – c/M), r = the number of paths executed/unit time

2007 MIT BAE Systems Fall Conference: October 30-31Page 7 Down’s execution path parameters Start 12 3 M x1 x2 xN 2 paths affected by x1 1 path affected by x2 ‘N’ total faults initially ‘M’ total paths ‘c’ paths affected by an arbitrary fault

2007 MIT BAE Systems Fall Conference: October 30-31Page 8 Our data analysis approach Cumulative 8-hour test shifts are recorded Failures plotted: –All –First instance The last data point will be put at the end of the test time Only integration and system test data

2007 MIT BAE Systems Fall Conference: October 30-31Page 9 Failure rate is proportional to failure number, Downs: j  (N – j)r(c/M)

2007 MIT BAE Systems Fall Conference: October 30-31Page 10 Failure rate plots against failure number for a range of non-uniform testing profiles, M 1, M 2 paths and N 1, N 2 initial faults in those paths ‘Concave’ or logarithmic plots

2007 MIT BAE Systems Fall Conference: October 30-31Page 11 Instantaneous failure intensity derivation ~ Duane’s for hardware Instantaneous for HWInstantaneous for SW Same Approach Similar Result

2007 MIT BAE Systems Fall Conference: October 30-31Page 12 Background – test example Console operation and operating profile Necessity of distinguishing failure priorities: –Priority 1: “Prevents mission essential capability” –Priority 2: “Adversely affects mission essential capability with no alternative workaround” –Priority 3: “Adversely affects mission essential capability with alternative workaround” Work shifts varied over test duration: 1-3/day Calculation of failure intensity

2007 MIT BAE Systems Fall Conference: October 30-31Page 13 Corrective action for Priority 2 failures suspended while Priority 1 failures corrected

2007 MIT BAE Systems Fall Conference: October 30-31Page 14 Codier, Duane 1964 RAMS HW reliability growth Ref. Appendix B, Notes on Plotting (Codier, Ernest O., “Reliability Growth in Real Life”, Proceedings, 1968 Annual Symposium on Reliability, New York, IEEE, January 1968, pp ) –1. “The latter points, having more information content, must be given more weight than earlier points” (Trachtenberg, too) –2. The normal curve-fitting procedures of drawing the line through the “center of gravity” of all the points should not be used –3. Start the line on the last data point and seek the region of highest density of points to the left [right for Musa plots] of it”

2007 MIT BAE Systems Fall Conference: October 30-31Page 15 How I draw a growth line through the points on a reliability growth plot? Is there one point that is most important? –Yes, the last point represents the cumulative MTBF to date; it has the most degrees of freedom Should the trend line go through that point? –Yes, it has the best measure of cumulative MTBF Would an Excel trend line go through that point? –No, it’s just a least squares fit with all points weighing the same What is the least important point? –The first; it has the least degrees of freedom

2007 MIT BAE Systems Fall Conference: October 30-31Page 16 Questions: Drawing a line through the points (cont.) If the line goes through the last point, what else should it go through? –The center of density of the other points (ref. back to Duane, Codier) What is the center of density? –The center of density is where the center of mass would be if “The latter points …[are]… given more weight than earlier points”

2007 MIT BAE Systems Fall Conference: October 30-31Page 17 Example - Priority 1 data plotted

2007 MIT BAE Systems Fall Conference: October 30-31Page 18 Point estimates vs. instantaneous

2007 MIT BAE Systems Fall Conference: October 30-31Page 19 The formula for calculation of i correlates with interval estimates of failure intensity

2007 MIT BAE Systems Fall Conference: October 30-31Page 20 Most recent data plot

2007 MIT BAE Systems Fall Conference: October 30-31Page 21 A calculator has been developed for BAE Systems SW reliability practice

2007 MIT BAE Systems Fall Conference: October 30-31Page 22 Priority 1 data graph

2007 MIT BAE Systems Fall Conference: October 30-31Page 23 Questions? Anybody want a grad course in SW Reliability? I need 5 more students Rivier College can do that through teleconference ( You will solve a real no charge to your department (except tuition)