|
Constructive Cost Model (COCOMO)
The Basic and Intermediate COCOMO Models are used to predict the total development effort required to produce the system software in terms of manpower and duration.
1. The Basic COCOMO Model
The Basic COCOMO equations take the following form:
E = ab (KLOC) exp(bb)
D = cb (E) exp(db)
where E = the effort applied in person-months
D = the development time in chronological months, and
KLOC = the estimated number of delivered lines of code for the
project (expressed in thousands)
The coefficients ab and cb and the exponents bb and db are given in the table below:
Software Project ab bb cb db
Organic Mode 2.4 1.05 2.5 0.38
Semi-Detached Mode 3.0 1.12 2.5 0.35
Embedded Mode 3.6 1.20 2.5 0.32
Since the project is in Organic Mode,
ab = 2.4 bb = 1.05 cb = 2.5 db = 0.38
Total Estimated Lines Of Codes = 1500
Assume KLOC = 1.5K Lines of Codes.
E = ab (KLOC) exp(bb)
= 2.4(1.5)1.05
= 3.67 person-months
D = cb (E) exp(db)
= 2.5(3.67)0.38
= 4.10 months
2. Estimation Using The Intermediate COCOMO Model
The Intermediate COCOMO equation takes the following form:
E = [ai (KLOC) exp(bi)] * EAF
where E = the effort applied in person-months
KLOC = the estimated number of delivered lines of code for the
project (expressed in thousands)
EAF = the Effort Adjustment Factor
The coefficients ai and bi are given in the table below:
Software Project ai bi
Organic Mode 3.2 1.05
Semi-Detached Mode 3.0 1.12
Embedded Mode 2.8 1.20
Since the project is in Organic Mode, ai = 3.2 and bi = 1.05.
Assume KLOC = 1.5K Lines Of Codes and EAF = Nominal (1.00).
Estimated Effort, E = [ai (KLOC) exp(bi)] * EAF
= [3.2(1.5)1.05] * (1.00)
= 4.90 person-months
P = LOC / E where P = the productivity of the software development project
Estimated P = LOC / E
= 1500 / 3.67
= 409 lines of codes per person-months
Average Staffing, AS = E / D
where AS = a measure of the equivalent number of people working
on this project at a given time. The unit for AS is FSP (Full-Time-Equivalent Software Personnel)
Estimated AS = E / D
= 3.67 / 4.10
= 0.895 FSP
|