software reliability ppt

25

Upload: sbr11

Post on 03-Nov-2014

29 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Software Reliability Ppt
Page 2: Software Reliability Ppt

What is software reliability

• “Software reliability means operational reliability. Who cares how many bugs are in the program? We should be concerned with their effect on its operations” ---Bev Little wood

• The most accepted definition– “It is the probability of a failure free operation

of a program for a specified time in a specified environment”

Page 3: Software Reliability Ppt
Page 4: Software Reliability Ppt

Failures and Faults• A failure corresponds to unexpected run-time

behaviour observed by a user of the software• A fault is a static software characteristic which

causes a failure to occur• Faults need not necessarily cause failures. They

only do so if the faulty part of the software is used

• If a user does not notice a failure, is it a failure? Remember most users don’t know the software specification

Page 5: Software Reliability Ppt

Failure classification

Failure class DescriptionTransient Occurs only with certain inputsPermanent Occurs with all inputsRecoverable System can recover without operator interventionUnrecoverable Operator intervention needed to recover from failureNon-corrupting Failure does not corrupt system state or dataCorrupting Failure corrupts system state or data

Page 6: Software Reliability Ppt
Page 7: Software Reliability Ppt
Page 8: Software Reliability Ppt
Page 9: Software Reliability Ppt
Page 10: Software Reliability Ppt
Page 11: Software Reliability Ppt
Page 12: Software Reliability Ppt
Page 13: Software Reliability Ppt
Page 14: Software Reliability Ppt
Page 15: Software Reliability Ppt

Input/output mapping

Ie

Input set

OeOutput set

Program

Inputs causingerroneousoutputs

Erroneousoutputs

Page 16: Software Reliability Ppt
Page 17: Software Reliability Ppt

Reliability metrics

• Probability of failure on demand– This is a measure of the likelihood that the system will

fail when a service request is made– POFOD = 0.001 means 1 out of 1000 service requests

result in failure– Relevant for safety-critical or non-stop systems

• Rate of fault occurrence (ROCOF)– Frequency of occurrence of unexpected behaviour– ROCOF of 0.02 means 2 failures are likely in each 100

operational time units– Relevant for operating systems, transaction processing

systems

Page 18: Software Reliability Ppt

• Mean time to failure– Measure of the time between observed failures– MTTF of 500 means that the time between failures is

500 time units– Relevant for systems with long transactions e.g. CAD

systems

• Availability– Measure of how likely the system is available for use.

Takes repair/restart time into account

– Availability of 0.998 means software is available for 998 out of 1000 time units

– Relevant for continuously running systems e.g. telephone switching systems

Page 19: Software Reliability Ppt
Page 20: Software Reliability Ppt
Page 21: Software Reliability Ppt

Costs of increasing reliability

Cost

Low Medium High Veryhigh

Ultra-high

Reliability

Page 22: Software Reliability Ppt

Bathtub curve for hardware reliability

Page 23: Software Reliability Ppt

Revised bathtub curve for software reliability

Page 24: Software Reliability Ppt

Software Reliability MetricsSoftware Reliability Metrics

Product metrics Project management metrics Process metrics Fault and failure metrics

Page 25: Software Reliability Ppt

Next topic:- Reliability growth

Models