To calculate the effort and development time for a project estimated to be 600 KLOC (thousands of lines of code), we will use the Basic COCOMO (Constructive Cost Model) equations for each of the three modes: Organic, Semi-Detached, and Embedded.
Basic COCOMO Equations:
Where the constants ( a ), ( b ), ( c ), and ( d ) are defined based on the project mode.
Constants for Each Mode:
| Mode | a | b | c | d |
|---|
| Organic | 2.4 | 1.05 | 2.5 | 0.38 |
| Semi-Detached | 3.0 | 1.12 | 2.5 | 0.35 |
| Embedded | 3.6 | 1.20 | 2.5 | 0.32 |
Calculations:
1. Organic Mode
Effort:
[
\begin{align*}
\text{Effort} &= 2.4 \times (600)^{1.05} \
&= 2.4 \times e^{1.05 \times \ln(600)} \
&= 2.4 \times e^{1.05 \times 6.39693} \
&= 2.4 \times e^{6.71678} \
&= 2.4 \times 825.071 \
&\approx \textbf{1980.17 person-months}
\end{align*}
]
Development Time:
[
\begin{align*}
\text{Time} &= 2.5 \times (\text{Effort})^{0.38} \
&= 2.5 \times (1980.17)^{0.38} \
&= 2.5 \times e^{0.38 \times \ln(1980.17)} \
&= 2.5 \times e^{0.38 \times 7.58696} \
&= 2.5 \times e^{2.88305} \
&= 2.5 \times 17.859 \
&\approx \textbf{44.65 months}
\end{align*}
]
2. Semi-Detached Mode
Effort:
[
\begin{align*}
\text{Effort} &= 3.0 \times (600)^{1.12} \
&= 3.0 \times e^{1.12 \times \ln(600)} \
&= 3.0 \times e^{1.12 \times 6.39693} \
&= 3.0 \times e^{7.16456} \
&= 3.0 \times 1296.906 \
&\approx \textbf{3890.72 person-months}
\end{align*}
]
Development Time:
[
\begin{align*}
\text{Time} &= 2.5 \times (\text{Effort})^{0.35} \
&= 2.5 \times (3890.72)^{0.35} \
&= 2.5 \times e^{0.35 \times \ln(3890.72)} \
&= 2.5 \times e^{0.35 \times 8.26325} \
&= 2.5 \times e^{2.89214} \
&= 2.5 \times 18.002 \
&\approx \textbf{45.01 months}
\end{align*}
]
3. Embedded Mode
Effort:
[
\begin{align*}
\text{Effort} &= 3.6 \times (600)^{1.20} \
&= 3.6 \times e^{1.20 \times \ln(600)} \
&= 3.6 \times e^{1.20 \times 6.39693} \
&= 3.6 \times e^{7.67632} \
&= 3.6 \times 2160.479 \
&\approx \textbf{7777.72 person-months}
\end{align*}
]
Development Time:
[
\begin{align*}
\text{Time} &= 2.5 \times (\text{Effort})^{0.32} \
&= 2.5 \times (7777.72)^{0.32} \
&= 2.5 \times e^{0.32 \times \ln(7777.72)} \
&= 2.5 \times e^{0.32 \times 8.96077} \
&= 2.5 \times e^{2.86745} \
&= 2.5 \times 17.580 \
&\approx \textbf{43.95 months}
\end{align*}
]
Summary of Results:
| Mode | Effort (person-months) | Development Time (months) |
|---|
| Organic | ≈ 1,980 | ≈ 44.65 |
| Semi-Detached | ≈ 3,891 | ≈ 45.01 |
| Embedded | ≈ 7,778 | ≈ 43.95 |
Note: The effort significantly increases from Organic to Embedded mode due to the complexity and rigidity associated with Embedded systems. However, the development time doesn't proportionally increase because the exponent ( d ) in the time equation decreases with increasing project complexity, resulting in marginal differences in development time across the modes.
Answer:
For a 600 KLOC project:
-
Organic Mode:
- Effort ≈ 1,980 person-months
- Development Time ≈ 44.7 months
-
Semi-Detached Mode:
- Effort ≈ 3,891 person-months
- Development Time ≈ 45.0 months
-
Embedded Mode:
- Effort ≈ 7,778 person-months
- Development Time ≈ 44.0 months