109
@LMaccherone | [email protected] @Tasktop | The of Impact Quantified Agile A De-mystery Thriller

Impact of Agile Quantified - Late 2014 Edition

Embed Size (px)

Citation preview

Page 1: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

The

ofImpact

QuantifiedAgile

A De-mystery

Thriller

Page 2: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Lean-Agile city.

This place runs on folklore, intuition, and anecdotes.

If you want to know the truth about this town, stick with me. I’ll give you a tour you’ll never forget.

But if you don’t want your beliefs challenged with facts, you’d better beat it, kid. I don’t want to upset you.

Page 3: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

My sidekick down there? That’s Larry Maccherone. He’s worked in this town his entire professional life.

Page 4: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Credits

Many thanks to my friends at Rally Software and their customers whose non-attributable data is the source for much of this research.

Much of this material was previously published when I was Director of Analytics and Research at Rally Software, and much of that is derived from my PhD work at Carnegie Mellon, while other aspects come from collaboration with the Software Engineering Institute.

Page 5: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

I’m going to give you the tools to find the real-world numbers that can help you make the economic case to get the resources you need and get your people to commit to change. Really.

-

Page 6: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

The Seven Deadly Sins of Agile Measurement

11 ManipulatingOthers

22 UnbalancedMetrics

33 QuantitativeIdolatry

4 OverpricedMetrics

5 LazyMetrics

6 BadAnalysis

7 LinearForecasting

Page 7: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Manipulating

Others

Sin #1

Using metrics as a lever to drive someone else’s

behavior

Page 8: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Self Improveme

nt

Heavenly Virtue #1

Using metrics to reflect on your

own performance

Page 9: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

LinearForecastin

g

Sin #7

Forecasting without

discussing probability and

risk

Page 10: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

ProbabilityTools

Heavenly Virtue #7

Using the proper tools to predict the likelihood of

results

(Not likely)

Page 11: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

MonteCarloSimulation

Page 12: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Correlation does not

necessarily mean

causation

CAUTION:

Page 13: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

CAUTION:

Only good practices in

context

There are no best practices

Page 14: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

The investigation continues with ...

Iteration length

Page 15: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Crowd wisdom or shared delusion?

Iteration length

Teams using

1 week 6.2%

2 weeks 59.1%

3 weeks 23.4%

4 weeks 9.8%

5+ weeks 1.5%

[email protected] I'm still not happy with how small the numbers are at the top of these bars. No one can read them.-Larry Maccherone
Page 16: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 17: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 18: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

SDPI current dimensions

Productivity

(Throughput)

Predictability(Stability of Throughput)

Responsiveness

(Time in Process)

Quality(Defect Density)

Page 19: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Future SDPI dimensions

Customer/ StakeholderSatisfaction(Late 2014)

Build-the- Right-Thing

metric(2015)

EmployeeEngagement/ Satisfaction(Late 2014)

Code Quality from Static Analysis

(2015)

Page 20: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Raw metrics → Percentiles = Index

Page 21: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

The investigation continues with ...

Iteration length

Page 22: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 23: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 24: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 25: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 26: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Facts Discovered:

● Teams using two-week iterations have the best balanced performance

● Longer iterations correlate with higher Quality

● Shorter iterations correlate with higher Productivity and Responsiveness

● However, some teams are acting like “tough guys” by pretending to operate at one-week iterations when they can’t back it up

Page 27: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

The investigation continues with ...

Ratio of testers to developers

Page 28: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 29: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 30: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 31: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Facts Discovered:

● More testers lead to better Quality

● But they also generally lead to worse Productivity and Responsiveness

● Interestingly, teams that self-identify as having no testers have:

o The best Productivity

o Almost as good Quality

o But much wider variation in Quality

Page 32: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

The investigation continues with ...

Retrospectives

Page 33: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 34: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 35: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 36: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 37: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

The investigation continues with ...

Motive

Page 38: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 39: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 40: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Evidence Found:

● Motive has a small but statistically significant impact on performance

● Extrinsic motivation does not have a negative impact on performance

● Executive support is critical for success with Agile

● Teamwork is not the dominant factor; talent, skills, and experience are

● Those motivated by quality perform best

Page 41: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

The investigation continues with ...

Co-location

Page 42: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 43: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Evidence Found:

● Teams distributed within the same time zone have up to 25% better productivity.

● Is distraction a problem?

Page 44: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

One year earlier ...

rallydev.com/agilemetrics

Page 45: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Stable teams result in up to:

● 60% better Productivity

● 40% better Predictability

Dedicated teams: Teams made up of people who only work on that one team have double the Productivity

Smaller teams have better Productivity

Larger teams have better Quality

Teams with low WiP have up to:

● 4x better Quality

● 2x faster Time to market

● But 34% worse productivity

Page 46: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Fu

ture

researc

h

Page 47: Impact of Agile Quantified - Late 2014 Edition

Connecting the world of software delivery

© Tasktop 2013

What’s Next?

Tasktop Data– Provides a single aggregated stream of Data from connected tools:

• ALM, Build, SCM, Support, Sales, etc.

– Operates in real time.– Maintains complete history.– Normalizes data models. Resolves users and projects.– Supports analytics and reporting tools.– Does not directly provide visualization or analysis.

Get insights like the ones in this talk for your teams

Page 48: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

A fact without a theory is like a ship without a sail, is like a boat without a rudder, is like a kite without a tail.

A fact without a figure is a tragic final act.

But one thing worse in this universe is a theory without a fact.

~ George Schultz©2014 Larry Maccherone

Page 49: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Tasktop booth• Your questions• Extracting insights

from your data

Panel discussion• 4:30pm Grand

Ballroom• Dave West – Tasktop

Chief Product Officer• Ken Pugh• Mike Cottmeyer• Steve Davis• Jeff Estill

Page 50: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |#RallyON14

Additionalslides

Page 51: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

The investigation continues with ...

SDPI dimensions

Page 52: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Productivity = Throughput

Throughput is simply the count of User Stories completed in a given time period.

Productivity (by default) is the percentile scoring of the raw Throughput metric for User Stories normalized by team size.

©2014 Larry Maccherone

Page 53: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Predictability = Stability of Throughput

Predictability measures how consistent you are at producing the same amount of work each month as measured by the Coefficient of Variation (CoV) of Throughput.

Predictability (by default) is the percentile scoring of the raw CoV of Throughput.

©2014 Larry Maccherone

Page 54: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Responsiveness = Time in Process

TiP shows how long it takes to get one work item through your system. It's the work days that a User Story spends in development and testing. Similar to lead time or cycle time.

Responsiveness (by default) is the percentile scoring of the raw Time In Process (TiP) metric for User Stories.

©2014 Larry Maccherone

Page 55: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Quality = Defect Density

Defect Density is a representation of the number of defects found in your code. It's the count of defects found in a given time period, normalized by team size.

Quality (by default) is the percentile scoring of the raw defect density metrics for both defects found in test as well as those found in production.

©2014 Larry Maccherone

Page 56: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

The investigation continues with ...

Team time together

Page 57: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 58: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 59: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 60: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

The investigation continues with ...

Controlling WiP

Page 61: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Most obvious finding:

Little’s Law

Page 62: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Most dramatic

finding

Page 63: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 64: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 65: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Facts Discovered:

Teams that most aggressively control WiP:

● Have ½ the Time in Process (TiP)

● Have ¼ as many defects

● But have 34% lower productivity

Page 66: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Recommendations:

● If your WiP is high, reduce it

● If your WiP is already low, consider your economic drivers○ If Productivity drives

your bottom line, don’t push WiP too low

○ If time to market or quality drives your bottom line, push WiP as low as it will go

Page 67: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

The investigation continues with ...

Estimating process

Page 68: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Estimating process

Process Type Teams Using

No Estimates 3%

Full Scrum 79%

Lightweight Scrum 10%

Hourly-Oriented 8%

Page 69: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 70: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 71: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 72: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 73: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 74: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 75: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Facts Discovered:

● Teams doing Full Scrum have 250% better Quality than teams doing no estimating

● Lightweight Scrum performs better overall, with better Productivity, Predictability, and Responsiveness

Page 76: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Recommendations:

● Experienced teams may get best results from Lightweight Scrum

● If new to Agile or focused strongly on Quality, choose Full Scrum

Page 77: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

The investigation continues with ...

Team stability &Dedication to one team

Page 78: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Not a lumenize thing here, but highcharts...or whatever was used to build them...could be an older version of highcharts but the current version has a bug wrt tickmarks "between" categories + tick interval != 1...I'll email what I have.-Joel Sherriff
You can ask Mike. I know he used the histogram functionality in Lumenize.It's not very well documented though. One of the few dark corners ofLumenize. He and I stayed up all night doing histogram and percentile stuffone weekend to make a deadline. I never went back and cleaned up thehistogram or percentile documentation.On Fri, Jun 27, 2014 at 9:54 AM, Larry Maccherone <[email protected]>wrote:> 2% is fine.>>> On Fri, Jun 27, 2014 at 9:08 AM, Joel Sherriff (Google Docs) <-Larry Maccherone
2% is fine.-Larry Maccherone
The old ones (slides 110 and 111) were 2% per bar...did you want to switch to 1%? Only problem I'm having duplicating the old ones (slide 110 and 111) is the x-axis. Wish I knew how they were done - I'm tripping over a highcharts bug. Also the values are vastly different since there's so many more snapshots.-Joel Sherriff
[email protected] I told you wrong. When I look at these, this doesn't go all the way to zero so we can't use it to replace the older blue ones yet. [email protected] Can you give us updated histograms for percent dedicated and team stability with 1% increments... or is it best if Ian just re-colors the old ones?-Larry Maccherone
Page 79: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 80: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 81: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 82: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 83: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 84: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

updated here: http://rlh-engdb-01:8080/histogram/percent_dedicated_work_histogram.html-Joel Sherriff
I recolored and re-whatevered this until the real graphs are ready-Ian Kleinfeld
Page 85: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

and here: http://rlh-engdb-01:8080/histogram/team_stability_histogram.html-Joel Sherriff
Sure, Joel, sure ... :P [email protected] Kleinfeld
Just so we don't forget, the x-axis title here should be Team Stability. The updated chart is in the Neo flow and will be in the index Real Soon Now.-Joel Sherriff
Page 86: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Another Fact Discovered:

One out of four team members changes every three months!

I'm confused about what you want here. Remove it here or have it in both places? Or?-Ian Kleinfeld
[email protected] Can you fly this into the Team Stability slide?-Larry Maccherone
Page 87: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 88: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 89: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 90: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 91: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 92: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Facts Discovered:

Stable teams result in up to:

● 60% better Productivity

● 40% better Predictability

Another Fact Discovered:

One out of four team members changes every three months!

[email protected] comme ca?-Ian Kleinfeld
Page 93: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Recommendations:

● Dedicate people to a single team

● Keep teams intact and stable

Page 94: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

The investigation continues with ...

Team size

NOTE TO SELF: Pick up here Thursday-Ian Kleinfeld
Page 95: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Agile recommends that the ideal team size is 7± 2. How ideal is that when we actually look at the data?

Balance your team’s Performance

Page 96: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 97: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 98: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 99: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 100: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 101: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Facts Discovered:

Small teams (of 1-3) people have:

● 17% lower Quality

● But 17% more Productivity

than teams of the recommended size.

Page 102: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Recommendations:

● Set up team size of 7±2 people for the most balanced performance

● If you are doing well with larger teams, there’s no evidence that you need to change

Page 103: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

The investigation continues with ...

Geography

Page 104: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 105: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Israel-based teams● Find more defects overall● But find fewer in

production● Theory: May correlate with

high use of static analysis tools

India-based teams● Find more defects overall● Released and unreleased● Theory: May correlate with

high use of static analysis tools

● Theory: Could be recording bias

[email protected] This slide is messed up. Also, the highlighting on Israel was too subtle for most projectors. Can you bump it up?-Larry Maccherone
Page 106: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Facts Discovered:

● Differences are slight but statistically significant.

● Australia has the best overall performance.

● India the worst. However, there could be a reporting bias for defects.

● Israel seems to catch the most defects before production. Heavy use of static analysis?

Page 107: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

The investigation continues with ...

Geography: US and Europe

Page 108: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

Page 109: Impact of Agile Quantified - Late 2014 Edition

@LMaccherone | [email protected] @Tasktop |

(Note that that's not THE Europe Geographic Location...it's a 2nd that's specifically ordered by Productivity)-Joel Sherriff
re-ordered by productivity here: http://rlh-engdb-01:8080/analysis/europe_geographic_location_by_productivity_relationship_to_performance.html-Joel Sherriff
[email protected], that was for you-Joel Sherriff
is this the only place this (Europe Geographic location) chart is used? Cause I'll have to "sort" it manually since it's already sorted by the total score-Joel Sherriff
I can't. [email protected] can you?-Ian Kleinfeld
[email protected] Sort by highest to lowest-Larry Maccherone