Cocomo II With Example
Cocomo II With Example
Cocomo II With Example
In this model size is first estimated using Object Points. Object Points are easy to identify and count.
Object Points defines screen, reports, third generation (3GL) modules as objects.
Object Point estimation is a new size estimation technique but it is well suited in Application
Composition Sector.
Estimation of Efforts:
Following steps are taken to estimate effort to develop a project
Object Point
NOP are the object point that will need to be developed and differ from the object point count
because there may be reuse of some object instance in project.
Effort = NOP/PROD
Example 1:
Consider a database application project with
1. The application has four screens with four views each and seven data tables for three servers
and four clients.
2. Application may generate two reports of six section each from seven data tables for two
servers and three clients.
Step-1:
Number of screens = 4
Number of records = 2
Step-2:
For screens,
Number of views = 4
Number of data tables = 7
Number of servers = 3
Number of clients = 4
by using above given information and table (For Screens),
Complexity level for each screen = medium
For reports,
Number of sections = 6
Number of data tables = 7
Number of servers = 2
Number of clients = 3
by using above given information and table (For Reports),
Complexity level for each report = difficult
Step-3:
By using complexity weight table we can assign complexity weight to each object instance depending
upon their complexity level.
Complexity weight for each screen = 2
Complexity weight for each report = 8
Step-4:
= 4 * 2 + 2 * 8 = 24
Step-5:
Step-6:
Developer’s experience and capability is low (given)
Using information given about developer and productivity rate table
Productivity rate (PROD) of given project = 7
Step-7:
Effort
= NOP/PROD
= 21.6/7
= 3.086 person-month
Example 2:
You are tasked with estimating the effort required for developing a software application using the
COCOMO II Application Composition model. The application is expected to have 100,000 lines of
code (KLOC). The application type is classified as "Organic" and falls into the "Semi-Detached" level of
the Application Composition model. Given the following scale factors and cost drivers:
• Precedentedness: Very Low (1.34)
Using the COCOMO II model, calculate the estimated effort required for developing the application in
Person-Months.
1. Calculate the Unadjusted Function Points (UFP): UFP = KLOC * Sum of Weighting Factors =
100 * (1.34 + 1.07 + 0.95 + 1.16 + 1.29 + 0.86 + 1.00 + 1.23 + 1.29 + 1.22 + 1.05) ≈ 1182.82
2. Calculate the Application Composition Adjusted Function Points (AFP): AFP = UFP * (0.65 +
0.01 * Sum of Cost Drivers) = 1182.82 * (0.65 + 0.01 * (1.34 + 1.07 + 0.95 + 1.16 + 1.29 + 0.86
+ 1.00 + 1.23 + 1.29 + 1.22 + 1.05)) ≈ 1397.99
3. Calculate the effort in Person-Months using the following formula: Effort (Person-Months) =
2.94 * (AFP)^1.01 Effort = 2.94 * (1397.99)^1.01 Effort ≈ 5171.89 Person-Months
So, the estimated effort required for developing the application is approximately 5171.89 Person-
Months using the COCOMO II Application Composition Estimation Model.
Example 3: You are tasked with estimating the effort required for a software project using the
COCOMO II model. The project involves developing a web application with an estimated size of
50,000 lines of code (KLOC). The project is categorized as having an "Organic" type and falls under
the "Nominal" scale of the COCOMO II model. Given the following scale factors and cost drivers:
Using the COCOMO II model, calculate the estimated effort required for developing the web
application in Person-Months.
1. Calculate the Unadjusted Function Points (UFP): UFP = KLOC * Sum of Weighting Factors = 50
* (4.96 + 2.03 + 1.41 + 1.29 + 0.98 + 1.22 + 0.72 + 1.00 + 1.29 + 1.00 + 0.87) ≈ 396.27
2. Calculate the Effort Adjustment Factor (EAF): EAF = Product of Cost Drivers = 4.96 * 2.03 *
1.41 * 1.29 * 0.98 * 1.22 * 0.72 * 1.00 * 1.29 * 1.00 * 0.87 ≈ 45.62
3. Calculate the effort in Person-Months using the following formula: Effort (Person-Months) =
2.94 * (UFP)^1.18 * EAF Effort = 2.94 * (396.27)^1.18 * 45.62 Effort ≈ 455.64 Person-Months