This document provides a cost and schedule estimation for developing the full Ada-based OpenRocket simulator, calculated using the Constructive Cost Model (COCOMO) for software development.
Based on the scope defined in the Software Requirements Specification (SRS), translating the core functionalities of OpenRocket (6-DOF engine, UI wrapper, component parsing, aerodynamics engine) into Ada will result in an estimated 15,000 Lines of Code (15 KLOC).
Because the project relies on well-understood physics equations and relatively standard GUI concepts, we classify the project mode as Organic (small team, familiar environment, standard requirements).
The basic COCOMO formulas for the Organic mode are:
- Effort (E):
E = 2.4 * (KLOC)^1.05[Person-Months] - Time/Duration (Tdev):
Tdev = 2.5 * (E)^0.38[Months] - Staffing (P):
P = E / Tdev[Persons]
Plugging in our estimated KLOC = 15:
-
Effort (E):
E = 2.4 * (15)^1.05E ≈ 2.4 * 16.96E ≈ 40.7 Person-Months -
Time (Tdev):
Tdev = 2.5 * (40.7)^0.38Tdev ≈ 2.5 * 4.09Tdev ≈ 10.2 Months -
Average Staffing (P):
P = 40.7 / 10.2P ≈ 4 Full-Time Developers
Assuming an average loaded salary for an Ada Software Engineer of $10,000 USD per month (including benefits and overhead):
- Total Development Cost:
40.7 Person-Months * $10,000 USD/Month - Total Estimated Cost: $407,000 USD
| Metric | Value |
|---|---|
| Mode | Organic |
| Estimated Size | 15 KLOC |
| Effort | 40.7 Person-Months |
| Schedule (Duration) | 10.2 Months |
| Team Size | 4 Developers |
| Total Cost | $407,000 USD |
Note: These estimates cover the development phase up to initial delivery and do not account for long-term maintenance or post-release expansions.
As of the current sprints (covering Core Math and Quaternions, Components, Aerodynamics including Barrowman Fin logic, Motor Subsystem, 6-DOF Flight Loop, Recovery Systems, robust XML/RASP Parsers, and a functional CLI), the codebase size is roughly 1.54 KLOC (1536 lines). Applying the COCOMO formula retrospectively:
-
Effort (E):
E = 2.4 * (1.54)^1.05E ≈ 2.4 * 1.575E ≈ 3.78 Person-Months -
Time (Tdev):
Tdev = 2.5 * (3.78)^0.38Tdev ≈ 2.5 * 1.65Tdev ≈ 4.12 Months -
Cost Estimation:
3.78 Person-Months * $10,000 USD/Month- Cost for current codebase: $37,800 USD