Skip to main content

Module estimation

Module estimation 

Source
Expand description

Pluggable cost estimation models.

Four built-in models:

  • COCOMO Basic — classic Boehm 1981, three project types
  • COCOMO II — modern 2000 calibration, scale factors + cost drivers
  • Putnam/SLIM — Rayleigh-curve manpower model
  • LOCOMO — LLM Output Cost Model (AI-era code generation cost)

Structs§

CocomoBasicModel
COCOMO I Basic model (Boehm 1981).
CocomoIIModel
COCOMO II Post-Architecture model (Boehm 2000).
CodeMetrics
Code metrics extracted per-language or globally.
CostConfig
Shared cost parameters (salary-based models).
EstimationComparison
Multi-model comparison report.
EstimationReport
Complete estimation report.
LanguageEstimation
Per-language estimation breakdown.
LocomoModel
LOCOMO — estimates cost/time to regenerate code with an LLM.
PutnamModel
Putnam/SLIM model.

Enums§

ProjectType
COCOMO project complexity type.

Constants§

COCOMO2_SF_NOMINAL
Nominal values for the 5 COCOMO II scale factors.

Traits§

EstimationModel
Pluggable estimation model.

Functions§

estimate
Generate estimation report from analysis summary.
estimate_all
Run all given models and produce a comparison report.