Presentation is loading. Please wait.

Presentation is loading. Please wait.

COCOMO Model Basic.

Similar presentations


Presentation on theme: "COCOMO Model Basic."— Presentation transcript:

1 COCOMO Model Basic

2 The Constructive Cost Model (COCOMO)
COCOMO is one of the most widely used software estimation models in the world It was developed by Barry Boehm in 1981 COCOMO predicts the effort and schedule for a software product development based on inputs relating to the size of the software and a number of cost drivers that affect productivity

3 COCOMO Models COCOMO has three different models that reflect the complexity: the Basic Model the Intermediate Model and the Detailed Model

4 Basic Model Applicable to small to medium sized software projects
Use for a quick and rough estimates Three modes of software development are considered Organic Semi-detached Embedded

5 Organic Mode A small team of experienced programmers develop software in a very familiar environment Require little Innovation Size range ( 0-50 KLOC)

6 Semi-detached mode An intermediate mode between the organic mode and embedded mode Depending on the problem at hand, the team include the mixture of experienced and less experienced people Require medium Innovation Development environment is medium Size range ( KLOC)

7 Embedded mode Project has tight constraints
Hard to find experienced persons Require significant Innovation Development environment is complex Size range ( over 300 KLOC)

8 COCOMO: Some Assumptions
Primary cost driver is the number of Delivered Source Instructions (DSI) / Delivered Line Of Code developed by the project COCOMO estimates assume that the project will enjoy good management by both the developer and the customer

9 Basic COCOMO Model: Formula
The basic COCOMO equation E= ab (KLOC or KDSI) bb D= cb (E) db P=E/D where E is the effort applied in person-months, D is the development time in months, KLOC / KDSI is the estimated number of delivered lines of code for the project (expressed in thousands) P is the number of people required and ab, bb, cb and db are coefficients given in next slide.

10 Contd… Software project ab bb cb db Organic 2.4 1.05 2.5 0.38
Semi-detached Embedded

11 Basic COCOMO Model: Equation

12 Basic COCOMO Model: Example
E.g. 2: We have determined our project fits the characteristics of Semi-Detached mode We estimate our project will have 32,000 Delivered Source Instructions. Using the formulas, we can estimate: Effort = 3.0*(32) = 146 man-months Schedule = 2.5*(146) = 14 months Productivity = 32,000 DSI / 146 MM = 219 DSI/MM Average Staffing = 146 MM /14 months = 10 FSP

13 Basic COCOMO Model: Example
E.g.1: Suppose that a project was estimated to be 400 KLOC. Calculate the effort and development time for each of the three modes I.e., organic, semidetached and embedded The basic COCOMO equation take the form: E = ab(KLOC) bb D = cb(E) db

14 Basic COCOMO Model: Example cont…
E = ab(KLOC)bb D = Cb(E)db Organic Mode E = 2.4(400)1.05 = PM D = 2.5( )0.38 =38.07 M Semidetached Mode E = 3.0(400)1.12 = PM D = 2.5( )0.38 =38.45 M Embedded Mode E = 3.6(400)1.20 = PM D = 2.5( )0.32 = 38 M

15 COCOMO II Revised version of the original COCOMO
Developed at University of Southern California under the leadership of Dr. Barry Boehm Categories of application/project identified by COCOMO II End User Programming Infrastructure Sector Intermediate Sectors

16 Levels of COCOMO II 3 level model that allows increasingly detailed estimates to be prepared as development progresses Early prototyping level/ Application composition  Use for Application composition projects  Estimates based on object points and a simple formula is used for effort estimation Early design level  Use for Application generators, infrastructure & system integration projects  Estimates based on function points that are then translated to LOC Post-architecture level  Estimates based on lines of source code

17 Early prototyping/ Application Composition Estimation Model
Supports prototyping projects and projects where there is extensive reuse. Size is first estimated using object points Suitable for projects built with modern GUI-builder tools. Based on new Object Points

18 Steps for the Estimation of Efforts in Person Month

19 1. Access Object Counts estimate the number of screens, reports, and 3GL components that will comprise this application.

20 2. Classification of Complexity Levels

21 3.Assign Complexity weights to each objects

22 Steps 4-6 Step 4 :Determine Object-Points: add all the weighted
object instances to get one number, the Object- Point count. Step 5 : Compute new object points NOP = (Object points) * (100 -%reuse)/100 Step 6 : Calculation of productivity rate Productivity rate(PROD) = NOP/Person month (Table given)

23 Step 7 Step 7 : Compute the effort in Person-Months using following scheme Effort in PM = NOP/PROD

24 Example Consider a database application project with the following characteristics: The application has 4 screens with 4 views each and 7 data tables for 3 servers and 4 clients The application may generate two report of 6 sections each from 7 data tables for two server and 3 clients. There is 10% reuse of object points The developer’s experience and capability in the similar environment is low. The maturity of organization in terms of capability is also low. Calculate the object point count, new object points and effort to develop such a project

25 Example cont.. Number of screens = 4 with 4 views each (medium)
Number of reports = 2 with 6 section each (difficult) Object point count = 4*2+2*8 =24 NOP = 24 *(100-10)/100 = 21.6 Efforts in PM = NOP/PROD Effort = 21.6/7 = PM

26 ANY QUESTION?


Download ppt "COCOMO Model Basic."

Similar presentations


Ads by Google