26
COCOMO II 資資資 資資資

COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development

  • View
    241

  • Download
    0

Embed Size (px)

Citation preview

Page 1: COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development

COCOMO II

資管研一 張永昌

Page 2: COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development

Agenda Overall Model Definition COCOMO II Models for the Software Marketplace

Sectors COCOMO II Model Rationale and Elaboration Development Effort Estimates Software Economies and Diseconomies of Scale Previous Approaches Scaling Drivers

Precedentedness (PREC) and Development Flexibility (FLEX)

Architecture / Risk Resolution (RESL) Team Cohesion (TEAM) Process Maturity (PMAT)

Adjusting Nominal Effort Development Schedule Estimation Using COCOMO II

Lines of Code Function Points Converting Function Points to Lines of Code

Breakage

Page 3: COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development

Overall Model Definition COCOMO II strategy:

Preserve the openness of the original COCOMO;

Key the structure of COCOMO II to the future software marketplace sectors described earlier;

Key the inputs and outputs of the COCOMO II submodels to the level of information available;

Enable the COCOMO II submodels to be tailored to a project's particular process strategy.

Page 4: COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development

COCOMO II Models for the Software Marketplace Sectors

COCOMO II capability for estimation: Application Generator System Integration Infrastructure

Two life cycle : Early Design Post-Architecture

Page 5: COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development

COCOMO II Model Rationale and Elaboration

Page 6: COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development

Three-stage The earliest phases or spiral cycles will

generally involve prototyping, using the Application Composition model capabilities.

The next phases or spiral cycles will generally involve exploration of architectural alternatives or incremental development strategies.

Once the project is ready to develop and sustain a fielded system, it should have a life- cycle architecture, which provides more accurate information on cost driver inputs, and enables more accurate cost estimates.

Page 7: COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development

Development Effort Estimates

Bnominal (Size) A PM

PM : Person Months (人月)

A : constant

Size : Size of software development

units = KSLOC ( units of thousands of source lines of code )

B : scale factor

Page 8: COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development

Software Economies and Diseconomies of Scale

B < 1.0 : the project exhibits economies of scale.

B = 1.0 : the economies and diseconomies of scale are in balance.

B > 1.0 : the project exhibits diseconomies of scale.

Page 9: COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development

Previous Approaches Original COCOMO :

Organic B=1.05 Semidetached B=1.12 Embedded B=1.20

Ada COCOMO : Embedded ( COCOMO ) B : 1.04~1.24

COCOMO II : combin : COCOMO and Ada COCOMO Arcgitecture 、 Risk ( Ada COCOMO ) =>RESL add : Precedentedness

(PREC) 、 Development Flexibility (FLEX) 、 Team Cohesion (TEAM)

Page 10: COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development

Scaling Drivers

iw0.010.91B

Page 11: COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development
Page 12: COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development

Precedentedness (PREC) and Development Flexibility (FLEX)

Feature Very Low

Nominal / High

Extra High

Precedentedness

Organizational understanding of product objectives

General Considerable

Thorough

Experience in working with related software Systems

Moderate Considerable

Extensive

Concurrent development of associated new hardware and operational procedures

Extensive Moderate Some

Need for innovative data processingarchitectures, algorithms

Considerable Some Minimal

Development Flexibility

Need for software conformance with preestablished requirements

Full Considerable

Basic

Need for software conformance with external interface specifications

Full Considerable

Basic

Premium on early completion High Medium Low

Page 13: COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development

Architecture / Risk Resolution (RESL)

Page 14: COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development

Team Cohesion (TEAM)

Page 15: COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development

Process Maturity (PMAT) organized around : Software

Engineering Institute’s Capability Maturity Model (CMM)

two ways of rating Process Maturity : CMM Maturity level

Overall Maturity Level p CMM Level 1 (lower half) p CMM Level 1 (upper half) p CMM Level 2 p CMM Level 3 p CMM Level 4 p CMM Level 5

Key Process Areas ( KPAs )

Page 16: COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development
Page 17: COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development

18

1 18

5

100

%5

i

iKPA

KPAs:

Page 18: COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development

Adjusting Nominal Effort Early Design Model

Post-Architecture Model

7

1nominaladjusted PMPM

iiEM

17

1nominaladjusted PMPM

iiEM

Page 19: COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development

Development Schedule Estimation

100

%)(67.3 )01.12.028.0( SCED

PMTDEV B

Page 20: COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development

Using COCOMO II

Determining Size Lines of Code

Page 21: COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development
Page 22: COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development

Function Points

Page 23: COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development

Counting Procedure for Unadjusted Function Points1.Determine function counts by type.2. Determine complexity-level function counts.

Page 24: COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development

Apply complexity weights.

Compute Unadjusted Function Points.

Page 25: COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development

Converting Function Points to Lines of Code

Page 26: COCOMO II 資管研一 張永昌. Agenda Overall Model Definition COCOMO II Models for the Software Marketplace Sectors COCOMO II Model Rationale and Elaboration Development

Breakage

原本額外

百分比BRAK

%20100000

20000: ex