LECT-7A-Software Reliability metrics
LECT-7A-Software Reliability metrics
Teresa Abuya
Functional and Non-functional
Requirements
• System functional requirements may
specify error checking, recovery features,
and system failure protection
• System reliability and availability are
specified as part of the non-functional
requirements for the system.
System Reliability Specification
• Hardware reliability
– probability a hardware component fails
• Software reliability
– probability a software component will produce an
incorrect output
– software does not wear out
– software can continue to operate after a bad result
• Operator reliability
– probability system user makes an error
Failure Probabilities
• If there are two independent components in a
system and the operation of the system depends on
them both then
P(S) = P(A) + P(B)
• If the components are replicated then the
probability of failure is
P(S) = P(A)n
meaning that all components fail at once
Functional Reliability Requirements