COCOMO model

hajraazam 3,589 views 20 slides May 31, 2019
Slide 1
Slide 1 of 20
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20

About This Presentation

This material covers all aspects of COCOMO model.Which is major topic of Software Engineering.
Like share and clip this slide.


Slide Content

COCOMO Model Presented by Hajra Azam ( 16201519-093) 1 5/22/2019

Table Of Content Introduction to COCOMO Model Key Parameters for testing Quality Development Modes Comparison of Three COCOMO modes COCOMO Models Advantages and Disadvantages 2 5/22/2019

Introduction to COCOMO Model The COCOMO model is one of the most popular cost estimating model in software engineering domain which is based upon LOC (Line Of Code). COCOMO stands for Co nstructive Co st Mo del.  It is a procedural cost estimate model for software projects. It was proposed by Barry Boehm in 1970 and published in 1981   . COCOMO predicts the effort and schedule for a software product development based on inputs related to the size of the software.   3 5/22/2019

Key Parameters for testing Quality Effort & Schedule Effort: Amount of labor that will be required to complete a task. It is measured in person-months units. Schedule: Amount of time that will be required for the completion of the job. It is measured in the units of time such as weeks, months. 4 5/22/2019

Development Modes There are three modes of software development project based on development complexity. . 5 5/22/2019

Organic Mode Relatively small , simple software projects . problem is well understood and has been solved in the past. Relatively small and requires little innovation . Team size is small and team members have a good experience. Semi-detached Mode The projects classified as Semi-Detached are comparatively less familiar and difficult to develop compared to the organic ones. Require better guidance and creativity. Team size is medium with mixed experience. 6 5/22/2019

  Embedded Mode It is combination of organic and semi detach mode. A software project with requiring the highest level of complexity, creativity, and experience requirement fall under this category. Such software requires a larger team size than the other two mode. Developers need to be sufficiently experienced and creative to develop such complex models. 7 5/22/2019

Comparison of Three COCOMO modes 8 5/22/2019

COCOMO Models 9 5/22/2019

Basic COCOMO Model Basic COCOMO is good for quick, early, rough of software costs. It does not account for differences in hardware constraints , Team quality and experience , use of modern tools and techniques , and other project attributes. Project estimations: Approximate estimate of project parameters(cost , development Time, persons required to complete a task). Software development effort is estimated using LOC (Line Of Code) 10 5/22/2019

Basic COCOMO Model: Equations (Effort applied) E = a b (KLOC) b b (Development Time) D = c b (E) d b (Productivity) P = KLOC/E (Staff Size) SS = E/D persons Where KLOC  Kilo Line Of Code(Thousands of line). A,b,c,d are coefficients . 11 5/22/2019

Example 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. Solution The basic COCOMO equations take the form: E = a b (KLOC)b b D = c b (E)d b Estimated size of the project = 400 KLOC 1. Or ganic Mode E = 2.4 (400) 1.05 = 1295.31 D = 2.5 (1295.31) 0.38 = 38.07 2. Semi detached Mode E = 3.0 (400) 1.12 = 2462.79 D = 2.5 (2462.79) 0.35 = 38.45 3. Embedded Mode E = 3.6 (400) 1.20 = 4772.81 D = 2.5 (4772.81) 0.32 = 37.59 12 5/22/2019

Intermediate COCOMO Model It is extension of Basic COCOMO model. In the Intermediate model ,additional set of 15 predictors called cost drivers are introduced. It refine estimates obtained by Basic COCOMO model. It refines cost estimations using 15 cost drivers. Classification of Cost Drivers and their attributes The cost drivers are grouped into 4 categories:- 1.Product attributes a. Required software reliability (RELY) b. Database size (DATA) c. Product complexity (CPLX) 13 5/22/2019

Classification of Cost Drivers and their attributes(cont’d) 2. Computer attributes a. Execution time constraint (TIME) b. Main store constraint (STOR) c. Virtual machine volatility (VIRT) d. Computer turnaround time (TURN) 3. Personnel attributes a. Analyst capability (ACAP) b. Application experience (AEXP) c. Programmer capability (PCAP) d. Virtual machine experience (VEXP) e. Programming Language experience (LEXP) 4. Project attributes a. Modern programming practices (MODP) b. Use of software tool (TOOL) c. Required development schedule (SCED) 14 5/22/2019

Intermediate COCOMO Model : Equations (Effort) E = ai (KLOC)bi * EAF (Development Time) D = ci (E)di (Staff Size) SS = E/D persons (Productivity) P = KLOC/E Where EAF  Effort Adjustment Factor Co- efficients for Intermediate COCOMO 15 5/22/2019

Detailed COCOMO Model It refine intermediate COCOMO Model. 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 Development phases : Plan/ requirements: This is the first phase of the development cycle. The requirement is analyzed, the product plan is set up and a full product specification is generated. This phase consumes from 6% to 8% of the effort and 10% to 40% of the development time. Product Design : The second phase of the COCOMO development cycle is concerned with the determination of the product architecture and the specification of the subsystem. This phase requires from 16% to 18% of the nominal effort and can last from 19% to 38% of the development time. 16 5/22/2019

Detailed COCOMO Model :Development Phases Programming: The third phase of the COCOMO development cycle is divided into two sub phases: detailed design and code/unit test. This phase requires from 48% to 68% of the effort and lasts from 24% to 64% of the development time. Integration/test: This phase of the COCOMO development cycle occurs before delivery. This mainly consist of putting the tested parts together and then testing the final product this phase requires from 16% to 34% of the nominal effort and can last from 18% to 34% of the development time 17 5/22/2019

Detailed COCOMO Model :Equations (Effort) E = ai (KLOC)bi * EAF (Development Time) D = ci (E)di Ep = µpE ; µp = Used for effort Dp = pD ; p = Used for schedule ( staff size ) SS = E/D persons ( productivity )P = KLOC/E EAF = Effort Adjustment factor 18 5/22/2019

Advantages: COCOMO is realistic and easy to interpret. Works on historical data and hence is more predictable and accurate. The drivers are very helpful to understand the impact on the different factors that affect the project costs. Disadvantages: COCOMO model ignores requirements and all documentation. It ignores customer skills, cooperation, knowledge and other parameters . It ignores hardware issues. It is dependent on the amount of time spent in each phase. 19 5/22/2019

Thank you 20 5/22/2019
Tags