Work item type distribution and bug frequency
Counting items by type, as a snapshot or over time, gives context to every other metric. If your tool has twenty customised item types, theme them into three before you analyse anything: requirements, bugs and changes. (Bugs and changes are both Problems in H-Model terms; they are worth separating here because they signal different things.)
Our historical project data usually showed more bugs and changes than requirements, and that is fine: bugs and changes are smaller. The patterns to look for are the extremes. A requirements-heavy distribution means an early-stage product. An excessively bug-heavy distribution means poor quality practice. An excessively change-heavy distribution means unstable requirements, usually because too much was specified up front. Over time, the healthy iterative rhythm is visible as a burst of stories followed, a few weeks later, by a lagging rise in bugs and changes. You can read many teams’ release cadence straight off this chart.
Bug frequency
How many bugs are there? What is the quality like?
Quality is more than a bug count, as the quality page argues, but bugs found over time are a reasonable indicator if you split them in two. Development bugs are found before the product reaches a user: the more of these the better, because each one is a bug that did not escape. Escaped bugs are found in live use, which is bad. Most tools can tell the two apart if the team records where a bug was found.
The healthy pattern is high and bumpy in development, low and falling in live. Escaped bugs trending up means a quality problem, even if user numbers are rising too. Escaped bugs trending down means the quality practices are working. Excessive development bugs mean more effort should go into preventing defects than catching them. One consistent finding from the historical data: bug counts of both kinds fell when development and test effort were merged in one team and rose when they were split into separate teams.
Related
- Work in progress, cumulative flow and work item age: why wish lists are not work items
- Quality: why quality is more than a bug count
- Quality Confidence: the lead indicator that escaped bugs lag behind