creating meaningful defect metrics by harmony brenner

14
Creating Meaningful Defect Metrics By Harmony Brenner January 21, 2014

Upload: harmony-brenner-istqb-ctfl

Post on 17-Dec-2014

289 views

Category:

Business


0 download

DESCRIPTION

This is a presentation on how to create and implement meaningful defect metrics for software projects.

TRANSCRIPT

Page 1: Creating Meaningful Defect Metrics by Harmony Brenner

Creating Meaningful Defect Metrics

By Harmony BrennerJanuary 21, 2014

Page 2: Creating Meaningful Defect Metrics by Harmony Brenner

“Measurement is the first step that leads to control and eventually to improvement.

If you can’t measure something, you can’t understand it.

If you can’t understand it, you can’t control it.

If you can’t control it, you can’t improve it.”

― H. James Harrington

Page 3: Creating Meaningful Defect Metrics by Harmony Brenner

AgendaGoalsDefinitionsPre-RequisitesProcess RequirementsMetrics and ExclusionsCalculate DRE MetricsCalculate Rework MetricsPresenting ResultsMetrics Usage and Sharing

Page 4: Creating Meaningful Defect Metrics by Harmony Brenner

GoalsIncrease attention given to all phases of

testing (Unit, System, User Acceptance) to improve quality.

Decrease number of defects detected in later phases of testing to reduce rework and overall costs.

Implement metrics as an objective method to measure outcomes and improvements over time.

Page 5: Creating Meaningful Defect Metrics by Harmony Brenner

DefinitionsDRE – Defect Removal Effectiveness.

Metrics – Use of numerical ratings to determine quality and performance of item / phase being measured.

Also define any Testing phases and describe who / which team(s) own accountability.Examples – SIT is usually done by IT Team;

UAT is usually performed by Business Team

Page 6: Creating Meaningful Defect Metrics by Harmony Brenner

Pre-Requisites

Ensure your Defect Tracking system contains discrete categories for the following:

StatusesReasons / outcomes for defect closureImpact LevelsRoot CausesAbility to track Cycles of Rework

Page 7: Creating Meaningful Defect Metrics by Harmony Brenner

Process RequirementsEncourage consistent creation and updates of

defects by IT and Business teams immediately upon discovery.Mentor teams how to create effective defect

reports.

Foster communication between teams to ensure that all release defects are worked through to completion.Defect Tracking TrainingResolve other barriers to acceptance

Page 8: Creating Meaningful Defect Metrics by Harmony Brenner

Metrics and Exclusions

Decide and describe whether any Defect Statuses should be excluded from measurement.

Example – statuses indicate the defect should not have been created may merit exclusion.

Cancelled, No Action Required, etc.

Page 9: Creating Meaningful Defect Metrics by Harmony Brenner

Metrics and Exclusions (cont’d)

Decide and describe whether any Defect Root Causes should be excluded from measurement.

Example – categories that indicate the defect should not have been created may merit exclusion.

Change Request, User Error, etc.

Page 10: Creating Meaningful Defect Metrics by Harmony Brenner

Calculate DRE MetricsCalculate the DRE (Defect Removal Effectiveness)

for each test phase in the project to be measured:

Phase DRE = Phase Defects / (Phase Defects + All Defects)

SIT Defects (10) / (SIT Defects (10) + UAT Defects (5) )

10 / 15 = 67% is SIT DRE 5 / 15 = 33% is UAT DRE

Page 11: Creating Meaningful Defect Metrics by Harmony Brenner

Calculate Rework MetricsDecide how to track Rework instances for

defects.

Example – Audit trail may count changes between Retest vs. Rework statuses.

Where possible, automate Rework counts per defect so these can be calculated vs. manually determined.

Page 12: Creating Meaningful Defect Metrics by Harmony Brenner

Presenting ResultsShare results in a non-judgmental

framework.

Anonymize and de-personalize outcomes wherever possible. This is team, not individual, performance.

Give credit where due and be a change champion!

Page 13: Creating Meaningful Defect Metrics by Harmony Brenner

Metrics Usage and SharingAlways tell yourself the truth!

Use metrics to raise awareness on overall quality – not as punishment!

Share metrics at regular intervals – no surprises.

Compare metrics over time on the same project or among different projects to measure performance.

Page 14: Creating Meaningful Defect Metrics by Harmony Brenner

Want to Learn More?

I enjoy professional discourse on a variety of subjects pertaining to Software Quality and Testing.

Harmony Brenner – [email protected]

LinkedIn – www.linkedin.com/in/harmonybrenner