COCOMO Model (Cost estimation)

COCOMO Model (Cost estimation)

Project Type: Presentation (pptx)

Downloads: 0 - 10 Monday 27th March 2017 Report

COCOMO Model (Cost estimation) - Overview

------------ PAGE 1 ------------ COCOMO MODEL Presented By: MD. Monirujjaman Sarker Student of swe in DIU ID: 171- 35- 2003 Thanks ------------ PAGE 2 ------------ COCOMO model ( Constructive cost model) was proposed by Boehm. This model estimates the total effort in terms of “ person - months” of the technical project staff. Boehm introduces three forms of cocomo. It can be applied in three classes of software project: 1. Organic mode : Relatively simple , small projects with a small team are handled . Such a team should have good application experience to less rigid requirements. 2. Semidetached mode: For intermediate software projects( little complex compared to organic mode projects in terms of size). Projects may have a mix of rigid and less than rigid requirements. 3. Embedded mode: When the software project must be developed within a tight set of hardware and software operational constraints. Ex of complex project: Air traffic control system ------------ PAGE 3 ------------ Forms of cocomo model are: 1. Basic cocomo: Computes software development effort and cost as a function of programme size expressed in terms of lines of code( LOC). The basic cocomo model takes the following form: E= a b ( KLOC) Exp( b b ) persons- months D= c b ( E) Exp( d b ) months Where E- Stands for the effort applied in terms of person months D- Development time in chronological months KLOC- Kilo lines of code of the project A b , b b , c b , d b are the co- efficients for the three modes are given below: From E and D we can compute the no: of people required to accomplish the project as N= E/ D ------------ PAGE 4 ------------ The coefficients of a b , b b , c b , d b for the three modes are: Software projects a b b b c b d b Organic 2.4 1.05 2.5 0.38 Semi- Detach - ed 3.0 1.12 2.5 0.35 Embedd- ed 3.6 1.20 2.5 0.32 ------------ PAGE 5 ------------ Merits of Basic Cocomo model: Basic cocomo model is good for quick, early, rough order of magnitude estimates of software project. Limitations : 1. The accuracy of this model is limited because it does not consider certain factors for cost estimation of software. These factors are hardware constraints, personal quality and experiences, modern techniques and tools. 2. The estimates of Cocomo model are within a factor of 1.3 only 29% of the time and within the factor of 2 only 60% of time. Example: consider a software project using semi- detached mode with 30,000 lines of code . We will obtain estimation for this project as follows: ( 1) Effort estimation E= a b ( KLOC) Exp( b b ) person- months E= 3.0( 30) 1.12 where lines of code= 30000= 30 KLOC E= 135 person- month ------------ PAGE 6 ------------ ( 2) Duration estimation D= c b ( E) Exp( d b ) months = 2.5( 135) 0.35 D= 14 months ( 3) Person estimation N= E/ D = 135/ 14 N= 10 persons approx. 2. Intermediate COCOMO: Computes effort as a function as a function of programme size and a lot of cost drivers that includes subjective assessment of product attributes, hardware attributes , personal attributes and project attributes. The basic model is extended to consider a set of cost driver attributes grouped into 4 categories( Intermediate Cocomo) ( 1) Product Attributes: ( a) Required software reliability ( b) Size of application software ( c) Complexity of the product ------------ PAGE 7 ------------ ( 2) Hardware Attributes: ( a) Run- time performance constraints ( b) Memory constraints ( c) Required turn around time ( d) Volatility of virtual machine ( 3) Personal attributes: ( a) Analyst capability ( b) Software Engineer Capability ( c) Applications Experience ( d) Programming language experience ( e) Virtual machine Experience ( 4) Project Attributes: ( a) Use of software tools ( b) Required development schedule ( c) Application of software engineering methods Now these 15 attributes get a 6- point scale ranging from “ very low” to “ extra high”. These ratings can be viewed as: Very Low Nominal High Very high Extra high L ow ------------ PAGE 8 ------------ Based on the rating effort multipliers is determined. The product of all effort Multipliers result in “ effort adjustment factor” ( EAF). The intermediate Cocomo takes the form. E= ai( KLOC) bi* EAF where E: Effort applied in terms of person- months KLOC : Kilo lines of code for the project EAF : It is the effort adjustment factor The values of a i and b i for various class of software projects are: Software projects a i b i Organic 3.2 1.05 Semi- detached 3.0 1.12 Embedded 2.8 1.20 ------------ PAGE 9 ------------ The duration and person estimate is same as in basic Cocomo model i. e; D= c b ( E) Exp ( d b ) months i. e; use values of c b and d b coefficients N= E/ D persons Merits: 1. This model can be applied to almost entire software product for easy and rough cost estimation during early stage. 2. It can also be applied at the software product component level for obtaining more accurate cost estimation. Limitations: 1. The effort multipliers are not dependent on phases. 2. A product with many components is difficult to estimate. ------------ PAGE 10 ------------ Example: Consider a project having 30,000 lines of code which in an embedded software with critical area hence reliability is high. The estimation can be E= a i ( KLOC) bi *( EAF) As reliability is high EAF= 1.15( product attribute) a i = 2.8 b i = 1.20 for embedded software E= 2.8( 30) 1.20 * 1.15 = 191 person month D= c b ( E) db= 2.5( 191) 0.32 = 13 months approximately N= E/ D = 191/ 13 N= 15 persons approx. ------------ PAGE 11 ------------ Thank You
Back to top of page