SlideShare a Scribd company logo
1 of 41
Agile KPIs
Gaetano Mazzanti
Gama-Tech
are you measuring your performances ?
a metric is a measure or a combination of measures for
quantitatively assessing, controlling or improving
a process, a product, a team
a KPI, Key Perfomance Indicator, is a (aggregate)
metric that:
is tied to a strategic objective;
have at least one defined time-bound target value
(number, range, limit, percentage, trend, variation)
Metric vs. KPI
self-induced vs. enforced
internal vs. external
snapshot vs. forward looking
different perspectives
actionable understandable
accessible
Many “recipes” and
characteristics, i.e.
SMART
Specific
Measurable
Achievable
Relevant
Timely
INVEST
Immediately actionable
Negotiable
Valuable
Estimable
Sized to fit
Testable
a good KPI
3 are enough
Agile vs. Traditional KPIs
classic KPIs
efforttimescope quality
some examples (time, effort, scope)
Is planning accurate ?
How long does it take for a
requirement to be delivered
to customers ?
Are effort and cost estimates
accurate ?
How is effort split between
design, coding and testing ?
Are requirements satisfied ?
Are requirements changing ?
How often ?
How “big” is the software ?
Schedule Adherence &
Variance
Lead Time, Cycle Time
Slip Charts
Effort & Cost Adherence
Cost per Phase
Amount of Rework
Requirements adherence
Requirements volatility (churn)
Code size (KLOCs :( ,
#modules, #classes, …)
a typical problem
time
Is planning accurate ?
slip chart
33%
200%
66%
300%
Defects
Code
Architecture
Usability
Documentation
Installation
Support
etc.
metrics explosion
Quality
exponential metric growth: i.e. Defects
total # defects
# defects by category (i.e. critical, major, minor)
# non-functional defects (usability, performance)
# new defects / time
# defects fixed / time
# critical defects / time
# re-opened defects (regression)
# tests / defect
time required to fix a defect
# defects found in-house / total # defects (DRE)
# defects found / # test hours spent
etc.
too many KPIs are useless
keep it simple, one step at a time
self-observation
problem #1
neglect shortcomings
problem #2
excuses
benchmarking
problem #3
who do you compare to?
evaluating: easier said than done
Metrics should not scare or threaten people
Enforced metrics are often cheated or ignored
Cheating
copy & paste some code,
copy & paste unit tests making slight modifications
result: increased code coverage
write some buggy code and
quickly fix it
result: increased number of fixed bugs
(maybe you also get credit for additional LOCs!)
Sex, Lies & Statistics
(beware of wrong/biased numbers)
1920: “most criminals are farmers”
actually most people where farmers at that time
1940: “twins more likely if mothers are in their 25s-30s”
most mothers gave birth in their 25s-30s at that time
growth much easier when
starting from a small base
Code Quality Metrics
KLOCs
code reviews & specific analysis tools needed
how fragile you are
Complexity
Duplication
Smells
Churn
Code Analysis Tools are Fun!
source:
source:
some Agile principles:
Create Value for the customer as early as
possible
Eliminate Waste (WIP, YAGNI)
Drive and Respond to Change, quickly
Time/Capacity Boxing (see Scrum and Kanban)
Provide Visibility into project progress
Enter Agile
productivity defects efficiency
effort customer satisfaction
velocity time requirements
size trend quality burndown roi
schedule business value capacity
complexity cumulative flow effectiveness
Googling with KPIs
Story Point
an arbitrary value to express effort, complexity and risk
associated to a user story, feature, task
Velocity
S
Velocity
# story points / interval (where
interval is usually a sprint or more
in general time)
Velocity is a team specific metric, it
cannot be used to compare
different teams
Velocity Improvement is a key goal
for Agile teams
0
100
200
300
400
500
600
1 2 3 4 5 6 7 8 9 10 11
ideal SP left
Release Burndown Chart
sprint
Average velocity =
50 Story Points /
Sprint
500 Story Points (SP)
=> 10 Sprints
-100
0
100
200
300
400
500
600
1 2 3 4 5 6 7 8 9 10 11 12 13 14
added SP
SP carried over from
previous sprint
SP todo from initial list
ideal trend
velocity
added SP trend
actual trend
Release Burndown Chart
sprint
velocity
delay
new expected
completion date
SPs have to be dropped
to get back on track
0
50
100
150
200
250
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
real SP left
real Xtra time
left
ideal burndown
ideal Xtra time
left
Sprint Burndown Chart
bad
baddays
delay
look, ma
instant feedback!
Xtra time = time reserved
for other tasks (emergencies,
bug fixing, reviews, etc.)
each story has one or more automated tests
when tests pass the story has been completed
=> you are forced to become agile:
cannot do BDUF*, must do automated testing/
continuous integration
must deliver early value
Compile
Build
Test
Deploy
Running Tested FeaturesRon Jeffries
C.I. Quality Feedback Loop*Big Design Up Front
Backlog
Story
Points
Value For
Customer
Value
Delivered
(*100)
story 1 13 21 162
story 2 21 13 62
story 3 34 21 62
story 4 5 8 160
story 5 5 5 100
story 6 13 3 23
story 7 8 8 100
story 8 3 1 33
story 9 13 5 38
story 10 21 5 24
Early Value Delivery (again)
Business Value Points
Desire of Customer
Value =
Cost of providing functionality
68.3% of value
already delivered
here
same velocity
greater value!
story points
Iteration Related Metrics
(%) Stories & Story Points Completed
(%) Stories added/removed (Sprint & Release)
Stories unfinished/moved to Next Sprint
Sprints Moved to Next Release
Lead & Cycle Time (Stories & Defects)
Average Age of Stories and Defects
(%) Failed Builds, (%) Failed Tests
Defects Added & Fixed (absolute & trend)
WIP
Cumulative Flow Diagram
to do
doing
done
cycle time
cycle time
WIP
WIP is
increasing
done
doing
to do
Work In Process (WIP) and Cycle Time
should be minimized
Some Kanban Specific Metrics
Cycle Time =
Number of Things in Process/
Average Completion Rate
Little’s Law
time spent in each lane ?
bottlenecks ?
cycle time
lead time
Flow = Speed * Density,
Density Speed
=> Traffic Jam
40 60 25
ouch!
ouch!
first thing in the morning: dashboard!
Short Term vs. Long Term Dashboard.
Short Term: build ok, automated tests ok, value earned, schedule
(burndown), critical bugs entered, critical bugs still there, impediments, ...
Long Term: trends: failed builds, failed tests, # of tests, velocity, earned
value per month, # and type of bugs, …
i.e. increase test coverage
Essential Tools
a big board and lots of cards (hard to extract metrics though)
source code management (obvious)
automated build & test suites (CI)
issue tracking*
some/many of these tools may be
part of integrated product suites
*unless you belong to a small elite
code analysis
agile management system
dashboard
Take-Home Points
measure, evaluate, improve
communicate clearly
@you: are you getting this ?
transparency: KPIs visible to everyone
communicate visually
use simple tools (but use them!)
build a simple but effective dashboard
aim higher
Gaetano Mazzanti
info@gama-tech.net
Gama-Tech
Photo Credit:
iStockphoto.com S.Bouchard
Bruce McBroom/@Apple Corps Ltd

More Related Content

What's hot

Agile effort estimation
Agile effort estimation Agile effort estimation
Agile effort estimation Elad Sofer
 
Keynote: Testing and Quality in the Scaled Agile Framework for Lean Enterpris...
Keynote: Testing and Quality in the Scaled Agile Framework for Lean Enterpris...Keynote: Testing and Quality in the Scaled Agile Framework for Lean Enterpris...
Keynote: Testing and Quality in the Scaled Agile Framework for Lean Enterpris...Derk-Jan de Grood
 
Extreme Programming
Extreme ProgrammingExtreme Programming
Extreme ProgrammingErkan Erol
 
The Synergistic Nature of PI Objectives
The Synergistic Nature of PI ObjectivesThe Synergistic Nature of PI Objectives
The Synergistic Nature of PI ObjectivesCharlene Cuenca
 
10 steps to a successsful enterprise agile transformation global scrum 2018
10 steps to a successsful enterprise agile transformation   global scrum 201810 steps to a successsful enterprise agile transformation   global scrum 2018
10 steps to a successsful enterprise agile transformation global scrum 2018Agile Velocity
 
Agile Transformation: People, Process and Tools to Make Your Transformation S...
Agile Transformation: People, Process and Tools to Make Your Transformation S...Agile Transformation: People, Process and Tools to Make Your Transformation S...
Agile Transformation: People, Process and Tools to Make Your Transformation S...QASymphony
 
Testing in Agile Projects
Testing in Agile ProjectsTesting in Agile Projects
Testing in Agile Projectssriks7
 
Scrum 101: Introduction to Scrum
Scrum 101: Introduction to ScrumScrum 101: Introduction to Scrum
Scrum 101: Introduction to ScrumArrielle Mali
 
Agile-overview: Agile Manifesto, Agile principles and Agile Methodologies
Agile-overview: Agile Manifesto, Agile principles and Agile MethodologiesAgile-overview: Agile Manifesto, Agile principles and Agile Methodologies
Agile-overview: Agile Manifesto, Agile principles and Agile MethodologiesBalaji Sathram
 
Agile transformation best practices
Agile transformation best practicesAgile transformation best practices
Agile transformation best practicesAllyson Chiarini
 
Agile Values, Principles and Practices
Agile Values, Principles and PracticesAgile Values, Principles and Practices
Agile Values, Principles and Practicesjackcrews
 
Definition of Done and Product Backlog refinement
Definition of Done and Product Backlog refinementDefinition of Done and Product Backlog refinement
Definition of Done and Product Backlog refinementChristian Vos
 
Learn from the Experts: Using DORA Metrics to Accelerate Value Stream Flow
Learn from the Experts: Using DORA Metrics to Accelerate Value Stream FlowLearn from the Experts: Using DORA Metrics to Accelerate Value Stream Flow
Learn from the Experts: Using DORA Metrics to Accelerate Value Stream FlowDevOps.com
 

What's hot (20)

Agile effort estimation
Agile effort estimation Agile effort estimation
Agile effort estimation
 
Keynote: Testing and Quality in the Scaled Agile Framework for Lean Enterpris...
Keynote: Testing and Quality in the Scaled Agile Framework for Lean Enterpris...Keynote: Testing and Quality in the Scaled Agile Framework for Lean Enterpris...
Keynote: Testing and Quality in the Scaled Agile Framework for Lean Enterpris...
 
Agile metrics
Agile metricsAgile metrics
Agile metrics
 
Introduction to Agile Testing
Introduction to Agile TestingIntroduction to Agile Testing
Introduction to Agile Testing
 
Agile Metrics V6
Agile Metrics V6Agile Metrics V6
Agile Metrics V6
 
Extreme Programming
Extreme ProgrammingExtreme Programming
Extreme Programming
 
The Synergistic Nature of PI Objectives
The Synergistic Nature of PI ObjectivesThe Synergistic Nature of PI Objectives
The Synergistic Nature of PI Objectives
 
10 steps to a successsful enterprise agile transformation global scrum 2018
10 steps to a successsful enterprise agile transformation   global scrum 201810 steps to a successsful enterprise agile transformation   global scrum 2018
10 steps to a successsful enterprise agile transformation global scrum 2018
 
Agile Transformation: People, Process and Tools to Make Your Transformation S...
Agile Transformation: People, Process and Tools to Make Your Transformation S...Agile Transformation: People, Process and Tools to Make Your Transformation S...
Agile Transformation: People, Process and Tools to Make Your Transformation S...
 
Testing in Agile Projects
Testing in Agile ProjectsTesting in Agile Projects
Testing in Agile Projects
 
Scrum 101: Introduction to Scrum
Scrum 101: Introduction to ScrumScrum 101: Introduction to Scrum
Scrum 101: Introduction to Scrum
 
Agile-overview: Agile Manifesto, Agile principles and Agile Methodologies
Agile-overview: Agile Manifesto, Agile principles and Agile MethodologiesAgile-overview: Agile Manifesto, Agile principles and Agile Methodologies
Agile-overview: Agile Manifesto, Agile principles and Agile Methodologies
 
What Is Agile Scrum
What Is Agile ScrumWhat Is Agile Scrum
What Is Agile Scrum
 
Agile transformation best practices
Agile transformation best practicesAgile transformation best practices
Agile transformation best practices
 
Agile Values, Principles and Practices
Agile Values, Principles and PracticesAgile Values, Principles and Practices
Agile Values, Principles and Practices
 
User Story Sizing using Agile Relative Estimation
User Story Sizing using Agile Relative EstimationUser Story Sizing using Agile Relative Estimation
User Story Sizing using Agile Relative Estimation
 
Agile
Agile Agile
Agile
 
Definition of Done and Product Backlog refinement
Definition of Done and Product Backlog refinementDefinition of Done and Product Backlog refinement
Definition of Done and Product Backlog refinement
 
Agile Transformation
Agile TransformationAgile Transformation
Agile Transformation
 
Learn from the Experts: Using DORA Metrics to Accelerate Value Stream Flow
Learn from the Experts: Using DORA Metrics to Accelerate Value Stream FlowLearn from the Experts: Using DORA Metrics to Accelerate Value Stream Flow
Learn from the Experts: Using DORA Metrics to Accelerate Value Stream Flow
 

Viewers also liked

AgileLIVE Webinar: Measuring the Success of Your Agile Transformation - Part 2
AgileLIVE Webinar: Measuring the Success of Your Agile Transformation - Part 2AgileLIVE Webinar: Measuring the Success of Your Agile Transformation - Part 2
AgileLIVE Webinar: Measuring the Success of Your Agile Transformation - Part 2VersionOne
 
Agile Metrics: It's Not All That Complicated
Agile Metrics: It's Not All That ComplicatedAgile Metrics: It's Not All That Complicated
Agile Metrics: It's Not All That ComplicatedVersionOne
 
Lean Project Management Principles
Lean Project Management Principles Lean Project Management Principles
Lean Project Management Principles Ryder System, Inc.
 
The 3 Revolutions (Agile, Lean, Lean Startup)
The 3 Revolutions (Agile, Lean, Lean Startup)The 3 Revolutions (Agile, Lean, Lean Startup)
The 3 Revolutions (Agile, Lean, Lean Startup)Claudio Perrone
 
Lean project management
Lean project management Lean project management
Lean project management John Bun
 

Viewers also liked (6)

AgileLIVE Webinar: Measuring the Success of Your Agile Transformation - Part 2
AgileLIVE Webinar: Measuring the Success of Your Agile Transformation - Part 2AgileLIVE Webinar: Measuring the Success of Your Agile Transformation - Part 2
AgileLIVE Webinar: Measuring the Success of Your Agile Transformation - Part 2
 
Agile Metrics: It's Not All That Complicated
Agile Metrics: It's Not All That ComplicatedAgile Metrics: It's Not All That Complicated
Agile Metrics: It's Not All That Complicated
 
Lean Project Management Principles
Lean Project Management Principles Lean Project Management Principles
Lean Project Management Principles
 
The 3 Revolutions (Agile, Lean, Lean Startup)
The 3 Revolutions (Agile, Lean, Lean Startup)The 3 Revolutions (Agile, Lean, Lean Startup)
The 3 Revolutions (Agile, Lean, Lean Startup)
 
Lean project management
Lean project management Lean project management
Lean project management
 
Lean Process Improvement Techniques
Lean Process Improvement TechniquesLean Process Improvement Techniques
Lean Process Improvement Techniques
 

Similar to Agile KPIs

Pin the tail on the metric v00 75 min version
Pin the tail on the metric v00 75 min versionPin the tail on the metric v00 75 min version
Pin the tail on the metric v00 75 min versionSteven Martin
 
How agile is your team
How agile is your teamHow agile is your team
How agile is your teamPhani Bhushan
 
Pin the tail on the metric v01 2016 oct
Pin the tail on the metric v01 2016 octPin the tail on the metric v01 2016 oct
Pin the tail on the metric v01 2016 octSteven Martin
 
Iseb, ISTQB Static Testing
Iseb, ISTQB Static TestingIseb, ISTQB Static Testing
Iseb, ISTQB Static Testingonsoftwaretest
 
Learn to see, measure and automate with value stream management
Learn to see, measure and automate with value stream managementLearn to see, measure and automate with value stream management
Learn to see, measure and automate with value stream managementLance Knight
 
ISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam PracticeISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam PracticeYogindernath Gupta
 
ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3Chandukar
 
Team Foundation Server - Tracking & Reporting
Team Foundation Server - Tracking & ReportingTeam Foundation Server - Tracking & Reporting
Team Foundation Server - Tracking & ReportingSteve Lange
 
Isabel Evans - Working Ourselves out of a Job: A Passion For Improvement - Eu...
Isabel Evans - Working Ourselves out of a Job: A Passion For Improvement - Eu...Isabel Evans - Working Ourselves out of a Job: A Passion For Improvement - Eu...
Isabel Evans - Working Ourselves out of a Job: A Passion For Improvement - Eu...TEST Huddle
 
Overcome-3-common-aem-delivery-challenges
Overcome-3-common-aem-delivery-challengesOvercome-3-common-aem-delivery-challenges
Overcome-3-common-aem-delivery-challengesiCiDIGITAL
 
Case Study: Time Warner Cable's Formula for Maximizing Adobe Experience Manager
Case Study: Time Warner Cable's Formula for Maximizing Adobe Experience Manager Case Study: Time Warner Cable's Formula for Maximizing Adobe Experience Manager
Case Study: Time Warner Cable's Formula for Maximizing Adobe Experience Manager Mark Kelley
 
Agile metrics at-pmi bangalore
Agile metrics at-pmi bangaloreAgile metrics at-pmi bangalore
Agile metrics at-pmi bangaloreBimlesh Gundurao
 
PROJECT STORYBOARD: Reducing Software Bug Fix Lead Time From 25 to 15 days
PROJECT STORYBOARD: Reducing Software Bug Fix Lead Time From 25 to 15 daysPROJECT STORYBOARD: Reducing Software Bug Fix Lead Time From 25 to 15 days
PROJECT STORYBOARD: Reducing Software Bug Fix Lead Time From 25 to 15 daysGoLeanSixSigma.com
 
Practical Software Development Metrics
Practical Software Development MetricsPractical Software Development Metrics
Practical Software Development MetricsJari Kuusisto
 
Testing Metrics and why Managers like them
Testing Metrics and why Managers like themTesting Metrics and why Managers like them
Testing Metrics and why Managers like themPractiTest
 

Similar to Agile KPIs (20)

Agile metrics
Agile metricsAgile metrics
Agile metrics
 
Pin the tail on the metric v00 75 min version
Pin the tail on the metric v00 75 min versionPin the tail on the metric v00 75 min version
Pin the tail on the metric v00 75 min version
 
How agile is your team
How agile is your teamHow agile is your team
How agile is your team
 
Pin the tail on the metric v01 2016 oct
Pin the tail on the metric v01 2016 octPin the tail on the metric v01 2016 oct
Pin the tail on the metric v01 2016 oct
 
Iseb, ISTQB Static Testing
Iseb, ISTQB Static TestingIseb, ISTQB Static Testing
Iseb, ISTQB Static Testing
 
Learn to see, measure and automate with value stream management
Learn to see, measure and automate with value stream managementLearn to see, measure and automate with value stream management
Learn to see, measure and automate with value stream management
 
ISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam PracticeISTQB / ISEB Foundation Exam Practice
ISTQB / ISEB Foundation Exam Practice
 
ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3ISTQB Foundation - Chapter 3
ISTQB Foundation - Chapter 3
 
Team Foundation Server - Tracking & Reporting
Team Foundation Server - Tracking & ReportingTeam Foundation Server - Tracking & Reporting
Team Foundation Server - Tracking & Reporting
 
Isabel Evans - Working Ourselves out of a Job: A Passion For Improvement - Eu...
Isabel Evans - Working Ourselves out of a Job: A Passion For Improvement - Eu...Isabel Evans - Working Ourselves out of a Job: A Passion For Improvement - Eu...
Isabel Evans - Working Ourselves out of a Job: A Passion For Improvement - Eu...
 
Agile Metrics
Agile MetricsAgile Metrics
Agile Metrics
 
Agile Metrics
Agile MetricsAgile Metrics
Agile Metrics
 
How (fr)agile we are
How (fr)agile we areHow (fr)agile we are
How (fr)agile we are
 
Overcome-3-common-aem-delivery-challenges
Overcome-3-common-aem-delivery-challengesOvercome-3-common-aem-delivery-challenges
Overcome-3-common-aem-delivery-challenges
 
Case Study: Time Warner Cable's Formula for Maximizing Adobe Experience Manager
Case Study: Time Warner Cable's Formula for Maximizing Adobe Experience Manager Case Study: Time Warner Cable's Formula for Maximizing Adobe Experience Manager
Case Study: Time Warner Cable's Formula for Maximizing Adobe Experience Manager
 
Agile metrics at-pmi bangalore
Agile metrics at-pmi bangaloreAgile metrics at-pmi bangalore
Agile metrics at-pmi bangalore
 
Agile Metrics
Agile MetricsAgile Metrics
Agile Metrics
 
PROJECT STORYBOARD: Reducing Software Bug Fix Lead Time From 25 to 15 days
PROJECT STORYBOARD: Reducing Software Bug Fix Lead Time From 25 to 15 daysPROJECT STORYBOARD: Reducing Software Bug Fix Lead Time From 25 to 15 days
PROJECT STORYBOARD: Reducing Software Bug Fix Lead Time From 25 to 15 days
 
Practical Software Development Metrics
Practical Software Development MetricsPractical Software Development Metrics
Practical Software Development Metrics
 
Testing Metrics and why Managers like them
Testing Metrics and why Managers like themTesting Metrics and why Managers like them
Testing Metrics and why Managers like them
 

More from Gaetano Mazzanti

Organic Change - Beyond Scaling Frameworks
Organic Change - Beyond Scaling FrameworksOrganic Change - Beyond Scaling Frameworks
Organic Change - Beyond Scaling FrameworksGaetano Mazzanti
 
Modern Portfolio Management Intro
Modern Portfolio Management IntroModern Portfolio Management Intro
Modern Portfolio Management IntroGaetano Mazzanti
 
Who’s to blame if you can’t achieve agility?
Who’s to blame if you can’t achieve agility?Who’s to blame if you can’t achieve agility?
Who’s to blame if you can’t achieve agility?Gaetano Mazzanti
 
Metrics for Business Agility (whatever that means)
Metrics for Business Agility (whatever that means)Metrics for Business Agility (whatever that means)
Metrics for Business Agility (whatever that means)Gaetano Mazzanti
 
Process and Structure can be changed overnight. Mindsets can't
Process and Structure can be changed overnight. Mindsets can'tProcess and Structure can be changed overnight. Mindsets can't
Process and Structure can be changed overnight. Mindsets can'tGaetano Mazzanti
 
Innovation, Lean, Agile. Myths and Misconception
Innovation, Lean, Agile. Myths and MisconceptionInnovation, Lean, Agile. Myths and Misconception
Innovation, Lean, Agile. Myths and MisconceptionGaetano Mazzanti
 
DevOps Metrics - Lies, Damned Lies and Statistics
DevOps Metrics - Lies, Damned Lies and StatisticsDevOps Metrics - Lies, Damned Lies and Statistics
DevOps Metrics - Lies, Damned Lies and StatisticsGaetano Mazzanti
 
One, No One, One Hundred Thousand Projects (Uno, Nessuno, Centomila Progetti)
One, No One, One Hundred Thousand Projects (Uno, Nessuno, Centomila Progetti)One, No One, One Hundred Thousand Projects (Uno, Nessuno, Centomila Progetti)
One, No One, One Hundred Thousand Projects (Uno, Nessuno, Centomila Progetti)Gaetano Mazzanti
 
You Don't Need To Change. Survival Is Optional
You Don't Need To Change. Survival Is OptionalYou Don't Need To Change. Survival Is Optional
You Don't Need To Change. Survival Is OptionalGaetano Mazzanti
 
Kanban for Portfolio Management
Kanban for Portfolio ManagementKanban for Portfolio Management
Kanban for Portfolio ManagementGaetano Mazzanti
 
Esteem and Estimates (Ti Stimo Fratello)
Esteem and Estimates (Ti Stimo Fratello)Esteem and Estimates (Ti Stimo Fratello)
Esteem and Estimates (Ti Stimo Fratello)Gaetano Mazzanti
 
Metrics As A Learn And Change Agent
Metrics As A Learn And Change AgentMetrics As A Learn And Change Agent
Metrics As A Learn And Change AgentGaetano Mazzanti
 
How (fr)agile we are. ALE2011
How (fr)agile we are. ALE2011How (fr)agile we are. ALE2011
How (fr)agile we are. ALE2011Gaetano Mazzanti
 
Agile Principles, Agile People
Agile Principles, Agile PeopleAgile Principles, Agile People
Agile Principles, Agile PeopleGaetano Mazzanti
 

More from Gaetano Mazzanti (19)

Organic Change - Beyond Scaling Frameworks
Organic Change - Beyond Scaling FrameworksOrganic Change - Beyond Scaling Frameworks
Organic Change - Beyond Scaling Frameworks
 
Modern Portfolio Management Intro
Modern Portfolio Management IntroModern Portfolio Management Intro
Modern Portfolio Management Intro
 
Who’s to blame if you can’t achieve agility?
Who’s to blame if you can’t achieve agility?Who’s to blame if you can’t achieve agility?
Who’s to blame if you can’t achieve agility?
 
Metrics for Business Agility (whatever that means)
Metrics for Business Agility (whatever that means)Metrics for Business Agility (whatever that means)
Metrics for Business Agility (whatever that means)
 
Process and Structure can be changed overnight. Mindsets can't
Process and Structure can be changed overnight. Mindsets can'tProcess and Structure can be changed overnight. Mindsets can't
Process and Structure can be changed overnight. Mindsets can't
 
Burning Agile
Burning AgileBurning Agile
Burning Agile
 
Innovation, Lean, Agile. Myths and Misconception
Innovation, Lean, Agile. Myths and MisconceptionInnovation, Lean, Agile. Myths and Misconception
Innovation, Lean, Agile. Myths and Misconception
 
DevOps Metrics - Lies, Damned Lies and Statistics
DevOps Metrics - Lies, Damned Lies and StatisticsDevOps Metrics - Lies, Damned Lies and Statistics
DevOps Metrics - Lies, Damned Lies and Statistics
 
One, No One, One Hundred Thousand Projects (Uno, Nessuno, Centomila Progetti)
One, No One, One Hundred Thousand Projects (Uno, Nessuno, Centomila Progetti)One, No One, One Hundred Thousand Projects (Uno, Nessuno, Centomila Progetti)
One, No One, One Hundred Thousand Projects (Uno, Nessuno, Centomila Progetti)
 
You Don't Need To Change. Survival Is Optional
You Don't Need To Change. Survival Is OptionalYou Don't Need To Change. Survival Is Optional
You Don't Need To Change. Survival Is Optional
 
Kanban for Portfolio Management
Kanban for Portfolio ManagementKanban for Portfolio Management
Kanban for Portfolio Management
 
People as Bottlenecks
People as BottlenecksPeople as Bottlenecks
People as Bottlenecks
 
Esteem and Estimates (Ti Stimo Fratello)
Esteem and Estimates (Ti Stimo Fratello)Esteem and Estimates (Ti Stimo Fratello)
Esteem and Estimates (Ti Stimo Fratello)
 
Agile in the Bathtub
Agile in the BathtubAgile in the Bathtub
Agile in the Bathtub
 
Metrics As A Learn And Change Agent
Metrics As A Learn And Change AgentMetrics As A Learn And Change Agent
Metrics As A Learn And Change Agent
 
Kanban = Violet Pill
Kanban = Violet PillKanban = Violet Pill
Kanban = Violet Pill
 
How (fr)agile we are. ALE2011
How (fr)agile we are. ALE2011How (fr)agile we are. ALE2011
How (fr)agile we are. ALE2011
 
Pre Mortem Retrospectives
Pre Mortem RetrospectivesPre Mortem Retrospectives
Pre Mortem Retrospectives
 
Agile Principles, Agile People
Agile Principles, Agile PeopleAgile Principles, Agile People
Agile Principles, Agile People
 

Recently uploaded

TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Kaya Weers
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...itnewsafrica
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesBernd Ruecker
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesManik S Magar
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 

Recently uploaded (20)

TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)Design pattern talk by Kaya Weers - 2024 (v2)
Design pattern talk by Kaya Weers - 2024 (v2)
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 

Agile KPIs

  • 2. are you measuring your performances ?
  • 3. a metric is a measure or a combination of measures for quantitatively assessing, controlling or improving a process, a product, a team a KPI, Key Perfomance Indicator, is a (aggregate) metric that: is tied to a strategic objective; have at least one defined time-bound target value (number, range, limit, percentage, trend, variation) Metric vs. KPI
  • 4. self-induced vs. enforced internal vs. external snapshot vs. forward looking different perspectives
  • 5. actionable understandable accessible Many “recipes” and characteristics, i.e. SMART Specific Measurable Achievable Relevant Timely INVEST Immediately actionable Negotiable Valuable Estimable Sized to fit Testable a good KPI 3 are enough
  • 8. some examples (time, effort, scope) Is planning accurate ? How long does it take for a requirement to be delivered to customers ? Are effort and cost estimates accurate ? How is effort split between design, coding and testing ? Are requirements satisfied ? Are requirements changing ? How often ? How “big” is the software ? Schedule Adherence & Variance Lead Time, Cycle Time Slip Charts Effort & Cost Adherence Cost per Phase Amount of Rework Requirements adherence Requirements volatility (churn) Code size (KLOCs :( , #modules, #classes, …)
  • 9. a typical problem time Is planning accurate ? slip chart 33% 200% 66% 300%
  • 11. exponential metric growth: i.e. Defects total # defects # defects by category (i.e. critical, major, minor) # non-functional defects (usability, performance) # new defects / time # defects fixed / time # critical defects / time # re-opened defects (regression) # tests / defect time required to fix a defect # defects found in-house / total # defects (DRE) # defects found / # test hours spent etc.
  • 12. too many KPIs are useless
  • 13. keep it simple, one step at a time
  • 14. self-observation problem #1 neglect shortcomings problem #2 excuses benchmarking problem #3 who do you compare to? evaluating: easier said than done
  • 15. Metrics should not scare or threaten people Enforced metrics are often cheated or ignored
  • 16. Cheating copy & paste some code, copy & paste unit tests making slight modifications result: increased code coverage write some buggy code and quickly fix it result: increased number of fixed bugs (maybe you also get credit for additional LOCs!)
  • 17. Sex, Lies & Statistics (beware of wrong/biased numbers) 1920: “most criminals are farmers” actually most people where farmers at that time 1940: “twins more likely if mothers are in their 25s-30s” most mothers gave birth in their 25s-30s at that time growth much easier when starting from a small base
  • 18. Code Quality Metrics KLOCs code reviews & specific analysis tools needed how fragile you are Complexity Duplication Smells Churn
  • 19. Code Analysis Tools are Fun! source: source:
  • 20. some Agile principles: Create Value for the customer as early as possible Eliminate Waste (WIP, YAGNI) Drive and Respond to Change, quickly Time/Capacity Boxing (see Scrum and Kanban) Provide Visibility into project progress Enter Agile
  • 21. productivity defects efficiency effort customer satisfaction velocity time requirements size trend quality burndown roi schedule business value capacity complexity cumulative flow effectiveness Googling with KPIs
  • 22. Story Point an arbitrary value to express effort, complexity and risk associated to a user story, feature, task Velocity S Velocity # story points / interval (where interval is usually a sprint or more in general time) Velocity is a team specific metric, it cannot be used to compare different teams Velocity Improvement is a key goal for Agile teams
  • 23. 0 100 200 300 400 500 600 1 2 3 4 5 6 7 8 9 10 11 ideal SP left Release Burndown Chart sprint Average velocity = 50 Story Points / Sprint 500 Story Points (SP) => 10 Sprints
  • 24. -100 0 100 200 300 400 500 600 1 2 3 4 5 6 7 8 9 10 11 12 13 14 added SP SP carried over from previous sprint SP todo from initial list ideal trend velocity added SP trend actual trend Release Burndown Chart sprint velocity delay new expected completion date SPs have to be dropped to get back on track
  • 25. 0 50 100 150 200 250 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 real SP left real Xtra time left ideal burndown ideal Xtra time left Sprint Burndown Chart bad baddays delay look, ma instant feedback! Xtra time = time reserved for other tasks (emergencies, bug fixing, reviews, etc.)
  • 26. each story has one or more automated tests when tests pass the story has been completed => you are forced to become agile: cannot do BDUF*, must do automated testing/ continuous integration must deliver early value Compile Build Test Deploy Running Tested FeaturesRon Jeffries C.I. Quality Feedback Loop*Big Design Up Front
  • 27. Backlog Story Points Value For Customer Value Delivered (*100) story 1 13 21 162 story 2 21 13 62 story 3 34 21 62 story 4 5 8 160 story 5 5 5 100 story 6 13 3 23 story 7 8 8 100 story 8 3 1 33 story 9 13 5 38 story 10 21 5 24 Early Value Delivery (again) Business Value Points Desire of Customer Value = Cost of providing functionality 68.3% of value already delivered here same velocity greater value! story points
  • 28. Iteration Related Metrics (%) Stories & Story Points Completed (%) Stories added/removed (Sprint & Release) Stories unfinished/moved to Next Sprint Sprints Moved to Next Release Lead & Cycle Time (Stories & Defects) Average Age of Stories and Defects (%) Failed Builds, (%) Failed Tests Defects Added & Fixed (absolute & trend)
  • 29. WIP Cumulative Flow Diagram to do doing done cycle time cycle time WIP WIP is increasing done doing to do Work In Process (WIP) and Cycle Time should be minimized
  • 30. Some Kanban Specific Metrics Cycle Time = Number of Things in Process/ Average Completion Rate Little’s Law time spent in each lane ? bottlenecks ? cycle time lead time Flow = Speed * Density, Density Speed => Traffic Jam 40 60 25 ouch! ouch!
  • 31. first thing in the morning: dashboard! Short Term vs. Long Term Dashboard. Short Term: build ok, automated tests ok, value earned, schedule (burndown), critical bugs entered, critical bugs still there, impediments, ... Long Term: trends: failed builds, failed tests, # of tests, velocity, earned value per month, # and type of bugs, … i.e. increase test coverage
  • 32. Essential Tools a big board and lots of cards (hard to extract metrics though) source code management (obvious) automated build & test suites (CI) issue tracking* some/many of these tools may be part of integrated product suites *unless you belong to a small elite code analysis agile management system dashboard
  • 35. communicate clearly @you: are you getting this ?
  • 38. use simple tools (but use them!)
  • 39. build a simple but effective dashboard