Professional Documents
Culture Documents
Class Point Method
Class Point Method
software. The class point method was given by Costagliola and Tortora (2005). This method
o o $1Z The complexity of a class is analysed
through determining the number of methods in a class, the number of attributes in a class and
the interaction of a class with other classes. This method can be used for ~ stimation during
requirement and design phase of software development life cycl~ The steps required for the
estimation of size are given as follows:
class diagram
1. Identification of classes .J,
classification and evaluation of estimation of
2. Detennination of complexity of classes
identification of --> complexity of ➔ the total
class classes unadjusted
3. Calculation of unadjusted class point class point
4. Calculation of technical complexity factor i
calculation technical
5. Calculation of class point of the id:- complexity
class point. factor estimation
Jn the CP 2 measure, NOA is also considered: thus, a detailed insight into the estimate of size
1s. obtamcd l abks 5.8 to 5.10 show the detai ls for classifying class compkxity fo r C P
ml!a urc on the basis of NEM , NSR and NOA.
Table ,.8 C/(1\ ., cm11plexitr fin· CP
0-2NSR 0-SNOA 6-9 NOA > IO NOA
0-4NEM Low Low Average
5-SNEM Low Average High
> 9NEM Average High I-Iigh
(a)
\I
Complexity Weight
Class Type Description
Low Average High
After cJassifying the complexity leve l of classes, the TUCP is calculated as follows:
. \.rncP -
L.
±±
l=l)=l
w1i x x,~
::.J
\vherc w,,is complexity weightsj (j is low , average, high) assigned to class type i x 1s th~
number of classes or type i (i is type of class probkm domain , human 111terl~tcL' Jat,l
management and task management).
Calculating Technical Complexity Factor
The factors F,-F,s are the degree of influence (DI) as shown in Figure 5.5. Each DI IS rated on
the scale of 0-5 . DI is used to determine technical complexity factor (TCF). The TCF IS
determmed by the following mathematical formula:
0 l 2 3 4 5
~o influence Insignificant Moderate A,•enige Significant Strong
Description Description
10 Reusability
Ease of install ation
8 nlme update 17
9 ompiler processing 18 ultiple interfaces
Figure 5.5 Computing technical complexity factor.
Calculating Class Point and Effort
The final class point is calculated by multiplying total unadjusted class point values wlfh
technical factor. The procedure for calculating adjusted class point (9:) is given as:
lCP = TUCP X TCF )
Costagliola and Tortora (2005) used data from 40 systems developed in Java language m
order to predict the effort during two successive semesters of graduate courses of software
engmeering. They used ordinary least-square (OLS) regression analysis for deriving the effort
model. The effort is defined in terms of person hours for both CPI and CP2 measures as: