when metrics mean business...when metrics mean business 1 mauricio aguiar ti métricas rio de...

44
When Metrics Mean Business www.metricas.com.br 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

Upload: others

Post on 20-Feb-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

When Metrics Mean Business

www.metricas.com.br 1

Mauricio Aguiar

TI MétricasRio de Janeiro, RJ

Brasil

9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

Page 2: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

Agenda

– About TI Métricas

– A Short History of Software Measurement in Brazil

– Why Brazilian Organizations Use Functional Sizing in

Software Development Contracts

www.metricas.com.br 2

Software Development Contracts

– How Brazilian Organizations Use Functional Sizing in

Software Development Contracts

Page 3: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

Agenda

– Technical Considerations Related to the Use of

Functional Sizing in Software Development

Contracts

– Benefits and Challenges of Using Functional

www.metricas.com.br 3

– Benefits and Challenges of Using Functional

Sizing in Software Development Contracts

– Summary

Page 4: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

About TI Métricas

www.metricas.com.br 4

About TI Métricas

Page 5: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

Company Information• Software Measurement Company

– Based in Brazil (Rio, Sao Paulo, and Brasilia)– Services:

– Function Point Counting (main service)– Project Estimation (COCOMO II)– Productivity Studies– PSM(*) Consulting and Training– FP Consulting and Training (IFPUG & COSMIC)

www.metricas.com.br 5

– FP Consulting and Training (IFPUG & COSMIC)

– Some Numbers:– 70+ employees (51 IFPUG Certified)– 60,000 FPs counted per month

– Client Areas:– Government - Finance & Banking - Telecom– Insurance - Airline - Energy

(*) Practical Software & Systems Measurement

Page 6: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

Value Proposition

• Support Organizational Change• Before Change

– Effort-based billing• Supplier gets paid based on effort (hours)

• After Change– Size-based billing

• Supplier gets paid based on results (function points)

www.metricas.com.br 6

• Supplier gets paid based on results (function points)

• Advantages– Objectivity - Transparency– Benchmarking - Requirements improvement

• Challenges– Non-functional items - Bad requirements

Page 7: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

Where We Are

Rio

São Paulo

www.metricas.com.br 7

Brasilia

Page 8: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

A Very Short History of Software Measurement in Brazil

www.metricas.com.br 8

Software Measurement in Brazil

Page 9: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

Brasil - #1 in IFPUG Members & CFPS

www.metricas.com.br 9

42%

20%

13%

11%

2%

2% 2%

1%1% 1%

5%

Brazil

Italy

USA

India

Japan

Poland

Canada

Spain

Korea

Mexico

Other

Page 10: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

A Little HistoryThe First Wave

• 1989 - First Brazilian company joins IFPUG

(UNISYS)

• 1991 - First Brazilian FPA User Conference

• 1992-1996 - 7 more user conferences

www.metricas.com.br 10

• 1992-1996 - 7 more user conferences

• 1996 - First CFPS exam in Brazil (3 CFPS)

Page 11: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

A Little HistoryThe Second Wave

• BFPUG founded in 1998

• Local CFPS exams from 2001 to 2007

• Automated CFPS exams since 2008

• ISMA 5 in Brazil (São Paulo) in 2010

www.metricas.com.br 11

• ISMA 5 in Brazil (São Paulo) in 2010

• Number of CFPS over 300 in 2012

Page 12: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

A Little HistoryThe Third Wave?

• More organizations transition to functional sizing

• IFPUG and COSMIC methods coexist

• Non-functional measurement methods appear

(SNAP? Others?)

www.metricas.com.br 12

(SNAP? Others?)

Page 13: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

Why Brazilian Organizations Use Functional Sizing in Software

www.metricas.com.br 13

Functional Sizing in Software Development Contracts

Page 14: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

Why Use Functional SizingWho Controls Price

• All other factors assumed constant, price will be controlled by the:

– Vendor

• Process-oriented pricing - “This will cost more because I will

www.metricas.com.br 14

have to hire an expert to do it”

– Client

• Result-oriented pricing - “This will cost more because of

these added features”

Page 15: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

Why Use Functional SizingClients Like to Be in Control

• Clients like to control price... (who doesn’t?)

– Process orientation

• “Is this guy really an expert? How much does he

www.metricas.com.br 15

cost?”

– Result orientation

• “This extra feature provides great value!”

Page 16: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

Why Use Functional SizingClients Like to Be in Control

• Why does this change cost so much?

– Process orientation

• “Because I will have to spend 2,000 person-hours

www.metricas.com.br 16

on it”

– Result orientation

• “Because I will have to change 200 function points”

Page 17: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

Why Use Functional SizingClients Get to Be in Control

• Functional sizing is result-oriented

• Functional sizing can be understood and verified by

the client

www.metricas.com.br 17

• Functional size measures can be standardized

• Functional size measures can be benchmarked

Page 18: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

How Brazilian Organizations Use Functional Sizing in Software

www.metricas.com.br 18

Functional Sizing in Software Development Contracts

Page 19: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

Types of Models

• Explanatory Models

– Used to understand behavior

– Mostly used by economists, researchers & social scientists

– Example: modeling productivity as a function of several

variables (e.g., COCOMO II effort multipliers) to guide

www.metricas.com.br 19

variables (e.g., COCOMO II effort multipliers) to guide

process improvement initiatives

Page 20: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

• Predictive Models

– Used to predict future behavior

– Used by estimators

– Example: modeling effort as a function of size & productivity

to obtain estimates

Types of Models

www.metricas.com.br 20

to obtain estimates

Page 21: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

• Prescriptive Models

– Used to regulate relationships

– Used in business agreements

– Example: Establishing fixed productivity values for software

development pricing; setting prices based on the value of a

Types of Models

www.metricas.com.br 21

development pricing; setting prices based on the value of a

function point

– These are not estimation models!

Page 22: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

FP-based Business Models

• Business Model

– A ‘way of doing business’

• FP-Based Business Models used in Brazil

www.metricas.com.br 22

– Estimation Models

– Pricing Models

Page 23: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

FP-based Business ModelsEstimation Models

• Basic

– Use FPs and a simple linear model to estimate effort

• Parametric– Use FPs as input to parametric models to estimate effort &

www.metricas.com.br 23

– Use FPs as input to parametric models to estimate effort & schedule

– COCOMO II, SEER, SLiM, etc.

• Other

– Any method that uses size in FPs as input to estimation

Page 24: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

FP-based Business ModelsEstimation Models

• Estimation models are predictive models typically used in– Budgets

– RFPs

– Pricing model calibration

www.metricas.com.br 24

– Pricing model calibration

Page 25: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

FP-based Business ModelsEstimation Models

• Example: Basic

Effort = Size x Productivity

Formula

www.metricas.com.br 25

Effort = Size x Productivity

Hours

Function Points

Hours/FP

Page 26: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

FP-based Business ModelsPricing Models

• Productivity-based model

– Productivity measures the effort to develop a function point.

Will vary with project characteristics:

– Project size

www.metricas.com.br 26

– Team experience

– Team capability

– Platform difficulty

– Application complexity

– etc.

Page 27: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

FP-based Business ModelsPricing Models

• Productivity-based model

– Productivity figures typically include all lifecycle phases

– Typical productivity values: 5, 10, 15, 20 H/FP (hours per

www.metricas.com.br 27

FP)

Page 28: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

FP-based Business ModelsPricing Models

• Productivity-based model

– Productivity values are typically established per project type

based on historical data

– Project types may be based on development platform

www.metricas.com.br 28

– Productivity values may be client-defined or be part of a

client-vendor agreement

– Productivity values may be part of an RFP (as

requirements)

Page 29: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

FP-based Business ModelsPricing Models

• Productivity-based model

– Pricing

– Effort will be computed as

– Size (FP) * Productivity (H/FP) = Effort (H)

www.metricas.com.br 29

– Price will be computed as

– Effort (H) * Hourly Rate ($)

– Applies to both new development & enhancement

projects

Page 30: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

FP-based Business ModelsPricing Models

• Price per Function Point model

– A specific price per function point is established for each

project type

– Price is computed as

www.metricas.com.br 30

– Price is computed as

– Size (FP) * Unit FP Price ($/FP)

– For new development & enhancement projects

Page 31: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

FP-based Business ModelsPricing Models

• Baseline-based model

– A specific price per function point is established for an

installed application base

– A fixed monthly fee is charged for a service set (e.g.,

www.metricas.com.br 31

– A fixed monthly fee is charged for a service set (e.g.,

application maintenance/support)

– Price is periodically updated with baseline growth

– A Service Level Agreement handles details

– Typically used for maintenance & support

Page 32: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

FP-based Business ModelsOther Models

• Defect-based model

– A price reduction (penalty) is associated with a defect

threshold

– The threshold is typically based on a defect density measure

www.metricas.com.br 32

– The threshold is typically based on a defect density measure

(e.g., defects per FP)

– Typically used in contract penalties

Page 33: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

FP-based Business ModelsOther Models

• Negotiation-based model

– Negotiation-intensive

– Client obtains a baseline value from an estimation model

– Client accepts supplier’s bid if lower than estimated value;

www.metricas.com.br 33

– Client accepts supplier’s bid if lower than estimated value;

otherwise negotiation applies.

Page 34: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

FP-based Business ModelsOther Models

• Phase-based Model

– Not all organizations contract all project phases

– Effort may be broken down by project phase

– Phase percentages typically based on historical data

www.metricas.com.br 34

– Phase percentages typically based on historical data

Page 35: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

Technical Considerations Related to the Use of Functional Sizing in Software Development

www.metricas.com.br 35

Sizing in Software Development Contracts

Page 36: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

Technical ConsiderationsPredictive x Prescriptive Models

Estimation (Predictive Model) Pricing (Prescriptive Model)

1. Estimated value should be close toactual

1. Prescribed value should be close toactual

2. Method is expected to giveapproximate results

2. Method is expected to give exactresults

3. Different estimatorsmay produce 3. Different model operators must

www.metricas.com.br 36

3. Different estimatorsmay producedifferent values (depending on theirexpertise and skill)

3. Different model operators mustproduce the same values

4. Input values do not need to beobjective – may depend on estimator’sopinion/assessment

4. Input values must be objective –must not depend on estimator’sopinion/assessment

Page 37: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

Technical ConsiderationsItems Not Covered by Functional Sizing

• Existing Solutions

– Define several different project types and assign them

different productivities

– Use a parametric model

www.metricas.com.br 37

– Use a parametric model

– Transform non-functional characteristics into “equivalent

function points”

– IFPUG SNAP(*)

(*) Potential solution - not currently in use

Page 38: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

Technical ConsiderationsSizing Enhancements

• Current Practice

– Some Brazilian organizations find the IFPUG enhancement

sizing method inaccurate for pricing models

– They prefer to use the NESMA method instead

www.metricas.com.br 38

– They prefer to use the NESMA method instead

– The NESMA method assigns different weights to added,

deleted, and changed function points

Page 39: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

Benefits and Challenges of Using Functional Sizing in

Software Development

www.metricas.com.br 39

Software Development Contracts

Page 40: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

Benefits & ChallengesBenefits

– Improves current practice (‘better than before’)

– Drives productivity up

– Transparent

– Objective

www.metricas.com.br 40

– Objective

– Good for any technology/process

Page 41: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

– Initial productivity determination (especially if no

data is available)

– Non-functional items (FPs not applicable)

– Requirement interpretation may vary (fix poor

Benefits & ChallengesChallenges

www.metricas.com.br 41

– Requirement interpretation may vary (fix poor

requirements)

– Counting rules interpretation (certification helps)

– Keeping a win-win attitude (you can’t always win!)

Page 42: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

Summary

www.metricas.com.br 42

Summary

Page 43: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

SummaryThings to Remember

• Business reasons for using FP-based models– Clients want to be in control– Result-oriented pricing puts client in control– FP-based pricing is result-oriented

• Reasons for success

www.metricas.com.br 43

• Reasons for success– Client in control– Potential productivity improvement– Potential cost reduction– Transparency– Objectivity– Standard-driven

Page 44: When Metrics Mean Business...When Metrics Mean Business 1 Mauricio Aguiar TI Métricas Rio de Janeiro, RJ Brasil 9th Software Measurement European Forum (SMEF), Roma, Italia, 2012

www.metricas.com.br 44

A PSM Transition Organization

[email protected]://www.metricas.com.br/downloads