16
Software Metrics and Reliability

Software Metrics and Reliability. Definitions According to ANSI, “ Software Reliability is defined as the probability of failure – free software operation

Embed Size (px)

Citation preview

Page 1: Software Metrics and Reliability. Definitions According to ANSI, “ Software Reliability is defined as the probability of failure – free software operation

Software Metrics and Reliability

Page 2: Software Metrics and Reliability. Definitions According to ANSI, “ Software Reliability is defined as the probability of failure – free software operation

Definitions• According to ANSI, “ Software Reliability is defined as the probability of failure – free

software operation for a specified period of time in a specified environment”.

• IEEE defines Reliability as “ The ability of a system or component to perform its required functions under stated conditions for a specified period of time”

Page 3: Software Metrics and Reliability. Definitions According to ANSI, “ Software Reliability is defined as the probability of failure – free software operation

Software Reliability and Hardware Reliability

• Software Reliability

• It is not a direct function of time

• Hardware Reliability

• It is a direct function of time.

Page 4: Software Metrics and Reliability. Definitions According to ANSI, “ Software Reliability is defined as the probability of failure – free software operation

Software Reliability

Useful Life obsoleteIntegration and Testing

Integration and Testing

Useful life

obsolete

Page 5: Software Metrics and Reliability. Definitions According to ANSI, “ Software Reliability is defined as the probability of failure – free software operation

Hardware Reliability

Burn In

Useful Life

Wear Out

Useful Life Wear OutBurn In

Page 6: Software Metrics and Reliability. Definitions According to ANSI, “ Software Reliability is defined as the probability of failure – free software operation

Faults and Failures

FAILURE

• It is the departure of the external results of program operation from

requirements

Page 7: Software Metrics and Reliability. Definitions According to ANSI, “ Software Reliability is defined as the probability of failure – free software operation

FAULT

• A Fault is a defect in a program which arises when programmer makes an error.

• It Causes Failure when executed under particular conditions

Page 8: Software Metrics and Reliability. Definitions According to ANSI, “ Software Reliability is defined as the probability of failure – free software operation

Achieving Reliability

• Software Reliability can be achieved by using metrics at different stages of software development cycle.

Page 9: Software Metrics and Reliability. Definitions According to ANSI, “ Software Reliability is defined as the probability of failure – free software operation

Phases

• Requirement Phase

• Design and coding phase

• Testing phase

Page 10: Software Metrics and Reliability. Definitions According to ANSI, “ Software Reliability is defined as the probability of failure – free software operation

Software Metrics For Reliability

• Requirements Reliability Metrics

• Design and Code Reliability Metrics

• Testing Reliability Metrics

Page 11: Software Metrics and Reliability. Definitions According to ANSI, “ Software Reliability is defined as the probability of failure – free software operation

Requirements Reliability Metrics

• A clear understanding between client and developer should exist.

• Must Contain valid Strucure

• Must be complete

• Ease to communicate

Page 12: Software Metrics and Reliability. Definitions According to ANSI, “ Software Reliability is defined as the probability of failure – free software operation

Design and Code Reliability Metrics

Quality Factors

• Complexity

• Size

Page 13: Software Metrics and Reliability. Definitions According to ANSI, “ Software Reliability is defined as the probability of failure – free software operation

Testing Reliability Metrics

• First approach is “ensuring that the system is fully equipped with the functions that are specified in the requirements”.

• Second approach is “Evaluating the code, Finding the errors and fixing them”.

Page 14: Software Metrics and Reliability. Definitions According to ANSI, “ Software Reliability is defined as the probability of failure – free software operation

Conclusion

• Software Reliability is the probability that the software will work without failure for a specified period of time

• Achieving the software reliability is hard as the complexity of the software tends to be high

• Software Reliability can be increased by applying metrics at different stages of software development life cycle.

Page 15: Software Metrics and Reliability. Definitions According to ANSI, “ Software Reliability is defined as the probability of failure – free software operation

Thank You

Page 16: Software Metrics and Reliability. Definitions According to ANSI, “ Software Reliability is defined as the probability of failure – free software operation

Any Questions?