SlideShare a Scribd company logo
1 of 46
DevOps & DevEx: Remove friction, ship code and add value
QCon London 2019
Chris Wilkinson and Liz Ince
How to tell your
boss story points
are a terrible metric
InfoQ.com: News & Community Site
Watch the video with slide
synchronization on InfoQ.com!
https://www.infoq.com/presentations/
metrics-evaluation
• Over 1,000,000 software developers, architects and CTOs read the site world-
wide every month
• 250,000 senior developers subscribe to our weekly newsletter
• Published in 4 languages (English, Chinese, Japanese and Brazilian
Portuguese)
• Post content from our QCon conferences
• 2 dedicated podcast channels: The InfoQ Podcast, with a focus on
Architecture and The Engineering Culture Podcast, with a focus on building
• 96 deep dives on innovative topics packed as downloadable emags and
minibooks
• Over 40 new content items per week
Purpose of QCon
- to empower software development by facilitating the spread of
knowledge and innovation
Strategy
- practitioner-driven conference designed for YOU: influencers of
change and innovation in your teams
- speakers and topics driving the evolution and innovation
- connecting and catalyzing the influencers and innovators
Highlights
- attended by more than 12,000 delegates since 2007
- held in 9 cities worldwide
Presented at QCon London
www.qconlondon.com
3© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
One metric to rule them all,
One metric to bring them all,
One metric to find them,
and in the darkness bind them
4© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
liz.ince@capgemini.com
Liz Ince
Enterprise Architect
chris.wilkinson@capgemini.com
Chris Wilkinson
Lead Software Engineer and Architect
5© Capgemini 2018. All rights reserved |
Metrics and
Measurements in
general
6© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
Heisenberg - Any attempt to measure precisely the velocity of a
subatomic particle, such as an electron, will knock it about in an
unpredictable way, so that the act of measuring causes a
change
8© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
Target
noun, often attributive
a. a mark to shoot at
b. a target marked by shots fired at it
c. something or someone fired at or marked for attack
d. a goal to be achieved
9© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
"When a measure becomes a target, it
ceases to be a good measure.“
- Goodhart’s Law
10© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
Metric Fixation
3
1
2
Put in place
standardised metrics
Make the results
public – league tables
and rankings
.
Reward or punish
on the results
11© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
Gaming the system
12© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
So what DOES drive people?
??
?
?
?
?
?
? ?
?
13© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
Frederick Herzberg’s two-factor theory – Motivation/Hygiene
14© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
… and the motivation factor?
15© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 https://www.forbes.com/2010/04/06/money-motivation-pay-leadership-managing-employees.html#79e532533e13
So what does motivate people?
Recap
Goodharts Law
Gaming the system
Reward & Punishment
Motivation
17© Capgemini 2018. All rights reserved |
History
18© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
Today
The landscape is changing again – why?
What can we use?
What do we measure?
Story Points – 2000s
Rise in popularity with the emergence of
agile.
Variations such as ‘Gummi bears’, ‘NUTs’
Function Points - 1970s
Defined by Allan Albrecht of IBM
The IFPUG method
COSMIC function points
Lines of Code - 1960s
KLOC – Thousand lines of code
Program quality – defects per KLOC
Obsolete with high level languages
Working software is the
primary measure of progress.
—Agile Manifesto
The issues that are most
important, long term, cannot be
measured in advance.
—W. Edwards Deming
Question
22© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
What happens when it goes wrong?
Risk of failure
and abuse
Success
Project Planning Delivered Software
23© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
Agile things
What People See
How many story points have been completed?
Why is an individual completing fewer points this sprint?
Why is the team delivering fewer than last sprint?
What People See Don’t See
“BS”
Velocity
Subjective
Relative
24© Capgemini 2018. All rights reserved |
Bringing it all together
25© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
Errors
Latency
Requests
Disk
CPU
Memory
Latency
Errors
Requests
Infrastructure
Test
Coverage
Measurables
Build
CI
Code
Quality
MTTR
Bugs
Complexity
Duplication
Project
Lead
time
Deploy
Frequency
Deploy
fail rate
Mean
time to
recover
Disk
utilisation
Components
File handle
utilisation
CPU
utilisation
Runtime
Services
Build
failures
Infrastructure
Microservices
26© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
What is keeping them up at night?
• Will the software help increase revenue and profit?
• Can I meet my commitments to the city & board of
directors?
• Will the users & trade unions accept the new system?
Developer
Project Manager
Business Manager
• How fast are we going?
• Is the code of a good quality?
• Does my work meet the definition of done?
• Will I meet my project dates?
• How much of the budget have I spent?
• Have I allowed enough for training and
migration?
27© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
Metrics within the SDLC
Code
#ofcommits
Storypoints
#oftests
Build
#offailures
Codequality
Coveragestats
Duplication
Deploy
VulnerabilityanalysisDeployment
frequencyLeadtimeforchangesDeployment
SuccessesChangefail
percentage
Release
Delivered
functionality
SLAs
MTTR
SDLC
28© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
StakeholderProject Manager
Correlation….
SDLC
Developer
How much of the budget have we spent?
Will we meet out deadlines?
How many days have we used?
Are we ahead? Behind?
What issues are there?
• Can I meet my commitments
to the city & board of
directors?
• How long will it take to restore
service in a DR scenario?
• Will I meet my project dates?
• How much of the budget have I
spent?
• Have I allowed enough for training
and migration?
• Will I meet my sprint goals?
• Is the code of a good quality?
• Am I committing my code to
master?
Code
#ofcommits
Storypoints
#oftests
Build
#offailures
Codequality
Coveragestats
Duplication
Deploy
VulnerabilityanalysisDeployment
frequencyLeadtimeforchangesDeployment
SuccessesChangefail
percentage
Release
Delivered
functionality
SLAs
MTTR
29© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
30© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
Measures that correlate with high performance
Lead time Deployment
frequency
Mean Time To
Restore
Change fail
percentage
Lt Δƒ MTTR
Δerr
%
Incentivise improvement Disincentivise errors
31© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
The Virtuous Cycle
Lead time for changes
The time it takes to go from code
committed to code in production.
Change fail rate
A measure of how often
deployment failures occur in
production that require immediate
remedy.
Deployment frequency
The frequency which you deploy
your changes to production or to
an app store.
Mean time to restore
The average time it takes to
restore service in a DR like
scenario.
32© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
Prof. R. Westrum
Measuring Culture
Novelty ideas
Knowledge
sharing
Cooperation Shared risks
Transparency
33© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
Westrum Typology of Culture
Pathological
(power-oriented)
Bureaucratic
(rule-oriented)
Generative
(performance-oriented)
Low cooperation Modest cooperation High Cooperation
Messengers shot Messengers neglected Messengers trained
Responsibilities shirked Narrow responsibilities Risks are shared
Bridging discouraged Bridging tolerated Bridging encouraged
Failure leads to scapegoating Failure leads to justice Failure leads to inquiry
Novelty Crushed Novelty leads to problems Novelty implemented
34© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
Robert Karasek –
Professor, Department of Work Environment
and
Director of JCQ Center - University of
Massachusetts Lowell (Boston)
Professor Emeritus, Copenhagen University,
Institut for Psykologi, Denmark
35© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
Westrum Typology of Culture
Pathological
(power-oriented)
Bureaucratic
(rule-oriented)
Generative
(performance-oriented)
Low cooperation Modest cooperation High Cooperation
Messengers shot Messengers neglected Messengers trained
Responsibilities shirked Narrow responsibilities Risks are shared
Bridging discouraged Bridging tolerated Bridging encouraged
Failure leads to scapegoating Failure leads to justice Failure leads to inquiry
Novelty Crushed Novelty leads to problems Novelty implemented
36© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
• Will the new system increase sales?
• What is the return on investment?
Stakeholder metrics
• Will it improve customer satisfaction?
• Will we get our invoices paid quicker?
• Will it help us become top performers?
37© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
Managing upwards – give them the relevant information
Developer
Project Manager
Business Manager
We are now 50% of the
way through the backlog
and we are less than 50%
through the development
days allocated
We are on track to make
the date for the MVP
We have completed all
of our sprint goals
The system will be live in time
for us to start performance
testing on schedule
We are on track to deliver
within the budget
All development is on schedule for
the final delivery
38© Capgemini 2018. All rights reserved |
Finally…
39© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
• Apply reasonableness tests
• Recognise great teamwork
• People are not as motivated by money as business managers might
think they are
• Unmeasurables - loyalty, team spirit, honesty, helpfulness, dedication…
What to discuss with your boss
40© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
• Story points DO have their place – but they indicate capacity
not productivity and they’re unique to a group of people
• Optimising for a single metric is likely to have unintended
consequences!
• Metrics != Targets
• Aim for a combination of balanced metrics
• Only report metrics that are meaningful between layers
• Working software is the primary measure of progress
To summarise
41© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
Q&A
42© Capgemini 2018. All rights reserved |
Reference material
43© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
• Motivation to Work by Frederick Herzberg (ISBN - 978-1560006343)
• Money is not the best Motivator: https://www.forbes.com/2010/04/06/money-motivation-pay-leadership-
managing-employees.html#79e532533e13
• The War Managers by Douglas Kinnard (ISBN - 978-1591144373)
• Kill anything that moves by Nick Turse (ISBN - 978-1250045065)
• The Tyranny of Metrics by Jerry Z. Muller (ISBN - 978-0691174952) and https://www.c-
span.org/video/?441850-2/the-tyranny-metrics
• The concept of “Why” by Simon Sinek; TED talks (https://www.youtube.com/watch?v=7zFeuSagktM)
• Building Less Flawed Metrics by David Manheim: https://mpra.ub.uni-
muenchen.de/90649/1/MPRA_paper_90649.pdf
• Wells Fargo Banking Scandal - https://www.theguardian.com/business/us-money-blog/2016/oct/07/wells-
fargo-banking-scandal-financial-crisis
Reference material
44© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
• https://devops-research.com/
• Accelerate: The Science of Lean Software & DevOps - Nicole Forsgren, Jez Humble, Gene Kim
• Ron Westrum
• Mulder, P. (2017). Job Demand Control Model by Robert Karasek. ToolsHero: https://www.toolshero.com/stress-
management/job-demand-control-model/
• Demand/Control Model: a Social, Emotional, and Physiological Approach to Stress Risk and Active Behaviour -
Robert Karasek http://www.iloencyclopaedia.org/component/k2/item/12-psychosocial-factors-stress-and-health
• George M . Mark – The relationship between workplace stress and job characteristics, individual differences and
mental health https://orca.cf.ac.uk/54730/1/U585119.pdf
• https://continuousdelivery.com/implementing/culture/
• https://www.andykelk.net/devops/using-the-westrum-typology-to-measure-culture
• https://www.thoughtworks.com/radar/techniques/four-key-metrics
Reference material
Watch the video with slide
synchronization on InfoQ.com!
https://www.infoq.com/presentations/
metrics-evaluation

More Related Content

More from C4Media

Shifting Left with Cloud Native CI/CD
Shifting Left with Cloud Native CI/CDShifting Left with Cloud Native CI/CD
Shifting Left with Cloud Native CI/CDC4Media
 
CI/CD for Machine Learning
CI/CD for Machine LearningCI/CD for Machine Learning
CI/CD for Machine LearningC4Media
 
Fault Tolerance at Speed
Fault Tolerance at SpeedFault Tolerance at Speed
Fault Tolerance at SpeedC4Media
 
Architectures That Scale Deep - Regaining Control in Deep Systems
Architectures That Scale Deep - Regaining Control in Deep SystemsArchitectures That Scale Deep - Regaining Control in Deep Systems
Architectures That Scale Deep - Regaining Control in Deep SystemsC4Media
 
ML in the Browser: Interactive Experiences with Tensorflow.js
ML in the Browser: Interactive Experiences with Tensorflow.jsML in the Browser: Interactive Experiences with Tensorflow.js
ML in the Browser: Interactive Experiences with Tensorflow.jsC4Media
 
Build Your Own WebAssembly Compiler
Build Your Own WebAssembly CompilerBuild Your Own WebAssembly Compiler
Build Your Own WebAssembly CompilerC4Media
 
User & Device Identity for Microservices @ Netflix Scale
User & Device Identity for Microservices @ Netflix ScaleUser & Device Identity for Microservices @ Netflix Scale
User & Device Identity for Microservices @ Netflix ScaleC4Media
 
Scaling Patterns for Netflix's Edge
Scaling Patterns for Netflix's EdgeScaling Patterns for Netflix's Edge
Scaling Patterns for Netflix's EdgeC4Media
 
Make Your Electron App Feel at Home Everywhere
Make Your Electron App Feel at Home EverywhereMake Your Electron App Feel at Home Everywhere
Make Your Electron App Feel at Home EverywhereC4Media
 
The Talk You've Been Await-ing For
The Talk You've Been Await-ing ForThe Talk You've Been Await-ing For
The Talk You've Been Await-ing ForC4Media
 
Future of Data Engineering
Future of Data EngineeringFuture of Data Engineering
Future of Data EngineeringC4Media
 
Automated Testing for Terraform, Docker, Packer, Kubernetes, and More
Automated Testing for Terraform, Docker, Packer, Kubernetes, and MoreAutomated Testing for Terraform, Docker, Packer, Kubernetes, and More
Automated Testing for Terraform, Docker, Packer, Kubernetes, and MoreC4Media
 
Navigating Complexity: High-performance Delivery and Discovery Teams
Navigating Complexity: High-performance Delivery and Discovery TeamsNavigating Complexity: High-performance Delivery and Discovery Teams
Navigating Complexity: High-performance Delivery and Discovery TeamsC4Media
 
High Performance Cooperative Distributed Systems in Adtech
High Performance Cooperative Distributed Systems in AdtechHigh Performance Cooperative Distributed Systems in Adtech
High Performance Cooperative Distributed Systems in AdtechC4Media
 
Rust's Journey to Async/await
Rust's Journey to Async/awaitRust's Journey to Async/await
Rust's Journey to Async/awaitC4Media
 
Opportunities and Pitfalls of Event-Driven Utopia
Opportunities and Pitfalls of Event-Driven UtopiaOpportunities and Pitfalls of Event-Driven Utopia
Opportunities and Pitfalls of Event-Driven UtopiaC4Media
 
Datadog: a Real-Time Metrics Database for One Quadrillion Points/Day
Datadog: a Real-Time Metrics Database for One Quadrillion Points/DayDatadog: a Real-Time Metrics Database for One Quadrillion Points/Day
Datadog: a Real-Time Metrics Database for One Quadrillion Points/DayC4Media
 
Are We Really Cloud-Native?
Are We Really Cloud-Native?Are We Really Cloud-Native?
Are We Really Cloud-Native?C4Media
 
CockroachDB: Architecture of a Geo-Distributed SQL Database
CockroachDB: Architecture of a Geo-Distributed SQL DatabaseCockroachDB: Architecture of a Geo-Distributed SQL Database
CockroachDB: Architecture of a Geo-Distributed SQL DatabaseC4Media
 
A Dive into Streams @LinkedIn with Brooklin
A Dive into Streams @LinkedIn with BrooklinA Dive into Streams @LinkedIn with Brooklin
A Dive into Streams @LinkedIn with BrooklinC4Media
 

More from C4Media (20)

Shifting Left with Cloud Native CI/CD
Shifting Left with Cloud Native CI/CDShifting Left with Cloud Native CI/CD
Shifting Left with Cloud Native CI/CD
 
CI/CD for Machine Learning
CI/CD for Machine LearningCI/CD for Machine Learning
CI/CD for Machine Learning
 
Fault Tolerance at Speed
Fault Tolerance at SpeedFault Tolerance at Speed
Fault Tolerance at Speed
 
Architectures That Scale Deep - Regaining Control in Deep Systems
Architectures That Scale Deep - Regaining Control in Deep SystemsArchitectures That Scale Deep - Regaining Control in Deep Systems
Architectures That Scale Deep - Regaining Control in Deep Systems
 
ML in the Browser: Interactive Experiences with Tensorflow.js
ML in the Browser: Interactive Experiences with Tensorflow.jsML in the Browser: Interactive Experiences with Tensorflow.js
ML in the Browser: Interactive Experiences with Tensorflow.js
 
Build Your Own WebAssembly Compiler
Build Your Own WebAssembly CompilerBuild Your Own WebAssembly Compiler
Build Your Own WebAssembly Compiler
 
User & Device Identity for Microservices @ Netflix Scale
User & Device Identity for Microservices @ Netflix ScaleUser & Device Identity for Microservices @ Netflix Scale
User & Device Identity for Microservices @ Netflix Scale
 
Scaling Patterns for Netflix's Edge
Scaling Patterns for Netflix's EdgeScaling Patterns for Netflix's Edge
Scaling Patterns for Netflix's Edge
 
Make Your Electron App Feel at Home Everywhere
Make Your Electron App Feel at Home EverywhereMake Your Electron App Feel at Home Everywhere
Make Your Electron App Feel at Home Everywhere
 
The Talk You've Been Await-ing For
The Talk You've Been Await-ing ForThe Talk You've Been Await-ing For
The Talk You've Been Await-ing For
 
Future of Data Engineering
Future of Data EngineeringFuture of Data Engineering
Future of Data Engineering
 
Automated Testing for Terraform, Docker, Packer, Kubernetes, and More
Automated Testing for Terraform, Docker, Packer, Kubernetes, and MoreAutomated Testing for Terraform, Docker, Packer, Kubernetes, and More
Automated Testing for Terraform, Docker, Packer, Kubernetes, and More
 
Navigating Complexity: High-performance Delivery and Discovery Teams
Navigating Complexity: High-performance Delivery and Discovery TeamsNavigating Complexity: High-performance Delivery and Discovery Teams
Navigating Complexity: High-performance Delivery and Discovery Teams
 
High Performance Cooperative Distributed Systems in Adtech
High Performance Cooperative Distributed Systems in AdtechHigh Performance Cooperative Distributed Systems in Adtech
High Performance Cooperative Distributed Systems in Adtech
 
Rust's Journey to Async/await
Rust's Journey to Async/awaitRust's Journey to Async/await
Rust's Journey to Async/await
 
Opportunities and Pitfalls of Event-Driven Utopia
Opportunities and Pitfalls of Event-Driven UtopiaOpportunities and Pitfalls of Event-Driven Utopia
Opportunities and Pitfalls of Event-Driven Utopia
 
Datadog: a Real-Time Metrics Database for One Quadrillion Points/Day
Datadog: a Real-Time Metrics Database for One Quadrillion Points/DayDatadog: a Real-Time Metrics Database for One Quadrillion Points/Day
Datadog: a Real-Time Metrics Database for One Quadrillion Points/Day
 
Are We Really Cloud-Native?
Are We Really Cloud-Native?Are We Really Cloud-Native?
Are We Really Cloud-Native?
 
CockroachDB: Architecture of a Geo-Distributed SQL Database
CockroachDB: Architecture of a Geo-Distributed SQL DatabaseCockroachDB: Architecture of a Geo-Distributed SQL Database
CockroachDB: Architecture of a Geo-Distributed SQL Database
 
A Dive into Streams @LinkedIn with Brooklin
A Dive into Streams @LinkedIn with BrooklinA Dive into Streams @LinkedIn with Brooklin
A Dive into Streams @LinkedIn with Brooklin
 

Recently uploaded

Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 

Recently uploaded (20)

Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 

How to Tell Your Boss Story Points Are a Terrible Metric

  • 1. DevOps & DevEx: Remove friction, ship code and add value QCon London 2019 Chris Wilkinson and Liz Ince How to tell your boss story points are a terrible metric
  • 2. InfoQ.com: News & Community Site Watch the video with slide synchronization on InfoQ.com! https://www.infoq.com/presentations/ metrics-evaluation • Over 1,000,000 software developers, architects and CTOs read the site world- wide every month • 250,000 senior developers subscribe to our weekly newsletter • Published in 4 languages (English, Chinese, Japanese and Brazilian Portuguese) • Post content from our QCon conferences • 2 dedicated podcast channels: The InfoQ Podcast, with a focus on Architecture and The Engineering Culture Podcast, with a focus on building • 96 deep dives on innovative topics packed as downloadable emags and minibooks • Over 40 new content items per week
  • 3. Purpose of QCon - to empower software development by facilitating the spread of knowledge and innovation Strategy - practitioner-driven conference designed for YOU: influencers of change and innovation in your teams - speakers and topics driving the evolution and innovation - connecting and catalyzing the influencers and innovators Highlights - attended by more than 12,000 delegates since 2007 - held in 9 cities worldwide Presented at QCon London www.qconlondon.com
  • 4.
  • 5. 3© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 One metric to rule them all, One metric to bring them all, One metric to find them, and in the darkness bind them
  • 6. 4© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 liz.ince@capgemini.com Liz Ince Enterprise Architect chris.wilkinson@capgemini.com Chris Wilkinson Lead Software Engineer and Architect
  • 7. 5© Capgemini 2018. All rights reserved | Metrics and Measurements in general
  • 8. 6© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 Heisenberg - Any attempt to measure precisely the velocity of a subatomic particle, such as an electron, will knock it about in an unpredictable way, so that the act of measuring causes a change
  • 9. 8© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 Target noun, often attributive a. a mark to shoot at b. a target marked by shots fired at it c. something or someone fired at or marked for attack d. a goal to be achieved
  • 10. 9© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 "When a measure becomes a target, it ceases to be a good measure.“ - Goodhart’s Law
  • 11. 10© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 Metric Fixation 3 1 2 Put in place standardised metrics Make the results public – league tables and rankings . Reward or punish on the results
  • 12. 11© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 Gaming the system
  • 13. 12© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 So what DOES drive people? ?? ? ? ? ? ? ? ? ?
  • 14. 13© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 Frederick Herzberg’s two-factor theory – Motivation/Hygiene
  • 15. 14© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 … and the motivation factor?
  • 16. 15© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 https://www.forbes.com/2010/04/06/money-motivation-pay-leadership-managing-employees.html#79e532533e13 So what does motivate people?
  • 17. Recap Goodharts Law Gaming the system Reward & Punishment Motivation
  • 18. 17© Capgemini 2018. All rights reserved | History
  • 19. 18© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 Today The landscape is changing again – why? What can we use? What do we measure? Story Points – 2000s Rise in popularity with the emergence of agile. Variations such as ‘Gummi bears’, ‘NUTs’ Function Points - 1970s Defined by Allan Albrecht of IBM The IFPUG method COSMIC function points Lines of Code - 1960s KLOC – Thousand lines of code Program quality – defects per KLOC Obsolete with high level languages
  • 20. Working software is the primary measure of progress. —Agile Manifesto The issues that are most important, long term, cannot be measured in advance. —W. Edwards Deming
  • 22.
  • 23. 22© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 What happens when it goes wrong? Risk of failure and abuse Success Project Planning Delivered Software
  • 24. 23© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 Agile things What People See How many story points have been completed? Why is an individual completing fewer points this sprint? Why is the team delivering fewer than last sprint? What People See Don’t See “BS” Velocity Subjective Relative
  • 25. 24© Capgemini 2018. All rights reserved | Bringing it all together
  • 26. 25© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 Errors Latency Requests Disk CPU Memory Latency Errors Requests Infrastructure Test Coverage Measurables Build CI Code Quality MTTR Bugs Complexity Duplication Project Lead time Deploy Frequency Deploy fail rate Mean time to recover Disk utilisation Components File handle utilisation CPU utilisation Runtime Services Build failures Infrastructure Microservices
  • 27. 26© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 What is keeping them up at night? • Will the software help increase revenue and profit? • Can I meet my commitments to the city & board of directors? • Will the users & trade unions accept the new system? Developer Project Manager Business Manager • How fast are we going? • Is the code of a good quality? • Does my work meet the definition of done? • Will I meet my project dates? • How much of the budget have I spent? • Have I allowed enough for training and migration?
  • 28. 27© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 Metrics within the SDLC Code #ofcommits Storypoints #oftests Build #offailures Codequality Coveragestats Duplication Deploy VulnerabilityanalysisDeployment frequencyLeadtimeforchangesDeployment SuccessesChangefail percentage Release Delivered functionality SLAs MTTR SDLC
  • 29. 28© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 StakeholderProject Manager Correlation…. SDLC Developer How much of the budget have we spent? Will we meet out deadlines? How many days have we used? Are we ahead? Behind? What issues are there? • Can I meet my commitments to the city & board of directors? • How long will it take to restore service in a DR scenario? • Will I meet my project dates? • How much of the budget have I spent? • Have I allowed enough for training and migration? • Will I meet my sprint goals? • Is the code of a good quality? • Am I committing my code to master? Code #ofcommits Storypoints #oftests Build #offailures Codequality Coveragestats Duplication Deploy VulnerabilityanalysisDeployment frequencyLeadtimeforchangesDeployment SuccessesChangefail percentage Release Delivered functionality SLAs MTTR
  • 30. 29© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019
  • 31. 30© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 Measures that correlate with high performance Lead time Deployment frequency Mean Time To Restore Change fail percentage Lt Δƒ MTTR Δerr % Incentivise improvement Disincentivise errors
  • 32. 31© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 The Virtuous Cycle Lead time for changes The time it takes to go from code committed to code in production. Change fail rate A measure of how often deployment failures occur in production that require immediate remedy. Deployment frequency The frequency which you deploy your changes to production or to an app store. Mean time to restore The average time it takes to restore service in a DR like scenario.
  • 33. 32© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 Prof. R. Westrum Measuring Culture Novelty ideas Knowledge sharing Cooperation Shared risks Transparency
  • 34. 33© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 Westrum Typology of Culture Pathological (power-oriented) Bureaucratic (rule-oriented) Generative (performance-oriented) Low cooperation Modest cooperation High Cooperation Messengers shot Messengers neglected Messengers trained Responsibilities shirked Narrow responsibilities Risks are shared Bridging discouraged Bridging tolerated Bridging encouraged Failure leads to scapegoating Failure leads to justice Failure leads to inquiry Novelty Crushed Novelty leads to problems Novelty implemented
  • 35. 34© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 Robert Karasek – Professor, Department of Work Environment and Director of JCQ Center - University of Massachusetts Lowell (Boston) Professor Emeritus, Copenhagen University, Institut for Psykologi, Denmark
  • 36. 35© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 Westrum Typology of Culture Pathological (power-oriented) Bureaucratic (rule-oriented) Generative (performance-oriented) Low cooperation Modest cooperation High Cooperation Messengers shot Messengers neglected Messengers trained Responsibilities shirked Narrow responsibilities Risks are shared Bridging discouraged Bridging tolerated Bridging encouraged Failure leads to scapegoating Failure leads to justice Failure leads to inquiry Novelty Crushed Novelty leads to problems Novelty implemented
  • 37. 36© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 • Will the new system increase sales? • What is the return on investment? Stakeholder metrics • Will it improve customer satisfaction? • Will we get our invoices paid quicker? • Will it help us become top performers?
  • 38. 37© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 Managing upwards – give them the relevant information Developer Project Manager Business Manager We are now 50% of the way through the backlog and we are less than 50% through the development days allocated We are on track to make the date for the MVP We have completed all of our sprint goals The system will be live in time for us to start performance testing on schedule We are on track to deliver within the budget All development is on schedule for the final delivery
  • 39. 38© Capgemini 2018. All rights reserved | Finally…
  • 40. 39© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 • Apply reasonableness tests • Recognise great teamwork • People are not as motivated by money as business managers might think they are • Unmeasurables - loyalty, team spirit, honesty, helpfulness, dedication… What to discuss with your boss
  • 41. 40© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 • Story points DO have their place – but they indicate capacity not productivity and they’re unique to a group of people • Optimising for a single metric is likely to have unintended consequences! • Metrics != Targets • Aim for a combination of balanced metrics • Only report metrics that are meaningful between layers • Working software is the primary measure of progress To summarise
  • 42. 41© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 Q&A
  • 43. 42© Capgemini 2018. All rights reserved | Reference material
  • 44. 43© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 • Motivation to Work by Frederick Herzberg (ISBN - 978-1560006343) • Money is not the best Motivator: https://www.forbes.com/2010/04/06/money-motivation-pay-leadership- managing-employees.html#79e532533e13 • The War Managers by Douglas Kinnard (ISBN - 978-1591144373) • Kill anything that moves by Nick Turse (ISBN - 978-1250045065) • The Tyranny of Metrics by Jerry Z. Muller (ISBN - 978-0691174952) and https://www.c- span.org/video/?441850-2/the-tyranny-metrics • The concept of “Why” by Simon Sinek; TED talks (https://www.youtube.com/watch?v=7zFeuSagktM) • Building Less Flawed Metrics by David Manheim: https://mpra.ub.uni- muenchen.de/90649/1/MPRA_paper_90649.pdf • Wells Fargo Banking Scandal - https://www.theguardian.com/business/us-money-blog/2016/oct/07/wells- fargo-banking-scandal-financial-crisis Reference material
  • 45. 44© Capgemini 2018. All rights reserved |Liz Ince & Chris Wilkinson | March 2019 • https://devops-research.com/ • Accelerate: The Science of Lean Software & DevOps - Nicole Forsgren, Jez Humble, Gene Kim • Ron Westrum • Mulder, P. (2017). Job Demand Control Model by Robert Karasek. ToolsHero: https://www.toolshero.com/stress- management/job-demand-control-model/ • Demand/Control Model: a Social, Emotional, and Physiological Approach to Stress Risk and Active Behaviour - Robert Karasek http://www.iloencyclopaedia.org/component/k2/item/12-psychosocial-factors-stress-and-health • George M . Mark – The relationship between workplace stress and job characteristics, individual differences and mental health https://orca.cf.ac.uk/54730/1/U585119.pdf • https://continuousdelivery.com/implementing/culture/ • https://www.andykelk.net/devops/using-the-westrum-typology-to-measure-culture • https://www.thoughtworks.com/radar/techniques/four-key-metrics Reference material
  • 46. Watch the video with slide synchronization on InfoQ.com! https://www.infoq.com/presentations/ metrics-evaluation