Professional Documents
Culture Documents
LECTURE # 14
ü Size metrics
ü Defects-based metrics
ü Cost-metrics
ü Time metrics
q Easy to use
q Easy to compute
Video Rental
System
Video Rental
System
q Data Functions
ü Internal Logic Files
ü External Interface Files
q Transaction Functions
ü External Inputs
ü External Outputs
ü External Inquiries
q Transaction Functions
ü External Inputs: External Input (EI) is a transaction function in which Data goes “into” the application from
outside the boundary to inside. This data is coming external to the application. Data may come from a
data input screen or another application.
ü External Outputs: External Output (EO) is a transaction function in which data comes “out” of the system.
The data creates reports or output files sent to other applications.
ü External Inquiries: External Inquiry (EQ) is a transaction function with both input and output components
that result in data retrieval.
q Data Functions
ü Internal Logic Files: Internal Logical File (ILF) is a user identifiable group of logically related data or
control information that resides entirely within the application boundary. An ILF has the inherent meaning
that it is internally maintained, it has some logical structure and it is stored in a file.
ü External Interface Files: are responsible for exchanging data with other systems e.g files accessed by the
application but not maintained by it
q External Inputs: 1
q External Outputs: 2
q Logical Internal Files: 1
q External Interface Files: 0
q External Enquiries: 1
q The GSC extension involves answering 14 questions about the system and
modifying the original function point count accordingly
FP = FC x VAF
Transaction rate 1 4
5. 13. Multiple sites
Online Data Entry 5 0
6. 14. Facilitation of Change
0
7. End-user Efficiency
Total GSC Score = 25
Dr. Ali Javed
GSC Example
q As you may remember, when we calculated the function point count for this
system, we got a result of 28.
q Note that the GSC extension can increase or decrease the original count
q In larger systems, the GSC extension will have a much more significant
influence on the Function Point Count.
# defects
system _ size
Dr. Ali Javed
Failure Rate
28
R(t1 ) - R (t 2 )
l=
(t 2 - t1 ) ´ R(t1 )
Dr. Ali Javed
Example of Failure Rate
29
R(t1 ) - R (t 2 )
l=
(t 2 - t1 ) ´ R(t1 )
0.85 - 0.2
l=
60 ´ 0.85
0.65
=
51
Dr. Ali Javed = 0.013 Failures per day
Mean Time Between Failure
31
q MTBF refers to the amount of time that elapses between one failure and the next
q MTTF is the time that a system is not failed, or is available. Often referred to as
“uptime”
q MTTR affects the Availability of a system, if it takes longer to recover system from
failure then the system is going to have a lower Availability
q Availability = MTBF/(MTBF+MTTR)
q Consider the length of module A to be 100 LOC then What will be the
Interface Complexity of A?
Dr. Ali Javed
35 Process Metrics
q The earlier defects are found, the cheaper they are to fix
q This metric helps you monitor when your defects are being
found
q DRE = E/ (E + D)
ü E: No. of Errors found before delivery
ü D: No. of Defects found after delivery
q Fix quality
ü Percentage of fixes which turn out to be defective
q In many cases, you will not be able to look at a number and draw
conclusions.
q For example, at face value, Clyde may take a longer time to finish his work
when compared to colleagues. However, further inspection might reveal that
his code is bug free whilst that of his colleagues needs a lot of reworking
q Beware when using people metrics. Only use them as indicators for
potential problems
q You should never take disciplinary action against personnel based simply on
people metrics
1. http://groups.engin.umd.umich.edu/CIS/course.des/cis525/js/f00/artan/function
points.htm
2. http://www.whiteboxtest.com/information-flow-metrics.php