SlideShare ist ein Scribd-Unternehmen logo
1 von 4
Downloaden Sie, um offline zu lesen
1
Hilaire Ananda Perera
Long Term Quality Assurance
Hardware and Software Life Cycle Differences
Life Cycle Differences
Life Cycle Pre. t0 Period A
(t0 to t1)
Period B
(t1 to t2)
Period C
(Post t2)
HARDWARE  Concept Definition
 Development
 Build
Test
 Deployment
 Infant Mortality
 Upgrade
 Useful Life  Wearout
SOFTWARE  Concept Definition
 Development
 Test
 Debug/Upgrade
 Deployment
 Useful Life
 Debug/Upgrade
 Obsolescence
Failure
Rate
Timet0 t1 t2
Period A
Period B Period C
Bathtub Curve for Hardware Reliability
U
P
G
R
A
D
E
U
P
G
R
A
D
E
U
P
G
R
A
D
E
Revised Bathtub Curve for Software Reliability
Timet0 t1 t2
Failure
Rate
Period A Period B Period C
Since each upgrade represents a mini
development cycle, modifications may
introduce new defects in other parts of
the software unrelated to the
modification itself. The more upgrades
that occur, greater the potential for
increased failure rate, and hence
lower reliability
2
Hilaire Ananda Perera
Long Term Quality Assurance
0
5
10
15
20
25
30
0.000 0.020 0.040 0.060 0.080 0.100 0.120
Fault Rate (n/t)
FaultNumber(n)
Fault Rate Plot
One goal of testing is to estimate N, the total (inherent) number of faults and fault density,
based upon observing an actual total of n faults during the testing period t. If the fault rate
value n/t is plotted at the occurrence of each fault, the resultant plot can be used to estimate
N under the assumption of a linear fault rate.
From the above plot, inherent number of faults N = 28
From the above plot, inherent fault (defect) density = 0.28 faults per KSLOC
Mean Time Between Failures
From the above table the Mean Time Between Failures (MTBF) can be calculated.
MTBF = (10 + 9 + ........... + 40) = 296/15 = 19.73
SOFTWARE FAILURE DATA
Time-Based Failure
100 KSLOC of Software
Failure
Number
Failure
Time
Failure
Interval
1 10 10
2 19 9
3 32 13
4 43 11
5 58 15
6 70 12
7 88 18
8 103 15
9 125 22
10 150 25
11 169 19
12 199 30
13 231 32
14 256 25
15 296 40
KSLOC = 1000 Source Lines Of Code
3
Hilaire Ananda Perera
Long Term Quality Assurance
SOFTWARE RELIABILITY MODELS
Software reliability models have been in existence since the early 1970; over 200 have been
developed. Certainly some of the more recent ones build upon the theory and principles of
the older ones. Some of the older models have been discarded based upon more recent
information about the assumptions and newer ones have replaced them.
The general topic of software reliability modeling is divided into two major categories,
prediction and estimation.
ISSUES PREDICTION MODELS ESTIMATION MODELS
DATA
REFERENCE
Uses historical data Uses data from current software
development effort
WHEN USED IN
DEVELOPMENT
CYCLE
Usually made prior to development
or test phases; can be used as early
as concept phase
Usually made later in life cycle
(after some data have been
collected); not typically used in
concept or development phases
TIME
FRAME
Predict reliability at some future
time
Estimate reliability at either present
or some future time
Prediction Models
Four prediction models are available. Musa’s Execution Time Model (See Page 4), Putnam’s
Model, two models ( TR-92-51 Model, TR-92-15 Model) developed at Rome Laboratory.
Whenever possible, it is recommended that a prediction model be used.
Estimation Models
Estimation models have been classified into three major types which are test coverage,
tagging and fault counts. Test Coverage models assume that software reliability is a function
of the amount of software that has been successfully tested or verified. Tagging models
introduce faults into software and then track the number of these faults that are found during
testing in order to estimate the total number of faults. The fault count and/or fault rate
estimation models (General Exponential; Lloyd-Lipow; Musa’s Basic; Musa’s Logarithmic;
Shooman’s; Goel-Okumoto) either predict the number of faults detected during some time
interval or the time when a specific number of faults will be detected. One model may work
well (i.e. provide useful predictions/estimates) with a few data sets but then not be useful for
others. The future development of one universally accepted useful reliability model appears
to be unobtainable since the topic has been approached from so many different perspectives
with no overall success.
4
Hilaire Ananda Perera
Long Term Quality Assurance
MUSA’S EXECUTION TIME MODEL
Developed by John Musa of Bell Laboratories in the mid 1970s, this was one of the earliest
reliability prediction models. It predicts the initial failure rate of a software system at the
point when software system testing begins [i.e. when cumulative number of faults detected
(n) = 0; Cumulative test time (t) = 0 ]. The initial failure rate, 0 (faults per unit time) is a
function of the unknown, but estimated from the following equation.
Initial Failure Rate ............................ 0 = k x p x w0
SYMBOL REPRESENTS VALUE
k Constant that accounts for the dynamic
structure of the program and the varying
machines
k = 4.2E-7
p Estimate of the number of executions per
time unit
p = r / SLOC / ER
r Average instruction execution rate,
determined from the manufacturer or
benchmarking
Constant
SLOC Source lines of code (not including reused
code)
ER Expansion ratio, a constant dependent
upon programming language
Assembler, 1.0; Macro Assembler, 1.5; C,
2.5; COBAL, FORTRAN, JOVIAL 3;
Ada, 4.5
w0
Estimate of the initial number of faults in
the program
Can be calculated using: w0 = N x B or a
default of 6 faults / 1000 SLOC can be
assumed
N Total number of failures in infinite time Estimated based upon judgment or past
experience
B Ratio of net fault reduction to failures
experienced in time. This ratio reflects the
efficiency of fault removal. It suggests the
proportion of failures whose faults can be
identified, and then removed.
Assume B= 0.95; i.e. 95% of the faults
undetected at delivery become failures
after delivery
For example, 100 line (SLOC) FORTRAN program with an average execution rate of 150
lines per second has a predicted failure rate, when system test begins, of 0 = k x p x w0 =
(4.2E-7) x (150/100/3) x (6/1000) x 100 = 1.26E-7 faults per second ( or 1 fault per
7.9365E6 seconds which is equivalent to 3.97 faults per year). The constant failure rate
could be assumed provided the code is frozen and the operational profile is stationary. A
constant failure rate implies an exponential time-to-failure distribution, and for a 2 hour
execution time the Reliability R(t) = e-t
= 0.999093

Weitere ähnliche Inhalte

Was ist angesagt?

Presentation slides: "How to get 100% code coverage"
Presentation slides: "How to get 100% code coverage" Presentation slides: "How to get 100% code coverage"
Presentation slides: "How to get 100% code coverage" Rapita Systems Ltd
 
Robustness testing
Robustness testingRobustness testing
Robustness testingCS, NcState
 
Software Reliability Engineering
Software Reliability EngineeringSoftware Reliability Engineering
Software Reliability Engineeringguest90cec6
 
Finding Bugs, Fixing Bugs, Preventing Bugs — Exploiting Automated Tests to In...
Finding Bugs, Fixing Bugs, Preventing Bugs — Exploiting Automated Tests to In...Finding Bugs, Fixing Bugs, Preventing Bugs — Exploiting Automated Tests to In...
Finding Bugs, Fixing Bugs, Preventing Bugs — Exploiting Automated Tests to In...University of Antwerp
 
Software testing principles
Software testing principlesSoftware testing principles
Software testing principlesDonato Di Pierro
 
Test Automation Maturity: A Self-Assessment Tool
Test Automation Maturity: A Self-Assessment ToolTest Automation Maturity: A Self-Assessment Tool
Test Automation Maturity: A Self-Assessment ToolUniversity of Antwerp
 
Seven testing principles
Seven testing principlesSeven testing principles
Seven testing principlesVaibhav Dash
 
Zero-bug Software, Mathematically Guaranteed
Zero-bug Software, Mathematically GuaranteedZero-bug Software, Mathematically Guaranteed
Zero-bug Software, Mathematically GuaranteedAshley Zupkus
 
Mathematically Guaranteeing Code Correctness with TrustInSoft
Mathematically Guaranteeing Code Correctness with TrustInSoftMathematically Guaranteeing Code Correctness with TrustInSoft
Mathematically Guaranteeing Code Correctness with TrustInSoftAshley Zupkus
 
Automated testing of NASA Software - part 2
Automated testing of NASA Software - part 2Automated testing of NASA Software - part 2
Automated testing of NASA Software - part 2Dharmalingam Ganesan
 
Towards 0-bug software in the automotive industry
Towards 0-bug software in the automotive industryTowards 0-bug software in the automotive industry
Towards 0-bug software in the automotive industryAshley Zupkus
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4 Mohammad Faizan
 
NASA Software Safety Guidebook
NASA Software Safety GuidebookNASA Software Safety Guidebook
NASA Software Safety GuidebookVapula
 

Was ist angesagt? (20)

Software testing methods
Software testing methodsSoftware testing methods
Software testing methods
 
Presentation slides: "How to get 100% code coverage"
Presentation slides: "How to get 100% code coverage" Presentation slides: "How to get 100% code coverage"
Presentation slides: "How to get 100% code coverage"
 
Robustness testing
Robustness testingRobustness testing
Robustness testing
 
Software Reliability Engineering
Software Reliability EngineeringSoftware Reliability Engineering
Software Reliability Engineering
 
Finding Bugs, Fixing Bugs, Preventing Bugs — Exploiting Automated Tests to In...
Finding Bugs, Fixing Bugs, Preventing Bugs — Exploiting Automated Tests to In...Finding Bugs, Fixing Bugs, Preventing Bugs — Exploiting Automated Tests to In...
Finding Bugs, Fixing Bugs, Preventing Bugs — Exploiting Automated Tests to In...
 
SpecTRM
SpecTRMSpecTRM
SpecTRM
 
Software testing principles
Software testing principlesSoftware testing principles
Software testing principles
 
Test Automation Maturity: A Self-Assessment Tool
Test Automation Maturity: A Self-Assessment ToolTest Automation Maturity: A Self-Assessment Tool
Test Automation Maturity: A Self-Assessment Tool
 
Software Testing
 Software Testing  Software Testing
Software Testing
 
Seven testing principles
Seven testing principlesSeven testing principles
Seven testing principles
 
Zero-bug Software, Mathematically Guaranteed
Zero-bug Software, Mathematically GuaranteedZero-bug Software, Mathematically Guaranteed
Zero-bug Software, Mathematically Guaranteed
 
Mathematically Guaranteeing Code Correctness with TrustInSoft
Mathematically Guaranteeing Code Correctness with TrustInSoftMathematically Guaranteeing Code Correctness with TrustInSoft
Mathematically Guaranteeing Code Correctness with TrustInSoft
 
Automated testing of NASA Software - part 2
Automated testing of NASA Software - part 2Automated testing of NASA Software - part 2
Automated testing of NASA Software - part 2
 
Towards 0-bug software in the automotive industry
Towards 0-bug software in the automotive industryTowards 0-bug software in the automotive industry
Towards 0-bug software in the automotive industry
 
SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4  SOFTWARE TESTING UNIT-4
SOFTWARE TESTING UNIT-4
 
7 testing principles
7 testing principles7 testing principles
7 testing principles
 
Introduction to Parasoft C++TEST
Introduction to Parasoft C++TEST Introduction to Parasoft C++TEST
Introduction to Parasoft C++TEST
 
Principles of software testing
Principles of software testingPrinciples of software testing
Principles of software testing
 
TDD Presentation
TDD PresentationTDD Presentation
TDD Presentation
 
NASA Software Safety Guidebook
NASA Software Safety GuidebookNASA Software Safety Guidebook
NASA Software Safety Guidebook
 

Ähnlich wie Software Reliability

Predict Software Reliability Before the Code is Written
Predict Software Reliability Before the Code is WrittenPredict Software Reliability Before the Code is Written
Predict Software Reliability Before the Code is WrittenAnn Marie Neufelder
 
Software reliability
Software reliabilitySoftware reliability
Software reliabilityAnand Kumar
 
Software Reliability
Software ReliabilitySoftware Reliability
Software Reliabilityranapoonam1
 
st-notes-13-26-software-testing-is-the-act-of-examining-the-artifacts-and-the...
st-notes-13-26-software-testing-is-the-act-of-examining-the-artifacts-and-the...st-notes-13-26-software-testing-is-the-act-of-examining-the-artifacts-and-the...
st-notes-13-26-software-testing-is-the-act-of-examining-the-artifacts-and-the...mwpeexdvjgtqujwhog
 
Four things that are almost guaranteed to reduce the reliability of a softwa...
Four things that are almost guaranteed to reduce the reliability of a softwa...Four things that are almost guaranteed to reduce the reliability of a softwa...
Four things that are almost guaranteed to reduce the reliability of a softwa...Ann Marie Neufelder
 
Four things that are almost guaranteed to reduce the reliability of a softwa...
Four things that are almost guaranteed to reduce the reliability of a softwa...Four things that are almost guaranteed to reduce the reliability of a softwa...
Four things that are almost guaranteed to reduce the reliability of a softwa...Ann Marie Neufelder
 
Fundamental of testing (what is testing)
Fundamental of testing (what is testing)Fundamental of testing (what is testing)
Fundamental of testing (what is testing)helfa safitri
 
FUNDAMENTALS OF TESTING (Fundamental of testing what)
FUNDAMENTALS OF TESTING (Fundamental of testing what) FUNDAMENTALS OF TESTING (Fundamental of testing what)
FUNDAMENTALS OF TESTING (Fundamental of testing what) CindyYuristie
 
A Simplified Model for Evaluating Software Reliability at the Developmental S...
A Simplified Model for Evaluating Software Reliability at the Developmental S...A Simplified Model for Evaluating Software Reliability at the Developmental S...
A Simplified Model for Evaluating Software Reliability at the Developmental S...Waqas Tariq
 
fundamentals of testing (Fundamental of testing what)
fundamentals of testing (Fundamental of testing what)fundamentals of testing (Fundamental of testing what)
fundamentals of testing (Fundamental of testing what)diana fitri, S.Kom
 
Soft quality & standards
Soft quality & standardsSoft quality & standards
Soft quality & standardsPrince Bhanwra
 
Soft quality & standards
Soft quality & standardsSoft quality & standards
Soft quality & standardsPrince Bhanwra
 
Fundamentals of testing (what is testing)
Fundamentals of testing (what is testing)Fundamentals of testing (what is testing)
Fundamentals of testing (what is testing)Dhy Ardiansyah
 
Fundamentals of testing 2
Fundamentals of testing 2Fundamentals of testing 2
Fundamentals of testing 2seli purnianda
 
Automating The Process For Building Reliable Software
Automating The Process For Building Reliable SoftwareAutomating The Process For Building Reliable Software
Automating The Process For Building Reliable Softwareguest8861ff
 
Module IV (1).pptx for software emgineee
Module IV (1).pptx for software emgineeeModule IV (1).pptx for software emgineee
Module IV (1).pptx for software emgineeeAryanKumar165415
 
A Review On Software Reliability.
A Review On Software Reliability.A Review On Software Reliability.
A Review On Software Reliability.Kelly Taylor
 
Software testing metrics
Software testing metricsSoftware testing metrics
Software testing metricsDavid O' Connor
 
International Journal of Soft Computing and Engineering (IJS
International Journal of Soft Computing and Engineering (IJSInternational Journal of Soft Computing and Engineering (IJS
International Journal of Soft Computing and Engineering (IJShildredzr1di
 

Ähnlich wie Software Reliability (20)

Predict Software Reliability Before the Code is Written
Predict Software Reliability Before the Code is WrittenPredict Software Reliability Before the Code is Written
Predict Software Reliability Before the Code is Written
 
Software reliability
Software reliabilitySoftware reliability
Software reliability
 
Software Reliability
Software ReliabilitySoftware Reliability
Software Reliability
 
st-notes-13-26-software-testing-is-the-act-of-examining-the-artifacts-and-the...
st-notes-13-26-software-testing-is-the-act-of-examining-the-artifacts-and-the...st-notes-13-26-software-testing-is-the-act-of-examining-the-artifacts-and-the...
st-notes-13-26-software-testing-is-the-act-of-examining-the-artifacts-and-the...
 
Four things that are almost guaranteed to reduce the reliability of a softwa...
Four things that are almost guaranteed to reduce the reliability of a softwa...Four things that are almost guaranteed to reduce the reliability of a softwa...
Four things that are almost guaranteed to reduce the reliability of a softwa...
 
Four things that are almost guaranteed to reduce the reliability of a softwa...
Four things that are almost guaranteed to reduce the reliability of a softwa...Four things that are almost guaranteed to reduce the reliability of a softwa...
Four things that are almost guaranteed to reduce the reliability of a softwa...
 
Fundamental of testing (what is testing)
Fundamental of testing (what is testing)Fundamental of testing (what is testing)
Fundamental of testing (what is testing)
 
FUNDAMENTALS OF TESTING (Fundamental of testing what)
FUNDAMENTALS OF TESTING (Fundamental of testing what) FUNDAMENTALS OF TESTING (Fundamental of testing what)
FUNDAMENTALS OF TESTING (Fundamental of testing what)
 
A Simplified Model for Evaluating Software Reliability at the Developmental S...
A Simplified Model for Evaluating Software Reliability at the Developmental S...A Simplified Model for Evaluating Software Reliability at the Developmental S...
A Simplified Model for Evaluating Software Reliability at the Developmental S...
 
fundamentals of testing (Fundamental of testing what)
fundamentals of testing (Fundamental of testing what)fundamentals of testing (Fundamental of testing what)
fundamentals of testing (Fundamental of testing what)
 
Soft quality & standards
Soft quality & standardsSoft quality & standards
Soft quality & standards
 
Soft quality & standards
Soft quality & standardsSoft quality & standards
Soft quality & standards
 
Fundamentals of testing (what is testing)
Fundamentals of testing (what is testing)Fundamentals of testing (what is testing)
Fundamentals of testing (what is testing)
 
Fundamentals of testing 2
Fundamentals of testing 2Fundamentals of testing 2
Fundamentals of testing 2
 
Automating The Process For Building Reliable Software
Automating The Process For Building Reliable SoftwareAutomating The Process For Building Reliable Software
Automating The Process For Building Reliable Software
 
O0181397100
O0181397100O0181397100
O0181397100
 
Module IV (1).pptx for software emgineee
Module IV (1).pptx for software emgineeeModule IV (1).pptx for software emgineee
Module IV (1).pptx for software emgineee
 
A Review On Software Reliability.
A Review On Software Reliability.A Review On Software Reliability.
A Review On Software Reliability.
 
Software testing metrics
Software testing metricsSoftware testing metrics
Software testing metrics
 
International Journal of Soft Computing and Engineering (IJS
International Journal of Soft Computing and Engineering (IJSInternational Journal of Soft Computing and Engineering (IJS
International Journal of Soft Computing and Engineering (IJS
 

Mehr von Hilaire (Ananda) Perera P.Eng.

ESS and HASS: Concerns with the Practices and Standards
ESS and HASS:  Concerns with the Practices and StandardsESS and HASS:  Concerns with the Practices and Standards
ESS and HASS: Concerns with the Practices and StandardsHilaire (Ananda) Perera P.Eng.
 
CALCE Test Services and Failure Analysis (TSFA) Laboratory
CALCE Test Services and Failure Analysis (TSFA) LaboratoryCALCE Test Services and Failure Analysis (TSFA) Laboratory
CALCE Test Services and Failure Analysis (TSFA) LaboratoryHilaire (Ananda) Perera P.Eng.
 
IEEE 1633 Recommended Practice on Software Reliability
IEEE 1633 Recommended Practice on Software ReliabilityIEEE 1633 Recommended Practice on Software Reliability
IEEE 1633 Recommended Practice on Software ReliabilityHilaire (Ananda) Perera P.Eng.
 
Reliability Prediction Procedure for Mechanical Components
Reliability Prediction Procedure for Mechanical ComponentsReliability Prediction Procedure for Mechanical Components
Reliability Prediction Procedure for Mechanical ComponentsHilaire (Ananda) Perera P.Eng.
 
Early Life Failure Rate Calculation Procedure for Semiconductor Components
Early Life Failure Rate Calculation Procedure for Semiconductor ComponentsEarly Life Failure Rate Calculation Procedure for Semiconductor Components
Early Life Failure Rate Calculation Procedure for Semiconductor ComponentsHilaire (Ananda) Perera P.Eng.
 
Basic Design Considerations for Surface Mount Technology
Basic Design Considerations for Surface Mount TechnologyBasic Design Considerations for Surface Mount Technology
Basic Design Considerations for Surface Mount TechnologyHilaire (Ananda) Perera P.Eng.
 

Mehr von Hilaire (Ananda) Perera P.Eng. (20)

ESS and HASS: Concerns with the Practices and Standards
ESS and HASS:  Concerns with the Practices and StandardsESS and HASS:  Concerns with the Practices and Standards
ESS and HASS: Concerns with the Practices and Standards
 
CALCE Test Services and Failure Analysis (TSFA) Laboratory
CALCE Test Services and Failure Analysis (TSFA) LaboratoryCALCE Test Services and Failure Analysis (TSFA) Laboratory
CALCE Test Services and Failure Analysis (TSFA) Laboratory
 
IEEE 1633 Recommended Practice on Software Reliability
IEEE 1633 Recommended Practice on Software ReliabilityIEEE 1633 Recommended Practice on Software Reliability
IEEE 1633 Recommended Practice on Software Reliability
 
BIOMASS Based Power ( Electrical & Thermal )
BIOMASS Based Power ( Electrical & Thermal )BIOMASS Based Power ( Electrical & Thermal )
BIOMASS Based Power ( Electrical & Thermal )
 
Reliability Growth Testing (RGT) Plan
Reliability Growth Testing (RGT) Plan Reliability Growth Testing (RGT) Plan
Reliability Growth Testing (RGT) Plan
 
Statistical Confidence Level
Statistical Confidence LevelStatistical Confidence Level
Statistical Confidence Level
 
Reliability if "m" of "n" Must be Working
Reliability if "m" of "n" Must be WorkingReliability if "m" of "n" Must be Working
Reliability if "m" of "n" Must be Working
 
Outgoing Reliability Assurance of 'End-Units'
Outgoing Reliability Assurance of 'End-Units'Outgoing Reliability Assurance of 'End-Units'
Outgoing Reliability Assurance of 'End-Units'
 
Transient Suppressors
Transient SuppressorsTransient Suppressors
Transient Suppressors
 
Reliability Prediction Procedure for Mechanical Components
Reliability Prediction Procedure for Mechanical ComponentsReliability Prediction Procedure for Mechanical Components
Reliability Prediction Procedure for Mechanical Components
 
Virtual Qualification
Virtual QualificationVirtual Qualification
Virtual Qualification
 
Availability
AvailabilityAvailability
Availability
 
Testability
TestabilityTestability
Testability
 
Accelerated Stress Testing
Accelerated Stress TestingAccelerated Stress Testing
Accelerated Stress Testing
 
Early Life Failure Rate Calculation Procedure for Semiconductor Components
Early Life Failure Rate Calculation Procedure for Semiconductor ComponentsEarly Life Failure Rate Calculation Procedure for Semiconductor Components
Early Life Failure Rate Calculation Procedure for Semiconductor Components
 
Use of Failure Mechanisms enhance FMEA and FMECA
Use of Failure Mechanisms enhance FMEA and FMECAUse of Failure Mechanisms enhance FMEA and FMECA
Use of Failure Mechanisms enhance FMEA and FMECA
 
Basic Design Considerations for Surface Mount Technology
Basic Design Considerations for Surface Mount TechnologyBasic Design Considerations for Surface Mount Technology
Basic Design Considerations for Surface Mount Technology
 
Thermal cycling screen development
Thermal cycling screen developmentThermal cycling screen development
Thermal cycling screen development
 
Design For Reliability
Design For ReliabilityDesign For Reliability
Design For Reliability
 
Rating & uprating handbook
Rating & uprating handbookRating & uprating handbook
Rating & uprating handbook
 

Kürzlich hochgeladen

Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxDr. Ravikiran H M Gowda
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...Nguyen Thanh Tu Collection
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 

Kürzlich hochgeladen (20)

Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 

Software Reliability

  • 1. 1 Hilaire Ananda Perera Long Term Quality Assurance Hardware and Software Life Cycle Differences Life Cycle Differences Life Cycle Pre. t0 Period A (t0 to t1) Period B (t1 to t2) Period C (Post t2) HARDWARE  Concept Definition  Development  Build Test  Deployment  Infant Mortality  Upgrade  Useful Life  Wearout SOFTWARE  Concept Definition  Development  Test  Debug/Upgrade  Deployment  Useful Life  Debug/Upgrade  Obsolescence Failure Rate Timet0 t1 t2 Period A Period B Period C Bathtub Curve for Hardware Reliability U P G R A D E U P G R A D E U P G R A D E Revised Bathtub Curve for Software Reliability Timet0 t1 t2 Failure Rate Period A Period B Period C Since each upgrade represents a mini development cycle, modifications may introduce new defects in other parts of the software unrelated to the modification itself. The more upgrades that occur, greater the potential for increased failure rate, and hence lower reliability
  • 2. 2 Hilaire Ananda Perera Long Term Quality Assurance 0 5 10 15 20 25 30 0.000 0.020 0.040 0.060 0.080 0.100 0.120 Fault Rate (n/t) FaultNumber(n) Fault Rate Plot One goal of testing is to estimate N, the total (inherent) number of faults and fault density, based upon observing an actual total of n faults during the testing period t. If the fault rate value n/t is plotted at the occurrence of each fault, the resultant plot can be used to estimate N under the assumption of a linear fault rate. From the above plot, inherent number of faults N = 28 From the above plot, inherent fault (defect) density = 0.28 faults per KSLOC Mean Time Between Failures From the above table the Mean Time Between Failures (MTBF) can be calculated. MTBF = (10 + 9 + ........... + 40) = 296/15 = 19.73 SOFTWARE FAILURE DATA Time-Based Failure 100 KSLOC of Software Failure Number Failure Time Failure Interval 1 10 10 2 19 9 3 32 13 4 43 11 5 58 15 6 70 12 7 88 18 8 103 15 9 125 22 10 150 25 11 169 19 12 199 30 13 231 32 14 256 25 15 296 40 KSLOC = 1000 Source Lines Of Code
  • 3. 3 Hilaire Ananda Perera Long Term Quality Assurance SOFTWARE RELIABILITY MODELS Software reliability models have been in existence since the early 1970; over 200 have been developed. Certainly some of the more recent ones build upon the theory and principles of the older ones. Some of the older models have been discarded based upon more recent information about the assumptions and newer ones have replaced them. The general topic of software reliability modeling is divided into two major categories, prediction and estimation. ISSUES PREDICTION MODELS ESTIMATION MODELS DATA REFERENCE Uses historical data Uses data from current software development effort WHEN USED IN DEVELOPMENT CYCLE Usually made prior to development or test phases; can be used as early as concept phase Usually made later in life cycle (after some data have been collected); not typically used in concept or development phases TIME FRAME Predict reliability at some future time Estimate reliability at either present or some future time Prediction Models Four prediction models are available. Musa’s Execution Time Model (See Page 4), Putnam’s Model, two models ( TR-92-51 Model, TR-92-15 Model) developed at Rome Laboratory. Whenever possible, it is recommended that a prediction model be used. Estimation Models Estimation models have been classified into three major types which are test coverage, tagging and fault counts. Test Coverage models assume that software reliability is a function of the amount of software that has been successfully tested or verified. Tagging models introduce faults into software and then track the number of these faults that are found during testing in order to estimate the total number of faults. The fault count and/or fault rate estimation models (General Exponential; Lloyd-Lipow; Musa’s Basic; Musa’s Logarithmic; Shooman’s; Goel-Okumoto) either predict the number of faults detected during some time interval or the time when a specific number of faults will be detected. One model may work well (i.e. provide useful predictions/estimates) with a few data sets but then not be useful for others. The future development of one universally accepted useful reliability model appears to be unobtainable since the topic has been approached from so many different perspectives with no overall success.
  • 4. 4 Hilaire Ananda Perera Long Term Quality Assurance MUSA’S EXECUTION TIME MODEL Developed by John Musa of Bell Laboratories in the mid 1970s, this was one of the earliest reliability prediction models. It predicts the initial failure rate of a software system at the point when software system testing begins [i.e. when cumulative number of faults detected (n) = 0; Cumulative test time (t) = 0 ]. The initial failure rate, 0 (faults per unit time) is a function of the unknown, but estimated from the following equation. Initial Failure Rate ............................ 0 = k x p x w0 SYMBOL REPRESENTS VALUE k Constant that accounts for the dynamic structure of the program and the varying machines k = 4.2E-7 p Estimate of the number of executions per time unit p = r / SLOC / ER r Average instruction execution rate, determined from the manufacturer or benchmarking Constant SLOC Source lines of code (not including reused code) ER Expansion ratio, a constant dependent upon programming language Assembler, 1.0; Macro Assembler, 1.5; C, 2.5; COBAL, FORTRAN, JOVIAL 3; Ada, 4.5 w0 Estimate of the initial number of faults in the program Can be calculated using: w0 = N x B or a default of 6 faults / 1000 SLOC can be assumed N Total number of failures in infinite time Estimated based upon judgment or past experience B Ratio of net fault reduction to failures experienced in time. This ratio reflects the efficiency of fault removal. It suggests the proportion of failures whose faults can be identified, and then removed. Assume B= 0.95; i.e. 95% of the faults undetected at delivery become failures after delivery For example, 100 line (SLOC) FORTRAN program with an average execution rate of 150 lines per second has a predicted failure rate, when system test begins, of 0 = k x p x w0 = (4.2E-7) x (150/100/3) x (6/1000) x 100 = 1.26E-7 faults per second ( or 1 fault per 7.9365E6 seconds which is equivalent to 3.97 faults per year). The constant failure rate could be assumed provided the code is frozen and the operational profile is stationary. A constant failure rate implies an exponential time-to-failure distribution, and for a 2 hour execution time the Reliability R(t) = e-t = 0.999093