CNMES15 - COSMIC approximate FSM - Frank Vogelezang

41
APROXIMACIÓN DE TAMAÑO FUNCIONAL Congreso Nacional de Medición y Estimación de Software ‘15 Frank Vogelezang COSMIC President

Transcript of CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Page 1: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

APROXIMACIÓN DE TAMAÑO FUNCIONAL

Congreso Nacional de Medición y Estimación de Software ‘15

Frank VogelezangCOSMIC President

Page 2: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Agenda When do you need approximation Count, Compute, Judge Scaling Classification Approximation methods Localization

Page 3: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

When do you need approximation

APPROXIMATION

Page 4: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Reasons for approximation Speed Timing Quality

Page 5: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Rapid size measurement High-level size estimate The sooner, the better Board-level decisions

Page 6: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Early size measurement Not all details are documented yet Needed now Budget decisions

Page 7: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Approximate size measurement Not all documentation is available Quality of documentation is poor Portfolio decisions

Page 8: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Count, compute, judge

C-C-J

Page 9: CNMES15 - COSMIC approximate FSM - Frank Vogelezang
Page 10: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

How many people

Tickets scanned41.392Suites & boxes24.802Staff1.593

67.787 people

COUNT

Upper ring~5 sections x~1.500 seatsLower ring~16 sections x~2.000 seatsSuites & boxes~25.000 seats

~64.500 people

COMPUTE

Capacity: 114.50045% full

~ 51.500 people

JUDGE

Steve McConnell - Software Estimation, Demystifying the Black Art

Page 11: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Count, Compute, JudgeCOSMIC Standard Count

Current approximation approachesCompute

New approaches Judge &Compute

Page 12: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Scaling

SCALING

Page 13: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Scaling – overview

Page 14: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Scaling – high-level

Page 15: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Scaling – zooming-in

Page 16: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Scaling – details

Page 17: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Scaling – Level of Granularity

Page 18: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Classification

CLASSIFICATION

Page 19: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Classification

Page 20: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Classification

Page 21: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Approximation methods

METHODS

Page 22: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Approximation methods Average functional process Fixed size classification Equal size bands Average use case Early & Quick EASY Textual requirements EPCU

Page 23: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Average functional processScaling from functional process to CFP

4.880 CFP610 Functional Processes8 CFP/Functional Process

Page 24: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Fixed size classificationAssign a category to a functional process:

Small 5 CFPMedium 10 CFPLarge 15 CFP. . . .

To estimate:Classify in which band a FP belongs

Page 25: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Equal size bands Count a sample of software Sort the functional processes on size Divide the total size in bands Calculate the size of an average

functional process in each band

To estimate:Classify in which band a FP belongs

Page 26: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Equal size bands – example96 CFP12 FP4 bands(4 x 3 + 2 x 6) / 6 = 4(6 + 2 x 9) / 3 = 8(2 x 12) / 2 = 1224 0

3

6

9

12

15

18

21

24

B1 B2 B3 B4

SMLXL

Page 27: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Average Use CaseScaling from Use Case to CFP

8 CFP/Functional Process3.5 Functional Process/Use Case28 CFP/Use Case

Page 28: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Early & QuickTwo levels of classification

Page 29: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

EASYTwo types of classification

EASY is the acronym for EArly & SpeedY

Page 30: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Approximation methods

METHODS

Emerging or new approaches

Beyond

Page 31: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Textual requirements Count informally written requirements

per functional process Store requirements and size as

reference Divide functional processes into sets

of fuzzy size classes

Train a text classification algorithm to the linguistic features of the reference set

Page 32: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

EPCU

EPCU is the acronym for Estimation of Projects in a Context of Uncertainty

“The Uncertainty: it is not possible to measure it, however it is possible to contextualize it”

Page 33: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

33

Generador de Estimados

From seemingly exact experts

Page 34: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

34

Generador de Estimados

To focused uncertainty

More details in the15.30 workshop by

Page 35: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Localization

LOCAL

Page 36: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Localization All approaches are based on

documents Content can vary from place to place Local calibration is necessary

Local means that calibration is done in an environment that is representative

Page 37: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

The localization principle Define high-level software artifacts Verify that they are representative Artifacts must be similar in size or

classifiable into size bands Determine the scaling factor Always give an indication of precision

Verify the local results

Page 38: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Agenda When do you need approximation Count, Compute, Judge Scaling Classification Approximation methods Localization

Page 39: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

Recap Three reasons for approximation

Speed, Timing or Quality Six established approaches available New approaches in development Always calibrate locally

Guideline for Early or Rapid COSMIC FSMcosmic-sizing.org/?p=3244

Page 40: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

ANSWERS!QUESTIONS?

Q&A

Page 41: CNMES15 - COSMIC approximate FSM - Frank Vogelezang

www.cosmic-sizing.org