Lec-14 Metrics-Intro
Lec-14 Metrics-Intro
Ivan Marsic
Rutgers University 1
Topics
2
Why Measure Software
3
Measurement Scale (1)
4
Measurement Scale (2)
5
Subjective Metrics
6
Subjective Metrics
7
Use Case Points (UCPs)
13
Technical Complexity Factors (TCFs)
13
TCF = Constant-1 Constant-2 Technical Factor Total = C1 C 2 Wi Fi
i 1
14
Scaling Factors for TCF & ECF
0.8 0.8
ECF
0.6 0.6
(0, 0.6)
0.4 0.4
(32.5, 0.425)
0.2 0.2
0 0
0 10 20 30 40 50 60 70 80 0 10 20 30 40
Technical Factor Total Environmental Factor Total
(a) (b)
15
Example
Calculated Factor
Technical Perceived
Description Weight (WeightPerceived
factor Complexity
Complexity)
Distributed, Web-based system, because of
T1 2 3 23 = 6
ViewAccessHistory (UC‑4)
Users expect good performance but nothing
T2 1 3 13 = 3
exceptional
End-user expects efficiency but there are no
T3 1 3 13 = 3
exceptional demands
T4 Internal processing is relatively simple 1 1 11 = 1
T5 No requirement for reusability 1 0 10 = 0
Ease of install is moderately important (will
T6 0.5 3 0.53 = 1.5
probably be installed by technician)
T7 Ease of use is very important 0.5 5 0.55 = 2.5
No portability concerns beyond a desire to
T8 2 2 22 = 4
keep database vendor options open
T9 Easy to change minimally required 1 1 11 = 1
T10 Concurrent use is required (Section 5.3) 1 4 14 = 4
T11 Security is a significant concern 1 5 15 = 5
T12 No direct access for third parties 1 0 10 = 0
T13 No unique training needs 1 0 10 = 0
Technical Factor Total: 31
16
Environmental Complexity Factors
(ECFs)
Environmental factor Description Weight
8
ECF = Constant-1 Constant-2 Environmental Factor Total = C1 C 2 Wi Fi
i 1
Constant-1 (C1) = 1.4
Constant-2 (C2) = 0.03
Wi = weight of ith environmental factor
Fi = perceived impact of ith environmental factor
17
Example
Environmental complexity factors for the case study of home access:
Calculated Factor
Perceived
Environmenta (Weight
Description Weight Impa
l factor Perceived
ct
Impact)
Beginner familiarity with the UML-based
E1 1.5 1 1.51 = 1.5
development
E2 Some familiarity with application problem 0.5 2 0.52 = 1
E3 Some knowledge of object-oriented approach 1 2 12 = 2
E4 Beginner lead analyst 0.5 1 0.51 = 0.5
Highly motivated, but some team members
E5 1 4 14 = 4
occasionally slacking
E6 Stable requirements expected 2 5 25 = 5
E7 No part-time staff will be involved 1 0 10 = 0
Programming language of average difficulty
E8 1 3 13 = 3
will be used
Environmental Factor Total: 11
18
Calculating the Use Case Points (UCP)
From the above calculations, the UCP variables have the following values:
UUCP = 97
TCF = 0.91
ECF = 1.07
For the sample case study, the final UCP is the following:
UCP = 97 0.91 1.07 = 94.45 or 94 use case points.
19
Project Duration
Duration = UCP PF
20