Implementation of COCOMO (Constructive Cost Model) estimates using [tokei] as a library to calculate total SLOC and [scc] as reference
See also [tokei#359]
```test $ cocomo -h COCOMO (Constructive Cost Model) CLI utility
Usage: cocomo [OPTIONS] [PATH]...
Arguments: [PATH]... Files / Directories [default: .]
Options:
--average-wage
```text
Markdown 2 70 0 58 12
Rust 1 113 94 4 15 |- Markdown 1 7 0 7 0
```
text
$ cocomo
Description | Value
---------------------------|---------------------------------
Total Source Lines of Code | 106
Estimated Cost to Develop | $2559.84
Estimated Schedule Effort | 1.42 months
Estimated People Required | 0.16
text
$ cocomo --sloccount
Total Physical Source Lines of Code (SLOC) = 106
Development Effor Estimate, Person-Years (Person-Months) = 0.02 (0.23)
(Basic COCOMO model, Person-Months = 2.40*(KSLOC**1.05)*1.00)
Schedule Estimate, Years (Months) = 0.12 (1.42)
(Basic COMOMO model, Months = 2.50*(person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 0.16
Total Estimated Cost to Develop = $2560
(average salary = $56286/year, overhead = 2.40)