Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Cocomo PDF

Download as pdf or txt
Download as pdf or txt
You are on page 1of 14

Cocomo Model

By: Dr. Dipti Chauhan


COCOMO Model
• Boehm proposed COCOMO (Constructive Cost Estimation Model) in 1981.
• COCOMO is one of the most generally used software estimation models in the world.
• COCOMO predicts the efforts and schedule of a software product based on the size of the
software.
• In COCOMO, projects are categorized into three types:
• Organic
• Semidetached
• Embedded
Project Categories
• Organic: A development project can be treated of the organic type, if the project deals with developing a
well-understood application program, the size of the development team is reasonably small, and the team
members are experienced in developing similar methods of projects. Examples of this type of projects
are simple business systems, simple inventory management systems, and data processing systems.
• Semidetached: A development project can be treated with semidetached type if the development consists
of a mixture of experienced and inexperienced staff. Team members may have finite experience in related
systems but may be unfamiliar with some aspects of the order being developed. Example of
Semidetached system includes developing a new operating system (OS), a Database Management
System (DBMS), and complex inventory management system.
• Embedded: A development project is treated to be of an embedded type, if the software being developed is
strongly coupled to complex hardware, or if the stringent regulations on the operational method exist. For
Example: ATM, Air Traffic control.
COCOMO Model
• According to Boehm, software cost estimation should be done through three
stages:
• Basic Model
• Intermediate Model
• Detailed Model
Basic COCOMO Model
Basic COCOMO Model: The basic COCOMO model provide an accurate size of the
project parameters. It estimates the software development effort using only Lines of
code. Various equations for basic COCOMO estimation model:
Effort ( E ) =ab*(KLOC) bb Persons per Month
Duration (D) = cb*( E) db months Modes ab bb cb db
Organic 2.4 1.05 2.5 0.38
Number of Persons (P) = E/D
Semi-detatched 3 1.12 2.5 0.35
Productivity = KLOC/E Embedded 3.6 1.2 2.5 0.32

Where ab, bb , cb , db are constants for each group of software products which takes the
following values.
Intermediate Model
Intermediate Model:
• This is an extension of Basic COCOMO model.
• This model makes use of “Cost driver attributes” to compute the cost of software.
• The intermediate COCOMO model recognizes these facts and refines the initial
estimates obtained through the basic COCOMO model by using a set of 15 cost
drivers based on various attributes of software engineering.
Classification of Cost Drivers and their attributes
Personnel attributes -
Product attributes - • Analyst capability
• Required software reliability extent • Software engineering capability
• Size of the application database • Applications experience
• The complexity of the product • Virtual machine experience
• Programming language experience

Hardware attributes - Project attributes -


• Run-time performance constraints • Use of software tools
• Memory constraints • Application of software engineering
• The volatility of the virtual machine methods
environment • Required development schedule
• Required turnabout time
Classification of Cost Drivers and their attributes

• These 15 attributes get a 6 point scale ranging from very low to extra
high. These ratings can be viewed as
• Very Low
• Low
• Nominal
• High
• Very High
• Extra High
Classification of Cost Drivers and their attributes
Intermediate COCOMO Model
Various equations for Intermediate COCOMO estimation model:
Effort ( E ) =ai*(KLOC) bi * EAF Persons per Month
Duration (D) = ci*( E) di months ai bi ci di
Modes
Number of Persons (P) = E/D Organic 3.2 1.15 2.5 0.38

Productivity = KLOC/E Semi-detatched 3.0 1.12 2.5 0.35


Embedded 2.8 1.20 2.5 0.32
Where ab, bb , cb , db are constants for each group of software products which takes the
following values.
EAF is effort adjustment factor
• Qu: Consider an office automation system. There are 4 major modules-
• Data entry = 0.6 KLOC
• Data Update = 0.6 KLOC
• Query = 0.8 KLOC
• Reports = 1.0 KLOC
The attributes are
Complexity = High =1.15
Storage= High= 1.06
Experience= low=1.13
Programmer capability = low =1.17
Use COCOMO model to estimate the total effort
Effort Adjustment factore= 1.15*1.06*1.13*1.17 = 1.61
Effort ( E )= 18.24
Duration = 7.52 months
Number pf persons = 2 approx.
Productivity = 0.164
Detailed COCOMO
• Detailed COCOMO incorporates all characteristics of the intermediate version with an
assessment of the cost driver’s impact on each step of the software engineering process. The
detailed model uses different effort multipliers for each cost driver attribute. In detailed
COCOMO, the whole software is divided into different modules and then we apply
COCOMO in different modules to estimate effort and then sum the effort. The Six phases
of detailed COCOMO are:
• Planning and requirements
• System design
• Detailed design
• Module code and test
• Integration and test
The effort is calculated as a function of program size and a set of cost drivers are given according to
each phase of the software lifecycle.
• Cost of each system is calculated separately, This reduces the amrgins of error.
Calculation
Phase-wise Estimation values

You might also like