Measure Quality On The Way in - Not Just On The Way Out: Author: Jan Fish Division: Philips Lifeline IT September, 2008
Measure Quality On The Way in - Not Just On The Way Out: Author: Jan Fish Division: Philips Lifeline IT September, 2008
Measure Quality On The Way in - Not Just On The Way Out: Author: Jan Fish Division: Philips Lifeline IT September, 2008
• 4 Phase Approach
– Target versus Actual Progress
– Bug Patterns within Builds / Deployments
– Workload Assessment for Outstanding Bugs
– Bug Injection Points and Bug Removal Points
2
Traditional Measurements for Test Organizations
TEST METRICS:
Standard of measurement
Gauge effectiveness and efficiency
Gathered and interpreted throughout the test effort
Objectively measure success
PHILOSOPHY:
Keep it simple
Make it meaningful
Track it
Use it
3
Traditional Measurements for Test Organizations
BASE METRICS may include numbers and/or percentages for:
4
Value Added Opportunities
Forecast, Track and Respond:
Inputs: Number of Test Cases, Testers and Cycle Time
First Run Failure Rate:
Inputs: Failed Test Cases / Executed Test Cases
What is the Pattern:
Inputs: Known Patterns vs. Current Pattern
Workload Distribution:
Inputs: Number and Type of Bugs in DEV, QA and
Resolved
Bug Injection and Removal Points:
Inputs: Error Created and Error Found
Plan It, Track It and Graph It:
Inputs: Actual Progress to Targeted Goal
5
Target vs. Actual – Existing Project
Target Testcases Testcases Testcases Failure Rate
Date Executed Passed Failed (%)
7
New and Improved Target versus Actual
Test Cases Test Cases Test Cases
Target Date Retests Failure Rate (%) % Done
Executed Passed Failed
Target Actual Target Actual Target Actual Pending Done Forecast Actual Target Actual
Smoke Tests
6/18 3 3 3 2 0 1 1 0 0% 33%
6/23 2 2 2 2 0 0 3 2 0% 0%
6/24 3 3 3 3 0 0 0 3 0% 0%
6/25 15 15 15 14 0 1 1 0 0% 7%
9
Target vs. Actual Math
• Target Test Cases Executed math = Target Test Cases Passed + Target Test
Cases Failed
• Actual Test Cases Executed math = Actual Test Cases Passed + Actual Test
Cases Failed
• Pending Retests math = Previous Pending Retests + Actual Test Cases Failed -
Retests Done
• Forecast Failure Rate math = Target Test Case Failed / Target Test Cases
Executed
• Actual Failure Rate math = Actual Test Case Failed / Actual Test Cases
Executed
• Forecast % Done math = Current Target (Passed + Failed) / Final Target Test
Cases Executed
• Actual % Done math = Current Actual (Passed + Failed) / Final Target Test
Cases Executed
10
The Added Values of Target vs. Actual
Is quality built in
Is the build / deployment truly ready for test
Is the test resource on schedule with each type of test
execution
Functional
Regression
Load / Performance / Security
Bug Fix Validation
11
The Added Values of Target vs. Actual
12
The Added Values of Target vs. Actual
13
The Added Values of Target vs. Actual
SET realistic, track-based entrance criteria (as agreed upon
with upstream partners) for what is or is not acceptable
quality at the start of the project
14
The Added Values of Target vs. Actual
15
Bug Pattern Recognition – Sample 1
Build Date Critical High Medium Low Total Running
Name Total
b1 02/01 2 15 30 13 60 60
02/06 0 10 27 23 60 120
02/13 1 5 10 28 44 164
b2 02/15 10 3 0 0 13 177
02/20 5 15 6 0 26 203
02/22 0 23 12 14 49 252
02/26 0 5 13 7 25 277
b3 02/29 27 12 0 0 39 316
16
Pattern Recognition – Existing Project 2
Build
Date Date C H M L TT Run TT
02/04/2008 02/05/2008 0 0
02/07/2008 1 1 1
02/11/2008 02/12/2008 2 2 3
02/14/2008 0 3
02/19/2008 02/20/2008 1 1 4
02/22/2008 2 2 6
02/25/2008 02/26/2008 1 1 7
02/28/2008 1 1 8
TOTAL 7 1 0 0 8 8
17
The Added Values of Pattern Recognition
INSTITUTE a process change and know the effect
18
Bug, Bug, who‘s got the
Bug?
Pending Pending QA
Resolved
Development Fix Retest
11/02 0 1 2 0 3 0 0 0 0 0 0 0
11/19 0 2 2 0 4 4 7 11 4 2 0 6
11/27
19 1 10 9 2 22 3 5 8 9 2 0 11
The Added Values of Bug Reporting by Group
20
Bug Injection/Removal Points
21
Added Values of Bug Injection & Removal Points
BASIS for estimating the number of bugs to be found at each
phase of the Software Development Lifecycle
IDENTIFIED work cycles that would benefit from process
improvements and inspection points
VALIDATE that improvements work
DEMONSTRATE that quality must be the goal of all team
members, not just the responsibility of the test organization
22
Measure Quality on the Way In; Not Just on the Way Out
• PEOPLE do not intentionally make a bad plan but they may
not be able to quickly adjust the plan to current
circumstances and abate risks
• PEOPLE do look for paths of least resistance and, if it is
easy to blame others, they will
• MEASURING quality once product is in production tells the
tale of what was not trapped and fixed but not the tale of
quality before production
• QUALITY can not be tested into a product but you can
measure quality coming into your test organization
• FOCUS on the level of quality at the project level
23