/COCOMO-Calculator

Primary LanguageJavaScriptMIT LicenseMIT

COCOMO-Calculator

About COCOMO

COCOMO stands for COnstructive COst MOdel.
It is is used to estimate the development efforts which are involved in a project. COCOMO is based upon the estimation of lines of code in a system and the time.

COCOMO model strategies are classified into 3 categories:

  • Organic -> That is when project is small and simple and the team is small with prior experience.
  • Semi-detached -> When project has complexity and team requires more experience, better guidance and creativity.
  • Embedded -> It is when project has fixed requirements of resources and product is developed within very tight constraints.

Types of COCOMO Models

  • Basic
  • Intermediate
  • Advanced

1. Basic COCOMO Model

The Basic COCOMO Model can be used for quick and slightly rough calculations of Software Costs since the model considers the lines of code mainly along with constant values obtained from software project types.

The estimation is given by:

equation
equation
equation

where,
E is effort applied in person-months.
D is development time in months.
P is the total no. of persons required to accomplish the project.

The constant values a,b,c, and d for the Basic Model for the different categories of the system are :
basic cocomo


2. Intermediate COCOMO Model

Intermediate COCOMO model is an extension of the Basic COCOMO model which includes a set of cost drivers into account in order to enhance more accuracy to the cost estimation model as a result.

equation
equation
equation

where,
EAF is the Effort Adjustment Factor, which is calculated by multiplying the parameter values of different cost driver parameters..
E is effort applied in person-months.
D is development time in months.
P is the total no. of persons required to accomplish the project.

The parameters for calculating EAF are :
parameters cocomo




The constant values a,b,c, and d for the Intermediate Model for the different categories of the system are :
inter cocomo


3. Advanced COCOMO Model

The model incorporates all qualities of both Basic COCOMO and Intermediate COCOMO strategies on each software engineering process.
The model accounts for the influence of the individual development phase (analysis, design, etc.) of the project, it uses multipliers for each phase of the project , it includes more factors that influence the software projects and gives more accurate estimations.

The six phases of advanced COCOMO are:

  1. Planning and requirements
  2. System design
  3. Detailed design
  4. Module code and test
  5. Integration and test
  6. Cost Constructive model


When you run the main.py the application starts and this window opens:


ss1

Click on "Calculate Now" and it will redirect you towards this page:


ss2

Here you have to select any one of the COCOMO models available. Later on you will be taken to this page where you have to fill in the details and select the appropriate options.


ss3

If you select the Basic model, it will take you directly to the result screen:


ss4

If you select Intermediate model, then it will take you to this page where you have to select the suitable parameter values:


ss5

And finally, for the Advanced model, it will ask you to select some values of the parameters like this and then results will be shown


ss6