In software project management, size estimation is used to predict how big a software system is. One of the most important models for converting software size into effort and cost is:
COCOMO Model
The COCOMO (Constructive Cost Model) is an algorithmic software cost estimation model that estimates effort, time, and cost based on the size of software (KLOC – Thousand Lines of Code).
👉 In simple words: It helps predict how much effort and time are needed based on software size.
Larger software size → More effort → More cost and time
COCOMO uses mathematical formulas to convert size into effort.
Effort (E) = a × (KLOC)^b
Time (T) = c × (Effort)^d
👉 Where:
👉 Suitable for small projects
Considers KLOC + cost drivers
Cost drivers include:
👉 More accurate than Basic model
Most advanced model
Estimates effort for each phase separately
👉 Used for large real-world projects
👉 Example: Banking system
👉 Example: Air traffic control system
Effort = 2.4 × (10)^1.05 ≈ 27 person-months
📊 COCOMO flow:
Software Size (KLOC)
↓
COCOMO Model
↓
Effort Estimation
↓
Time Estimation
↓
Cost Estimation
✔ Simple mathematical model ✔ Helps in early estimation ✔ Widely used in industry ✔ Provides structured approach ✔ Useful for planning and budgeting
| Feature | COCOMO | Function Points | Expert Judgment |
|---|---|---|---|
| Type | Algorithmic | Functional | Subjective |
| Input | KLOC | Functionality | Experience |
| Accuracy | Medium–High | High | Low–Medium |
| Use | Cost estimation | Size estimation | Quick estimates |
COCOMO (Constructive Cost Model) is an algorithmic software estimation model used to estimate effort, cost, and development time based on software size measured in KLOC. It includes Basic, Intermediate, and Detailed models.
Open this section to load past papers