Development Time Calculation in cocomo model: basic cocomo model cocomo model example
Contents
- 1 COCOMO Model – Development Time Calculation
- 2 1. Types of COCOMO Models
- 3 2. Basic COCOMO Model Formula
- 4 3. COCOMO Model Categories & Constants
- 5 4. Example Calculation (Basic COCOMO Model)
- 6 Example:
- 7 Solution:
- 8 5. Key Takeaways
- 9 Development Time Calculation in cocomo model: basic cocomo model cocomo model example
- 10 COCOMO Models
COCOMO Model – Development Time Calculation
The COCOMO (Constructive Cost Model) is a software estimation model used to calculate development effort, time, and cost based on project size (measured in KLOC – Thousand Lines of Code).
1. Types of COCOMO Models
COCOMO has three models based on project complexity:
Basic COCOMO Model → Quick estimation (less accuracy)
Intermediate COCOMO Model → Includes cost drivers
Detailed COCOMO Model → Most accurate with multiple factors
We will focus on the Basic COCOMO Model here!
2. Basic COCOMO Model Formula
The effort (E) in person-months (PM) and development time (T in months) is calculated as:
Effort Equation:
E=a×(KLOC)bE = a \times (KLOC)^b
Development Time Equation:
T=c×(E)dT = c \times (E)^d
where a, b, c, d are constants that depend on the project type.
3. COCOMO Model Categories & Constants
Project Type | a | b | c | d | Example Projects |
---|---|---|---|---|---|
Organic | 2.4 | 1.05 | 2.5 | 0.38 | Small teams, well-understood projects |
Semi-Detached | 3.0 | 1.12 | 2.5 | 0.35 | Medium-sized projects, mixed experience |
Embedded | 3.6 | 1.20 | 2.5 | 0.32 | Large, complex systems |
4. Example Calculation (Basic COCOMO Model)
Example:
A software project is estimated to have 50 KLOC (50,000 lines of code) and is categorized as a Semi-Detached project. Calculate the Effort (E) and Development Time (T).
Solution:
From the table, for Semi-Detached Projects:
- a=3.0a = 3.0, b=1.12b = 1.12
- c=2.5c = 2.5, d=0.35d = 0.35
Step 1: Calculate Effort (E)
E=3.0×(50)1.12E = 3.0 \times (50)^{1.12} E=3.0×64.36E = 3.0 \times 64.36 E=193.08 Person-MonthsE = 193.08 \text{ Person-Months}
Step 2: Calculate Development Time (T)
T=2.5×(193.08)0.35T = 2.5 \times (193.08)^{0.35} T=2.5×7.24T = 2.5 \times 7.24 T=18.1 MonthsT = 18.1 \text{ Months}
Final Answer:
- Effort = 193.08 Person-Months
- Development Time = 18.1 Months
5. Key Takeaways
Basic COCOMO Model is a simple way to estimate effort and time.
Larger projects require more time, effort, and resources due to complexity.
More advanced versions (Intermediate, Detailed COCOMO) consider multiple cost drivers for better accuracy.
Do you want more examples or explanations on COCOMO variations? Let me know!