UNIT II – SOFTWARE RELIABILITY MODELING
1. Software Reliability Modeling – Introduction
A Software Reliability Model is a mathematical representation that describes how software reliability
changes over time or with respect to various factors such as number of faults, testing time, and
failure rates.
Purpose: To predict software reliability, estimate remaining faults, help managers decide release
time, and understand failure behavior.
2. Software Reliability Modeling Survey
Type Description Examples
Deterministic Models Use known parameters and fixed relations to estimate reliability. Jelinski-Moranda Mode
Stochastic Models Use probability distributions to describe time/frequency of failures. Musa Model, Goel-Okum
Classification: Time Between Failures Models, Failure Count Models, Input Domain Models.
3. Concepts in Software Reliability Modeling
Key Concepts: Failure Rate (λ), Reliability Function R(t)=e^-λt, Mean Time To Failure (MTTF=1/λ),
Failure Intensity λ(t), and Cumulative Failures µ(t)=∫■■λ(u)du.
4. Common Distribution Functions
a) Exponential Distribution: Assumes constant failure rate. R(t)=e^-λt
b) Weibull Distribution: Models increasing or decreasing failure rates.
c) Normal/Lognormal: Failures distributed around a mean.
d) Gamma/Erlang: Used when failure depends on multiple random processes.
5. Generalized System Reliability Function
Series System: Rs(t)=R1(t)×R2(t)...×Rn
Parallel System: Rs(t)=1−∏[1−Ri(t)]
Example: Two components 0.9 and 0.8 → Series:0.72, Parallel:0.98
6. System Reliability
System reliability is the probability that the entire system will operate without failure for a specified
period. Depends on configuration, redundancy, and maintenance.
7. Markov Processes in Reliability Modeling
Markov Process: Future state depends only on current state. Used to model operational, failed,
repair states.
Availability (steady state): A=µ/(λ+µ)
8. Counting Processes
Counting Process N(t): Represents number of failures up to time t. Non-decreasing and
integer-valued.
Types: HPP (constant λ) and NHPP (λ varies with time).
NHPP Mean Value Function: µ(t)=a(1−e^−bt)
Summary Table
Concept Formula / Key Idea
Reliability Function R(t)=e^-λt
Availability A=MTTF/(MTTF+MTTR)
Series Reliability Rs=R1×R2×...×Rn
Parallel Reliability Rs=1−∏(1−Ri)
Mean Value (NHPP) µ(t)=a(1−e^−bt)
Markov Availability A=µ/(λ+µ)