{"id":5091,"date":"2016-02-11T11:02:47","date_gmt":"2016-02-11T13:02:47","guid":{"rendered":"http:\/\/blog.plataformatec.com.br\/?p=5091"},"modified":"2016-08-18T16:16:04","modified_gmt":"2016-08-18T19:16:04","slug":"why-we-love-metrics-learning-with-lead-time","status":"publish","type":"post","link":"http:\/\/blog.plataformatec.com.br\/2016\/02\/why-we-love-metrics-learning-with-lead-time\/","title":{"rendered":"Why we love metrics? Learning with Lead time"},"content":{"rendered":"
Every time I think about indicators and metrics I remember a phrase from H. James Harrington<\/a> that says:<\/p>\n \n \u201cMeasurement is the first step that leads to control and eventually to improvement. If you can\u2019t measure something, you can\u2019t understand it. If you can’t get it, you can\u2019t control it. If you can\u2019t control it, you can\u2019t improve it.\u201d\n<\/p><\/blockquote>\n Just to clarify, as an Agilist, I understand “control” as the ability of the team to handle and formulate tools that bring self-management to the environment, instead of a culture of command-control.<\/p>\n Since I started working on software development, I have seen metrics from two different points of view:<\/p>\n At Plataformatec, we use metrics to understand how we can make things better based on data, as an exercise of continuous improvement.<\/p>\n This blog post is the first of a series where I will share some metrics and charts that we have been collecting, and how we are using them in our projects.<\/p>\n Quoting Wikipedia<\/a>, it is possible to define Lead Time as the latency between the initiation and execution of a process. For example, the Lead time between the placement of an order and delivery of a new car from a manufacturer may be anywhere from 2 weeks to 6 months. In the industrial goods sector, Lead time reduction is an important part of lean manufacturing.<\/p>\n In the software development context, we consider Lead time as the number of days between the beginning and the end of an issue (e.g., user story). One important definition to measure Lead time is to establish the done criteria. In some teams, “done” could mean a user story released to production, but for others could be the code merged into the master branch.<\/p>\n Frequently, we interpret the Lead time charts to answer questions like:<\/p>\n Let’s see a practical example. Imagine a situation that you as an Agile Coach are mentoring the team C3PO. What type of insight can you get from the chart below?<\/p>\n <\/p>\n Drawing the 75th<\/em> percentile line (the green line) we can note that 75% percent of the issues that have flowed through the process took 20 days<\/strong> or less to complete.<\/p>\n Another line we might want to draw is the 95th<\/em> percentile. Based on that, it’s possible to assume that a new issue has a 95% chance of being completed in 37 days<\/strong> or less.<\/p>\n If someone asks the team to estimate the time necessary to develop a new issue, a guess could be some number in a range of 20 to 37<\/strong> days. Since we have a high amplitude, estimates will not be very reliable.<\/p>\n Investigating further, it’s possible to identify that after the first release something happened because the Lead time raises to a new standard. Probably, in recent releases the team handled differences in issue sizes, complexity or uncertainty.<\/p>\n Another interesting thing to analyze on the chart are the outlier cases (Lead times that are distant from others). More often than not, those outliers were caused by circumstances that are beyond team control, but the team could use them as useful material for retrospectives and lessons learned meetings.<\/p>\n To conclude, I would like to share five tips on how to optimize Lead time:<\/p>\n What about you? What type of question are you answering based on Lead time? Share with us your thoughts in the comments below!<\/p>\n P.S.: In the next blog post of this series I’ll talk about how to use throughput and global burnup charts to have visible and predictable projects<\/p>\n Every time I think about indicators and metrics I remember a phrase from H. James Harrington that says: \u201cMeasurement is the first step that leads to control and eventually to improvement. If you can\u2019t measure something, you can\u2019t understand it. If you can’t get it, you can\u2019t control it. If you can\u2019t control it, you … \u00bb<\/a><\/p>\n","protected":false},"author":43,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[1],"tags":[123,75,243,210],"aioseo_notices":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/posts\/5091"}],"collection":[{"href":"http:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/users\/43"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/comments?post=5091"}],"version-history":[{"count":15,"href":"http:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/posts\/5091\/revisions"}],"predecessor-version":[{"id":5645,"href":"http:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/posts\/5091\/revisions\/5645"}],"wp:attachment":[{"href":"http:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/media?parent=5091"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/categories?post=5091"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.plataformatec.com.br\/wp-json\/wp\/v2\/tags?post=5091"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\n
Let’s talk about Lead time<\/h2>\n
\n
So, what do we deduce from this case?<\/h2>\n
\n