SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

Beyond the Scrum Master - Becoming an Agile Coach
Beyond the Scrum Master - Becoming an Agile CoachBeyond the Scrum Master - Becoming an Agile Coach
Beyond the Scrum Master - Becoming an Agile CoachCprime
 
Backlog Refinement at Scale
Backlog Refinement at ScaleBacklog Refinement at Scale
Backlog Refinement at ScaleCprime
 
Agile Metrics...That Matter
Agile Metrics...That MatterAgile Metrics...That Matter
Agile Metrics...That MatterErik Weber
 
Agile estimation and planning peter saddington
Agile estimation and planning  peter saddingtonAgile estimation and planning  peter saddington
Agile estimation and planning peter saddingtonPeter Saddington
 
Agile Estimating & Planning
Agile Estimating & PlanningAgile Estimating & Planning
Agile Estimating & PlanningAgileDad
 
Introduction to scaled agile framework
Introduction to scaled agile frameworkIntroduction to scaled agile framework
Introduction to scaled agile frameworkITEM
 
The Agile Adoption Roadmap (Keynote by Tim Abbott)
The Agile Adoption Roadmap  (Keynote by Tim Abbott)The Agile Adoption Roadmap  (Keynote by Tim Abbott)
The Agile Adoption Roadmap (Keynote by Tim Abbott)Agile Days Middle East
 
Agile stories, estimating and planning
Agile stories, estimating and planningAgile stories, estimating and planning
Agile stories, estimating and planningDimitri Ponomareff
 
Practical estimation techniques
Practical estimation techniquesPractical estimation techniques
Practical estimation techniquesSwatiKapoor43
 
Seven Key Metrics to Improve Agile Performance
Seven Key Metrics to Improve Agile PerformanceSeven Key Metrics to Improve Agile Performance
Seven Key Metrics to Improve Agile PerformanceTechWell
 
Product Backlog - Refinement and Prioritization Techniques
Product Backlog - Refinement and Prioritization TechniquesProduct Backlog - Refinement and Prioritization Techniques
Product Backlog - Refinement and Prioritization TechniquesVikash Karuna
 
Agile metrics - Measure and Improve
Agile metrics - Measure and ImproveAgile metrics - Measure and Improve
Agile metrics - Measure and ImproveWemanityUK
 
Team Topologies - how and why to design your teams - AllDayDevOps 2017
Team Topologies - how and why to design your teams - AllDayDevOps 2017Team Topologies - how and why to design your teams - AllDayDevOps 2017
Team Topologies - how and why to design your teams - AllDayDevOps 2017Matthew Skelton
 
The Lego Kanban Game
The Lego Kanban GameThe Lego Kanban Game
The Lego Kanban GameLiz Keogh
 
How to build & Coach an Agile team
How to build & Coach an Agile teamHow to build & Coach an Agile team
How to build & Coach an Agile teamVinh Bao Quang
 

Tendances (20)

Beyond the Scrum Master - Becoming an Agile Coach
Beyond the Scrum Master - Becoming an Agile CoachBeyond the Scrum Master - Becoming an Agile Coach
Beyond the Scrum Master - Becoming an Agile Coach
 
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
 
Backlog Refinement at Scale
Backlog Refinement at ScaleBacklog Refinement at Scale
Backlog Refinement at Scale
 
Agile estimation
Agile estimationAgile estimation
Agile estimation
 
Agile Metrics...That Matter
Agile Metrics...That MatterAgile Metrics...That Matter
Agile Metrics...That Matter
 
Agile estimation and planning peter saddington
Agile estimation and planning  peter saddingtonAgile estimation and planning  peter saddington
Agile estimation and planning peter saddington
 
Agile Estimating & Planning
Agile Estimating & PlanningAgile Estimating & Planning
Agile Estimating & Planning
 
Introduction to scaled agile framework
Introduction to scaled agile frameworkIntroduction to scaled agile framework
Introduction to scaled agile framework
 
The Agile Adoption Roadmap (Keynote by Tim Abbott)
The Agile Adoption Roadmap  (Keynote by Tim Abbott)The Agile Adoption Roadmap  (Keynote by Tim Abbott)
The Agile Adoption Roadmap (Keynote by Tim Abbott)
 
Agile stories, estimating and planning
Agile stories, estimating and planningAgile stories, estimating and planning
Agile stories, estimating and planning
 
Agile Metrics 101
Agile Metrics 101Agile Metrics 101
Agile Metrics 101
 
Practical estimation techniques
Practical estimation techniquesPractical estimation techniques
Practical estimation techniques
 
Agile Scrum Estimation
Agile   Scrum EstimationAgile   Scrum Estimation
Agile Scrum Estimation
 
Seven Key Metrics to Improve Agile Performance
Seven Key Metrics to Improve Agile PerformanceSeven Key Metrics to Improve Agile Performance
Seven Key Metrics to Improve Agile Performance
 
Product Backlog - Refinement and Prioritization Techniques
Product Backlog - Refinement and Prioritization TechniquesProduct Backlog - Refinement and Prioritization Techniques
Product Backlog - Refinement and Prioritization Techniques
 
Agile metrics - Measure and Improve
Agile metrics - Measure and ImproveAgile metrics - Measure and Improve
Agile metrics - Measure and Improve
 
Team Topologies - how and why to design your teams - AllDayDevOps 2017
Team Topologies - how and why to design your teams - AllDayDevOps 2017Team Topologies - how and why to design your teams - AllDayDevOps 2017
Team Topologies - how and why to design your teams - AllDayDevOps 2017
 
The Lego Kanban Game
The Lego Kanban GameThe Lego Kanban Game
The Lego Kanban Game
 
How to build & Coach an Agile team
How to build & Coach an Agile teamHow to build & Coach an Agile team
How to build & Coach an Agile team
 
Agile Mindset Shifting: Agile For All
Agile Mindset Shifting: Agile For AllAgile Mindset Shifting: Agile For All
Agile Mindset Shifting: Agile For All
 

En vedette

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.
 
Lean Agile Metrics And KPIs
Lean Agile Metrics And KPIsLean Agile Metrics And KPIs
Lean Agile Metrics And KPIsYuval Yeret
 
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
 

En vedette (7)

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
 
Lean Agile Metrics And KPIs
Lean Agile Metrics And KPIsLean Agile Metrics And KPIs
Lean Agile Metrics And KPIs
 
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
 

Similaire à 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
 

Similaire à 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
 
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
 

Plus de 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
 

Plus de 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
 

Dernier

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
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
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
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
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
 
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
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
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
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 

Dernier (20)

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
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
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
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
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
 
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
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
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
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.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