Professional Documents
Culture Documents
SRE Lec3
SRE Lec3
SRE Lec3
Engineering
Dr. Seemab Latif
Lecture 3
04/02/19
Kinds of Software
Requirements
Functional requirements
Non-functional requirements
Domain requirements
Inverse requirements
Property Measure
Size 1. K bytes
2. Number of function points
Metrics for NFRs - 3
Property Measure
Ease of use 1. Training time
2. Number of help frames
Metrics for NFRs - 4
Property Measure
Reliability 1. Mean time to failure
2. Probability of
unavailability
3. Rate of failure occurrence
4. Availability
Reliability
Reliability is the ability of the system to remain operational for
long periods of time and is typically expressed in terms of mean
time to failure (MTTF).
Let these successive time intervals be denoted by t 1, t 2, . . ., t i.
The average of all the i time intervals is called the MTTF.
After a failure is observed, the developers analyze and fix the
defects, which consumes some time—let us call this interval the
repair time. The average of all the repair times is known as the
mean time to repair (MTTR).
Now we can calculate a value called mean time between failures
(MTBF) as MTBF = MTTF+MTTR
Metrics for NFRs - 5
Property Measure
Robustness 1. Time to restart after failure
2. Percentage of events
causing failure
3. Probability of data
corruption on failure
Metrics for NFRs - 6
Property Measure
Portability 1. Percentage of target-
dependent statements
2. Number of target systems
Discussion on Metrics for
NFRs
With the help of these measures the
NFRs can be verified quantitatively
Non-functional requirements
Domain requirements
Inverse requirements
Non-functional requirements
Domain requirements
Inverse requirements
The system shall not use red color in the user interface,
whenever it is asking for inputs from the end-user
Kinds of Software
Requirements
Functional requirements
Non-functional requirements
Domain requirements
Inverse requirements