How long does it take to fix a defect? No, this isn’t a “how many software developers take the screw in a light bulb” joke.
Let’s say it’s about a month and a half from the time it is reported until closure. That’s not so bad, right? Anyway, a coworker was tasked with analyzing that very thing. When Robert (just using Bob’s formal name for a change) was given the assignment he went right to work collecting data about the open and close times for defect tracking requests.
We actually keep quite a bit of data on defect resolution because we have decent work-flow management. We can see the entire history of each request as it makes its way from submission to closure. We can even tell how many times a request is sent back to the originator for more information.
So, Robert put together a deck he called ‘A day in the life of a bug.’ Catchy name, no? I hate catchy names. I view good analysis as serious business and thus deserving of a title which is serious. When did solid analysis require a fun name? Oh, I remember, when the analysis is inadequate.
Let’s disassemble it!
Page 1 of ‘a day in the life of a bug’: The average duration of a request is 62 days. Average? Average!?!? Not that I’m opposed to an average when it’s the appropriate measure of central tendency but this is time data we’re talking about. Things that take time tend to be non-normal. The reason is that you are bound on the left by zero (you can’t have things take a negative amount of time) but something can in theory go on forever.
It’s an easy test, we simply take the data and run an Anderson Darling Normality test on it. Or, if you want to do it more graphically, we toss the data into a histogram or box plot and take a peek at it. Well what do you know, it’s NOT normally distributed.
So, we take the median instead. That’s about 45 days. Wow, we’re already17 days faster than Robert claims we are. ooops…
Page 2: Robert provides an analysis of defect resolution by number of times a ticket is sent back to the requester for more information. In a simple little table we get the number of times a request was sent back and the average duration of that population. Zero times – 62 days. One time, 65 days. Two times, 80 days. Three or more times, 96 days.
Oh lord, it’s the average again… OK, the medians are: Zero times – 42 days, One time – 45 days, Two times, 70 days, Three or more times 80 days. Hmm, zero time or one time seems kind of close to me. Perhaps a hypothesis test is in order.
We have non normal, but fortunately homoscedastic data. A Kruskall-Wallis test between the two samples shows indeed that there’s no statistically significant difference between having the request never returned and having it returned once. Beyond that, we do see statistically significant evidence that 2, 3 or more times does affect how long from request to resolution. By the way, we call these returns to the requester “more info required”
But there’s another flaw. See, Robert is making a case for having more controls up front for entry of the data into the system. In theory, if the requester put in better information we’d never have to send it back for “more info required.” It’s probably true, but on the other hand, probably not necessary. See, logically, tickets which are sent back for “more info required” don’t take longer for a developer to resolve in terms of touch time. The request is open longer because when it is sent back to the requester for more information they are simply lazy about getting the request updated and back into the system.
Now sure, it might improve the TAKT time for defect resolution, but it doesn’t do anything at all for the actual leanness of the resolution process. Basically all that extra time is waiting for the request to come back around. In the meantime the developer just works on something else. There’s lots of issues to resolve.
So it’s fortunate that Robert produced such an analysis since it gives me something to write about and a few lessons (not that I haven’t given these before). One: select the right measure of central tendency. Two: check to see if there’s a statistically significant difference in the samples you are comparing.
As for Robert, we can most certainly say one thing about his analysis — “More Info Required.” Much more info indeed.
Posted by ProcessRants
Posted by ProcessRants
Posted by ProcessRants