SlideShare a Scribd company logo
1 of 43
Metrics for Software Testing
Measuring Project, Process, and Product
Metrics for Testing: Managing with Facts
By using metrics, we can manage with
facts and reality
How can we use metrics to manage testing?
What metrics can we use to measure the test
process?
What metrics can we use to measure our
progress in testing a project?
What do metrics tell us about the quality of
the product?

Let’s see if we can find some answers…
Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 2
Part 1: Why and How of Metrics
Why Metrics?
Managing with metrics—for testing or
anything—allows us to manage with
facts
Subjective, uninformed opinions are not
a sound basis for management
What sounds reasonable can be wrong
(e.g., Aristotle)

Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 4
Why Testing Metrics?
Testing by itself has no value…but it produces
potentially valuable information
Test information must be generated and
communicated effectively to be valuable
Common communication goals
Notify (“We have 24 bugs remaining to close”)
Enlighten (“See the time lost due to reopens”)
Influence (“We propose a bug triage meeting”)

The metrics should be used as part of regular
status reports (dashboards) as well as periodic
analyses
Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 5
How to Develop Metrics?
Identify objectives
Create questions about effectiveness,
efficiency, and elegance of achievement of
objectives
Devise a measurable metric (or find a
surrogate metric) to address the question
Set a goal for each metric
Implement improvements to enhance
achievement of objectives
Let’s look at two examples…
Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 6
Example One
Objective: Find defects
Effectiveness question: Have we
finished finding new defects?
Metric: Track trend in defect discovery
during testing
Goal: Watch for convergence (more
later)
Improvement: Find bugs earlier
Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 7
Example Two
Objective: Build confidence
Note that we need a surrogate metric for
confidence; one way is to measure coverage
Coverage has multiple dimensions
Effectiveness question: Do any requirements have
identified failures?
Metric: What % of requirements are completely
tested without any failures, what % requirements
have failures, what % are untested
Goal: 100% requirements tested without must-fix
failures
Improvement: Reduce % of requirements that fail
in testing
Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 8
Good Metrics
Define a useful, pertinent, and concise
set of quality and test metrics
Avoid too large a set of metrics
Too difficult to measure later
Confusing to participants

Ensure uniform, agreed interpretations
of these metrics, to minimize disputes
and divergent opinions about measures
of outcomes, analyses, and trends
Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 9
Tracking Metrics
Automated tool support can reduce the time required
to capture, track, analyze, report, and measure
metrics
Apply objective and subjective analysis for specific
metrics over time, especially when trends emerge
that could allow for multiple interpretations of
meaning
Be aware of and manage the tendency for people’s
interests to affect the interpretation they place on a
particular metric or measure

Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 10
Reporting Metrics and Measurements
Reporting of metrics and measures should enlighten
management and other stakeholders, not confuse or
misdirect them
Good testing reports based on metrics should be
easily understood, not overly complex or ambiguous
Good testing reports based on metrics should help
management improve processes, guide the project to
success, and manage product quality
Metrics include snapshots of status at a moment in
time, trends emerging over time, and analysis of
causes and relationships between factors that
influence testing and quality outcomes
Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 11
Part 1: Why and How of Metrics
Exercise
Develop a Metric
Pick any personal, professional, or
business objective
Pose a question about the effectiveness,
efficiency, and elegance of achievement
of this objective
Devise a measurable metric (or find a
surrogate metric) to address the
question
Set a goal for each metric
Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 13
An Example
Objective: train for a marathon
Effectiveness question: Can I complete
the marathon?
Metric: starting with a 10 km run, run a
long run every weekend, adding 2 km
every weekend
Goal: Continue for 14 weeks until
reaching 38 km two weeks before actual
marathon
Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 14
Part 2: Process Metrics
Process Metrics for Testing
Uses

To measure the effectiveness, efficiency, and
elegance of the test process
To provide the insights to guide where
process improvements should occur

Part of certain test process assessments
(e.g., using CTP framework)
Not used as frequently as should be the
case
Not typically part of any dashboard (but
can be)
Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 16
Developing Good Process Metrics
Determine key objectives for the test
process
Typical objectives

Finding bugs, especially important bugs
Reducing quality risk

Decide which important effectiveness,
efficiency, and elegance questions apply
Create metrics that address those
questions
Set goals that reflect current or desired
capability
Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 17
Bug Finding Effectiveness
Objective: Finding bugs
Question: What percentage of bugs found?
Metric: Defect detection percentage
Goal: A typical number is 85%, though
some teams do much better

DDP

bugs detected
bugs present

DDP ( for testing)
Metrics for Testing

test bugs
test bugs production bugs

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 18
Bug Finding Focus
Objective: Finding important bugs
Question: Do we find more important
bugs than less important bugs?
Metric: Relation of DDPs (see below)
Goal: Relationship shown below is
always true

DDP (all bugs) DDP (critical bugs)
Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 19
Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 20
Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 21
Part 2: Process Metrics
Exercise
Test Process Metric
Define an objective for your test process
Define an effectiveness, efficiency, or
elegance question
Create a metric that addresses that
questions
Discuss
Measure your own test process when
you get back to your office
Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 23
Part 3: Project Metrics
Project Metrics for Testing
Uses
To measure the progress of the testing effort
on a project
To provide the insights to guide where project
optimizations might be needed/useful

Part of certain test process assessments
(e.g., using CTP framework)
The most commonly used test metrics
Usually included in test dashboards (often
over-relied upon)
Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 25
Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 26
Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 27
Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 28
Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 29
Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 30
A Troubled Project’s Defect Metrics

Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 31
Part 3: Project Metrics
Exercise
Your Current Test Project Metrics
Sketch or describe your current test project
metrics
Classify your presentation of each metric
as:
Snapshot of status (e.g., tables)
Trend chart
Analysis/causality

What do you think is missing from your
metrics?
Discuss
Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 33
Part 4: Product Metrics
Product Metrics for Testing
Uses

To measure the quality and residual quality
risk in the product
To provide the insights to guide where
product improvements should occur

Good testing should measure the quality
of the system
Not always measured during testing
(using project metrics instead)
Not always on testing dashboards (but
should be)
Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 35
Example: Reporting Residual Levels of Risk

Test execution period

Region in green represents risks for which all tests were run and passed and
no must-fix bugs were found. Region in red represents risks for which at
least one test has failed and at least one must-fix bug is known. Region in
black represents other risks, which have no known must-fix bugs but still
have tests pending to run.
www.rbcs-us.com
Metrics for Testing

Copyright (c) RBCS 2005-2012

Page 36
Example: Testing and Risk
Defects
Quality Risk Areas

Tests

#

%

Performance

304

27

3,843

1,512

39

Security

234

21

1,032

432

42

Functionality

224

20

4,744

2,043

43

Usability

160

14

498

318

64

Interfaces

93

8

193

153

79

Compatibility

71

6

1,787

939

53

Other

21

2

0

0

0

Total

1,107

100

12,857

5,703

44

Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Planned Executed

%

Page 37
Use of Standards
Functionality: Suitability, accuracy,
interoperability, security, compliance
Reliability: Maturity (robustness), faulttolerance, recoverability, compliance
Usability: Understandability, learnability,
operability, attractiveness, compliance
Efficiency: Time behavior, resource
utilization, compliance
Maintainability: Analyzability,
changeability, stability, testability,
compliance
Portability: Adaptability, installability, coexistence, replaceability, compliance
Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Addressed by
functional tests

Addressed by
non-functional
tests

Page 38
Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 39
Part 4: Product Metrics
Exercise
Your Current Product Metrics
Sketch or describe how you currently measure
the product during testing
Coverage of requirements, configurations, etc.
Residual level of risk
Confidence in the product

Sketch or describe how your organization
currently measures product quality during
actual use
How well do your pre-release metrics predict
product quality as experienced by the users
and customers?
Discuss
Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 41
Conclusions
Metrics can be useful to measure, understand, and
manage process, project, and product attributes
Testing metrics are essential for a complete
understanding of status
Use a small number of metrics
Use surrogate metrics where necessary
Ensure consistent stakeholder understanding of
metrics
Define objectives, then questions, then metrics, then
goals
Use the goals to drive meaningful process
improvements
Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 42
To Contact RBCS
For almost twenty years, RBCS has delivered consulting, outsourcing and training
services to organizations that want to improve their software and hardware testing.
Employing the industry’s most experienced and recognized consultants, RBCS
assesses test teams, manages testing projects, builds and improves testing groups,
and provides test experts for hundreds of clients worldwide. Ranging from
Fortune 20 companies to start-ups, RBCS clients save time and money through
improved system development, decreased failures in production, improved
corporate reputation and more. To learn more about RBCS, visit www.rbcs-us.com.
Address:
RBCS, Inc.
31520 Beck Road
Bulverde, TX 78163-3911
USA
Phone:
+1 (830) 438-4830
E-mail:
info@rbcs-us.com
Web:
www.rbcs-us.com

Metrics for Testing

www.rbcs-us.com
Copyright (c) RBCS 2005-2012

Page 43

More Related Content

What's hot

Software testing metrics
Software testing metricsSoftware testing metrics
Software testing metricsDavid O' Connor
 
Software Testing Metrics
Software Testing MetricsSoftware Testing Metrics
Software Testing MetricsVladimir Arutin
 
ISTQB Foundation Level Basic
ISTQB Foundation Level BasicISTQB Foundation Level Basic
ISTQB Foundation Level BasicErol Selitektay
 
Service Level Terminology : SLA ,SLO & SLI
Service Level Terminology : SLA ,SLO & SLIService Level Terminology : SLA ,SLO & SLI
Service Level Terminology : SLA ,SLO & SLIKnoldus Inc.
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1Yogindernath Gupta
 
Introduction to performance testing
Introduction to performance testingIntroduction to performance testing
Introduction to performance testingTharinda Liyanage
 
ISTQB Foundation Level Basic
ISTQB Foundation Level BasicISTQB Foundation Level Basic
ISTQB Foundation Level BasicSelin Gungor
 
Agile QA presentation
Agile QA presentationAgile QA presentation
Agile QA presentationCarl Bruiners
 
Software Metrics - Software Engineering
Software Metrics - Software EngineeringSoftware Metrics - Software Engineering
Software Metrics - Software EngineeringDrishti Bhalla
 
risk based testing and regression testing
risk based testing and regression testingrisk based testing and regression testing
risk based testing and regression testingToshi Patel
 
Configuration Management Best Practices
Configuration Management Best PracticesConfiguration Management Best Practices
Configuration Management Best PracticesTechWell
 
Integration testing
Integration testingIntegration testing
Integration testingVaibhav Dash
 
Non Functional Testing
Non Functional TestingNon Functional Testing
Non Functional TestingNishant Worah
 

What's hot (20)

Software testing metrics
Software testing metricsSoftware testing metrics
Software testing metrics
 
Software Testing Metrics
Software Testing MetricsSoftware Testing Metrics
Software Testing Metrics
 
Istqb chapter 5
Istqb chapter 5Istqb chapter 5
Istqb chapter 5
 
Software testing
Software testingSoftware testing
Software testing
 
Test planning
Test planningTest planning
Test planning
 
ISTQB Foundation Level Basic
ISTQB Foundation Level BasicISTQB Foundation Level Basic
ISTQB Foundation Level Basic
 
Service Level Terminology : SLA ,SLO & SLI
Service Level Terminology : SLA ,SLO & SLIService Level Terminology : SLA ,SLO & SLI
Service Level Terminology : SLA ,SLO & SLI
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1
 
Software Quality Metrics
Software Quality MetricsSoftware Quality Metrics
Software Quality Metrics
 
Introduction to performance testing
Introduction to performance testingIntroduction to performance testing
Introduction to performance testing
 
ISTQB Foundation Level Basic
ISTQB Foundation Level BasicISTQB Foundation Level Basic
ISTQB Foundation Level Basic
 
Testing in Agile Development
Testing in Agile DevelopmentTesting in Agile Development
Testing in Agile Development
 
Agile QA presentation
Agile QA presentationAgile QA presentation
Agile QA presentation
 
Software Metrics - Software Engineering
Software Metrics - Software EngineeringSoftware Metrics - Software Engineering
Software Metrics - Software Engineering
 
risk based testing and regression testing
risk based testing and regression testingrisk based testing and regression testing
risk based testing and regression testing
 
Code coverage
Code coverageCode coverage
Code coverage
 
Manual testing ppt
Manual testing pptManual testing ppt
Manual testing ppt
 
Configuration Management Best Practices
Configuration Management Best PracticesConfiguration Management Best Practices
Configuration Management Best Practices
 
Integration testing
Integration testingIntegration testing
Integration testing
 
Non Functional Testing
Non Functional TestingNon Functional Testing
Non Functional Testing
 

Viewers also liked

Design Patterns Explained: From Analysis through Implementation
Design Patterns Explained: From Analysis through ImplementationDesign Patterns Explained: From Analysis through Implementation
Design Patterns Explained: From Analysis through ImplementationTechWell
 
How to Break Software: Robustness Edition
How to Break Software: Robustness EditionHow to Break Software: Robustness Edition
How to Break Software: Robustness EditionTechWell
 
There’s No Room for Emotions in Testing—Not!
There’s No Room for Emotions in Testing—Not!There’s No Room for Emotions in Testing—Not!
There’s No Room for Emotions in Testing—Not!TechWell
 
Mobile Testing Tools 101
Mobile Testing Tools 101Mobile Testing Tools 101
Mobile Testing Tools 101TechWell
 
Security Testing for Testing Professionals
Security Testing for Testing ProfessionalsSecurity Testing for Testing Professionals
Security Testing for Testing ProfessionalsTechWell
 
Lean Development Practices for Enterprise Agile
Lean Development Practices for Enterprise AgileLean Development Practices for Enterprise Agile
Lean Development Practices for Enterprise AgileTechWell
 
White-box Testing: When Quality Really Matters
White-box Testing: When Quality Really MattersWhite-box Testing: When Quality Really Matters
White-box Testing: When Quality Really MattersTechWell
 
12 cbsce bw2
12 cbsce bw212 cbsce bw2
12 cbsce bw2TechWell
 
Requirements Engineering: A Practicum
Requirements Engineering: A PracticumRequirements Engineering: A Practicum
Requirements Engineering: A PracticumTechWell
 
Transitioning to Kanban: From Theory to Practice
Transitioning to Kanban: From Theory to PracticeTransitioning to Kanban: From Theory to Practice
Transitioning to Kanban: From Theory to PracticeTechWell
 
Mobile Testing Methodologies: Trends, Successes, and Pitfalls
Mobile Testing Methodologies: Trends, Successes, and PitfallsMobile Testing Methodologies: Trends, Successes, and Pitfalls
Mobile Testing Methodologies: Trends, Successes, and PitfallsTechWell
 
Tuning and Improving Your Agility
Tuning and Improving Your AgilityTuning and Improving Your Agility
Tuning and Improving Your AgilityTechWell
 
T23 HTML5 Security Testing at Spotify
T23 HTML5 Security Testing at SpotifyT23 HTML5 Security Testing at Spotify
T23 HTML5 Security Testing at SpotifyTechWell
 
Continuous Delivery: Rapid and Reliable Releases with DevOps Practices
Continuous Delivery: Rapid and Reliable Releases with DevOps PracticesContinuous Delivery: Rapid and Reliable Releases with DevOps Practices
Continuous Delivery: Rapid and Reliable Releases with DevOps PracticesTechWell
 
Critical Thinking for Software Testers
Critical Thinking for Software TestersCritical Thinking for Software Testers
Critical Thinking for Software TestersTechWell
 

Viewers also liked (15)

Design Patterns Explained: From Analysis through Implementation
Design Patterns Explained: From Analysis through ImplementationDesign Patterns Explained: From Analysis through Implementation
Design Patterns Explained: From Analysis through Implementation
 
How to Break Software: Robustness Edition
How to Break Software: Robustness EditionHow to Break Software: Robustness Edition
How to Break Software: Robustness Edition
 
There’s No Room for Emotions in Testing—Not!
There’s No Room for Emotions in Testing—Not!There’s No Room for Emotions in Testing—Not!
There’s No Room for Emotions in Testing—Not!
 
Mobile Testing Tools 101
Mobile Testing Tools 101Mobile Testing Tools 101
Mobile Testing Tools 101
 
Security Testing for Testing Professionals
Security Testing for Testing ProfessionalsSecurity Testing for Testing Professionals
Security Testing for Testing Professionals
 
Lean Development Practices for Enterprise Agile
Lean Development Practices for Enterprise AgileLean Development Practices for Enterprise Agile
Lean Development Practices for Enterprise Agile
 
White-box Testing: When Quality Really Matters
White-box Testing: When Quality Really MattersWhite-box Testing: When Quality Really Matters
White-box Testing: When Quality Really Matters
 
12 cbsce bw2
12 cbsce bw212 cbsce bw2
12 cbsce bw2
 
Requirements Engineering: A Practicum
Requirements Engineering: A PracticumRequirements Engineering: A Practicum
Requirements Engineering: A Practicum
 
Transitioning to Kanban: From Theory to Practice
Transitioning to Kanban: From Theory to PracticeTransitioning to Kanban: From Theory to Practice
Transitioning to Kanban: From Theory to Practice
 
Mobile Testing Methodologies: Trends, Successes, and Pitfalls
Mobile Testing Methodologies: Trends, Successes, and PitfallsMobile Testing Methodologies: Trends, Successes, and Pitfalls
Mobile Testing Methodologies: Trends, Successes, and Pitfalls
 
Tuning and Improving Your Agility
Tuning and Improving Your AgilityTuning and Improving Your Agility
Tuning and Improving Your Agility
 
T23 HTML5 Security Testing at Spotify
T23 HTML5 Security Testing at SpotifyT23 HTML5 Security Testing at Spotify
T23 HTML5 Security Testing at Spotify
 
Continuous Delivery: Rapid and Reliable Releases with DevOps Practices
Continuous Delivery: Rapid and Reliable Releases with DevOps PracticesContinuous Delivery: Rapid and Reliable Releases with DevOps Practices
Continuous Delivery: Rapid and Reliable Releases with DevOps Practices
 
Critical Thinking for Software Testers
Critical Thinking for Software TestersCritical Thinking for Software Testers
Critical Thinking for Software Testers
 

Similar to Testing Metrics: Project, Product, Process

Software Productivity Framework
Software Productivity Framework Software Productivity Framework
Software Productivity Framework Zinnov
 
L07 quality management
L07 quality managementL07 quality management
L07 quality managementAsa Chan
 
Risk Driven Testing
Risk Driven TestingRisk Driven Testing
Risk Driven TestingJorge Boria
 
The Good, The Bad, and The Metrics
 The Good, The Bad, and The Metrics The Good, The Bad, and The Metrics
The Good, The Bad, and The MetricsTeamQualityPro
 
Use the Windshield, Not the Mirror Predictive Metrics that Drive Successful ...
 Use the Windshield, Not the Mirror Predictive Metrics that Drive Successful ... Use the Windshield, Not the Mirror Predictive Metrics that Drive Successful ...
Use the Windshield, Not the Mirror Predictive Metrics that Drive Successful ...Seapine Software
 
Importance of software quality metrics
Importance of software quality metricsImportance of software quality metrics
Importance of software quality metricsPiyush Sohaney
 
Beyond Simple A/B testing
Beyond Simple A/B testingBeyond Simple A/B testing
Beyond Simple A/B testingRatio
 
Lecture 08 quality_management
Lecture 08 quality_managementLecture 08 quality_management
Lecture 08 quality_managementSayed Ahmed
 
Aginext 2021: Built-in Quality - How agile coaches can contribute
Aginext 2021: Built-in Quality - How agile coaches can contributeAginext 2021: Built-in Quality - How agile coaches can contribute
Aginext 2021: Built-in Quality - How agile coaches can contributeDerk-Jan de Grood
 
Quality Index: A Composite Metric for the Voice of Testing
Quality Index: A Composite Metric for the Voice of TestingQuality Index: A Composite Metric for the Voice of Testing
Quality Index: A Composite Metric for the Voice of TestingTechWell
 
Introduction to Software Review
Introduction to Software ReviewIntroduction to Software Review
Introduction to Software ReviewPhilip Johnson
 
Build and Deployment Initiative - Performance Analysis Summary
Build and Deployment Initiative - Performance Analysis SummaryBuild and Deployment Initiative - Performance Analysis Summary
Build and Deployment Initiative - Performance Analysis Summarycole13ben
 
Lessons learned from measuring software development processes
Lessons learned from measuring software development processesLessons learned from measuring software development processes
Lessons learned from measuring software development processesMarkus Unterauer
 
7 Reasons Why Value Stream Integration Improves Software Quality assurance
7 Reasons Why Value Stream Integration Improves Software Quality assurance7 Reasons Why Value Stream Integration Improves Software Quality assurance
7 Reasons Why Value Stream Integration Improves Software Quality assuranceTasktop
 

Similar to Testing Metrics: Project, Product, Process (20)

Software Productivity Framework
Software Productivity Framework Software Productivity Framework
Software Productivity Framework
 
Software testing Report
Software testing ReportSoftware testing Report
Software testing Report
 
L07 quality management
L07 quality managementL07 quality management
L07 quality management
 
Risk Driven Testing
Risk Driven TestingRisk Driven Testing
Risk Driven Testing
 
The Good, The Bad, and The Metrics
 The Good, The Bad, and The Metrics The Good, The Bad, and The Metrics
The Good, The Bad, and The Metrics
 
Use the Windshield, Not the Mirror Predictive Metrics that Drive Successful ...
 Use the Windshield, Not the Mirror Predictive Metrics that Drive Successful ... Use the Windshield, Not the Mirror Predictive Metrics that Drive Successful ...
Use the Windshield, Not the Mirror Predictive Metrics that Drive Successful ...
 
Are bugs eating your software budget?
Are bugs eating your software budget? Are bugs eating your software budget?
Are bugs eating your software budget?
 
Project Management
Project ManagementProject Management
Project Management
 
Importance of software quality metrics
Importance of software quality metricsImportance of software quality metrics
Importance of software quality metrics
 
Softwaretesting
SoftwaretestingSoftwaretesting
Softwaretesting
 
Beyond Simple A/B testing
Beyond Simple A/B testingBeyond Simple A/B testing
Beyond Simple A/B testing
 
Software testing kn husainy
Software testing kn husainySoftware testing kn husainy
Software testing kn husainy
 
Lecture 08 quality_management
Lecture 08 quality_managementLecture 08 quality_management
Lecture 08 quality_management
 
Aginext 2021: Built-in Quality - How agile coaches can contribute
Aginext 2021: Built-in Quality - How agile coaches can contributeAginext 2021: Built-in Quality - How agile coaches can contribute
Aginext 2021: Built-in Quality - How agile coaches can contribute
 
Quality Index: A Composite Metric for the Voice of Testing
Quality Index: A Composite Metric for the Voice of TestingQuality Index: A Composite Metric for the Voice of Testing
Quality Index: A Composite Metric for the Voice of Testing
 
Introduction to Software Review
Introduction to Software ReviewIntroduction to Software Review
Introduction to Software Review
 
Build and Deployment Initiative - Performance Analysis Summary
Build and Deployment Initiative - Performance Analysis SummaryBuild and Deployment Initiative - Performance Analysis Summary
Build and Deployment Initiative - Performance Analysis Summary
 
Lessons learned from measuring software development processes
Lessons learned from measuring software development processesLessons learned from measuring software development processes
Lessons learned from measuring software development processes
 
stlc
stlcstlc
stlc
 
7 Reasons Why Value Stream Integration Improves Software Quality assurance
7 Reasons Why Value Stream Integration Improves Software Quality assurance7 Reasons Why Value Stream Integration Improves Software Quality assurance
7 Reasons Why Value Stream Integration Improves Software Quality assurance
 

More from TechWell

Failing and Recovering
Failing and RecoveringFailing and Recovering
Failing and RecoveringTechWell
 
Instill a DevOps Testing Culture in Your Team and Organization
Instill a DevOps Testing Culture in Your Team and Organization Instill a DevOps Testing Culture in Your Team and Organization
Instill a DevOps Testing Culture in Your Team and Organization TechWell
 
Test Design for Fully Automated Build Architecture
Test Design for Fully Automated Build ArchitectureTest Design for Fully Automated Build Architecture
Test Design for Fully Automated Build ArchitectureTechWell
 
System-Level Test Automation: Ensuring a Good Start
System-Level Test Automation: Ensuring a Good StartSystem-Level Test Automation: Ensuring a Good Start
System-Level Test Automation: Ensuring a Good StartTechWell
 
Build Your Mobile App Quality and Test Strategy
Build Your Mobile App Quality and Test StrategyBuild Your Mobile App Quality and Test Strategy
Build Your Mobile App Quality and Test StrategyTechWell
 
Testing Transformation: The Art and Science for Success
Testing Transformation: The Art and Science for SuccessTesting Transformation: The Art and Science for Success
Testing Transformation: The Art and Science for SuccessTechWell
 
Implement BDD with Cucumber and SpecFlow
Implement BDD with Cucumber and SpecFlowImplement BDD with Cucumber and SpecFlow
Implement BDD with Cucumber and SpecFlowTechWell
 
Develop WebDriver Automated Tests—and Keep Your Sanity
Develop WebDriver Automated Tests—and Keep Your SanityDevelop WebDriver Automated Tests—and Keep Your Sanity
Develop WebDriver Automated Tests—and Keep Your SanityTechWell
 
Eliminate Cloud Waste with a Holistic DevOps Strategy
Eliminate Cloud Waste with a Holistic DevOps StrategyEliminate Cloud Waste with a Holistic DevOps Strategy
Eliminate Cloud Waste with a Holistic DevOps StrategyTechWell
 
Transform Test Organizations for the New World of DevOps
Transform Test Organizations for the New World of DevOpsTransform Test Organizations for the New World of DevOps
Transform Test Organizations for the New World of DevOpsTechWell
 
The Fourth Constraint in Project Delivery—Leadership
The Fourth Constraint in Project Delivery—LeadershipThe Fourth Constraint in Project Delivery—Leadership
The Fourth Constraint in Project Delivery—LeadershipTechWell
 
Resolve the Contradiction of Specialists within Agile Teams
Resolve the Contradiction of Specialists within Agile TeamsResolve the Contradiction of Specialists within Agile Teams
Resolve the Contradiction of Specialists within Agile TeamsTechWell
 
Pin the Tail on the Metric: A Field-Tested Agile Game
Pin the Tail on the Metric: A Field-Tested Agile GamePin the Tail on the Metric: A Field-Tested Agile Game
Pin the Tail on the Metric: A Field-Tested Agile GameTechWell
 
Agile Performance Holarchy (APH)—A Model for Scaling Agile Teams
Agile Performance Holarchy (APH)—A Model for Scaling Agile TeamsAgile Performance Holarchy (APH)—A Model for Scaling Agile Teams
Agile Performance Holarchy (APH)—A Model for Scaling Agile TeamsTechWell
 
A Business-First Approach to DevOps Implementation
A Business-First Approach to DevOps ImplementationA Business-First Approach to DevOps Implementation
A Business-First Approach to DevOps ImplementationTechWell
 
Databases in a Continuous Integration/Delivery Process
Databases in a Continuous Integration/Delivery ProcessDatabases in a Continuous Integration/Delivery Process
Databases in a Continuous Integration/Delivery ProcessTechWell
 
Mobile Testing: What—and What Not—to Automate
Mobile Testing: What—and What Not—to AutomateMobile Testing: What—and What Not—to Automate
Mobile Testing: What—and What Not—to AutomateTechWell
 
Cultural Intelligence: A Key Skill for Success
Cultural Intelligence: A Key Skill for SuccessCultural Intelligence: A Key Skill for Success
Cultural Intelligence: A Key Skill for SuccessTechWell
 
Turn the Lights On: A Power Utility Company's Agile Transformation
Turn the Lights On: A Power Utility Company's Agile TransformationTurn the Lights On: A Power Utility Company's Agile Transformation
Turn the Lights On: A Power Utility Company's Agile TransformationTechWell
 

More from TechWell (20)

Failing and Recovering
Failing and RecoveringFailing and Recovering
Failing and Recovering
 
Instill a DevOps Testing Culture in Your Team and Organization
Instill a DevOps Testing Culture in Your Team and Organization Instill a DevOps Testing Culture in Your Team and Organization
Instill a DevOps Testing Culture in Your Team and Organization
 
Test Design for Fully Automated Build Architecture
Test Design for Fully Automated Build ArchitectureTest Design for Fully Automated Build Architecture
Test Design for Fully Automated Build Architecture
 
System-Level Test Automation: Ensuring a Good Start
System-Level Test Automation: Ensuring a Good StartSystem-Level Test Automation: Ensuring a Good Start
System-Level Test Automation: Ensuring a Good Start
 
Build Your Mobile App Quality and Test Strategy
Build Your Mobile App Quality and Test StrategyBuild Your Mobile App Quality and Test Strategy
Build Your Mobile App Quality and Test Strategy
 
Testing Transformation: The Art and Science for Success
Testing Transformation: The Art and Science for SuccessTesting Transformation: The Art and Science for Success
Testing Transformation: The Art and Science for Success
 
Implement BDD with Cucumber and SpecFlow
Implement BDD with Cucumber and SpecFlowImplement BDD with Cucumber and SpecFlow
Implement BDD with Cucumber and SpecFlow
 
Develop WebDriver Automated Tests—and Keep Your Sanity
Develop WebDriver Automated Tests—and Keep Your SanityDevelop WebDriver Automated Tests—and Keep Your Sanity
Develop WebDriver Automated Tests—and Keep Your Sanity
 
Ma 15
Ma 15Ma 15
Ma 15
 
Eliminate Cloud Waste with a Holistic DevOps Strategy
Eliminate Cloud Waste with a Holistic DevOps StrategyEliminate Cloud Waste with a Holistic DevOps Strategy
Eliminate Cloud Waste with a Holistic DevOps Strategy
 
Transform Test Organizations for the New World of DevOps
Transform Test Organizations for the New World of DevOpsTransform Test Organizations for the New World of DevOps
Transform Test Organizations for the New World of DevOps
 
The Fourth Constraint in Project Delivery—Leadership
The Fourth Constraint in Project Delivery—LeadershipThe Fourth Constraint in Project Delivery—Leadership
The Fourth Constraint in Project Delivery—Leadership
 
Resolve the Contradiction of Specialists within Agile Teams
Resolve the Contradiction of Specialists within Agile TeamsResolve the Contradiction of Specialists within Agile Teams
Resolve the Contradiction of Specialists within Agile Teams
 
Pin the Tail on the Metric: A Field-Tested Agile Game
Pin the Tail on the Metric: A Field-Tested Agile GamePin the Tail on the Metric: A Field-Tested Agile Game
Pin the Tail on the Metric: A Field-Tested Agile Game
 
Agile Performance Holarchy (APH)—A Model for Scaling Agile Teams
Agile Performance Holarchy (APH)—A Model for Scaling Agile TeamsAgile Performance Holarchy (APH)—A Model for Scaling Agile Teams
Agile Performance Holarchy (APH)—A Model for Scaling Agile Teams
 
A Business-First Approach to DevOps Implementation
A Business-First Approach to DevOps ImplementationA Business-First Approach to DevOps Implementation
A Business-First Approach to DevOps Implementation
 
Databases in a Continuous Integration/Delivery Process
Databases in a Continuous Integration/Delivery ProcessDatabases in a Continuous Integration/Delivery Process
Databases in a Continuous Integration/Delivery Process
 
Mobile Testing: What—and What Not—to Automate
Mobile Testing: What—and What Not—to AutomateMobile Testing: What—and What Not—to Automate
Mobile Testing: What—and What Not—to Automate
 
Cultural Intelligence: A Key Skill for Success
Cultural Intelligence: A Key Skill for SuccessCultural Intelligence: A Key Skill for Success
Cultural Intelligence: A Key Skill for Success
 
Turn the Lights On: A Power Utility Company's Agile Transformation
Turn the Lights On: A Power Utility Company's Agile TransformationTurn the Lights On: A Power Utility Company's Agile Transformation
Turn the Lights On: A Power Utility Company's Agile Transformation
 

Recently uploaded

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 

Recently uploaded (20)

My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 

Testing Metrics: Project, Product, Process

  • 1. Metrics for Software Testing Measuring Project, Process, and Product
  • 2. Metrics for Testing: Managing with Facts By using metrics, we can manage with facts and reality How can we use metrics to manage testing? What metrics can we use to measure the test process? What metrics can we use to measure our progress in testing a project? What do metrics tell us about the quality of the product? Let’s see if we can find some answers… Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 2
  • 3. Part 1: Why and How of Metrics
  • 4. Why Metrics? Managing with metrics—for testing or anything—allows us to manage with facts Subjective, uninformed opinions are not a sound basis for management What sounds reasonable can be wrong (e.g., Aristotle) Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 4
  • 5. Why Testing Metrics? Testing by itself has no value…but it produces potentially valuable information Test information must be generated and communicated effectively to be valuable Common communication goals Notify (“We have 24 bugs remaining to close”) Enlighten (“See the time lost due to reopens”) Influence (“We propose a bug triage meeting”) The metrics should be used as part of regular status reports (dashboards) as well as periodic analyses Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 5
  • 6. How to Develop Metrics? Identify objectives Create questions about effectiveness, efficiency, and elegance of achievement of objectives Devise a measurable metric (or find a surrogate metric) to address the question Set a goal for each metric Implement improvements to enhance achievement of objectives Let’s look at two examples… Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 6
  • 7. Example One Objective: Find defects Effectiveness question: Have we finished finding new defects? Metric: Track trend in defect discovery during testing Goal: Watch for convergence (more later) Improvement: Find bugs earlier Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 7
  • 8. Example Two Objective: Build confidence Note that we need a surrogate metric for confidence; one way is to measure coverage Coverage has multiple dimensions Effectiveness question: Do any requirements have identified failures? Metric: What % of requirements are completely tested without any failures, what % requirements have failures, what % are untested Goal: 100% requirements tested without must-fix failures Improvement: Reduce % of requirements that fail in testing Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 8
  • 9. Good Metrics Define a useful, pertinent, and concise set of quality and test metrics Avoid too large a set of metrics Too difficult to measure later Confusing to participants Ensure uniform, agreed interpretations of these metrics, to minimize disputes and divergent opinions about measures of outcomes, analyses, and trends Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 9
  • 10. Tracking Metrics Automated tool support can reduce the time required to capture, track, analyze, report, and measure metrics Apply objective and subjective analysis for specific metrics over time, especially when trends emerge that could allow for multiple interpretations of meaning Be aware of and manage the tendency for people’s interests to affect the interpretation they place on a particular metric or measure Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 10
  • 11. Reporting Metrics and Measurements Reporting of metrics and measures should enlighten management and other stakeholders, not confuse or misdirect them Good testing reports based on metrics should be easily understood, not overly complex or ambiguous Good testing reports based on metrics should help management improve processes, guide the project to success, and manage product quality Metrics include snapshots of status at a moment in time, trends emerging over time, and analysis of causes and relationships between factors that influence testing and quality outcomes Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 11
  • 12. Part 1: Why and How of Metrics Exercise
  • 13. Develop a Metric Pick any personal, professional, or business objective Pose a question about the effectiveness, efficiency, and elegance of achievement of this objective Devise a measurable metric (or find a surrogate metric) to address the question Set a goal for each metric Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 13
  • 14. An Example Objective: train for a marathon Effectiveness question: Can I complete the marathon? Metric: starting with a 10 km run, run a long run every weekend, adding 2 km every weekend Goal: Continue for 14 weeks until reaching 38 km two weeks before actual marathon Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 14
  • 15. Part 2: Process Metrics
  • 16. Process Metrics for Testing Uses To measure the effectiveness, efficiency, and elegance of the test process To provide the insights to guide where process improvements should occur Part of certain test process assessments (e.g., using CTP framework) Not used as frequently as should be the case Not typically part of any dashboard (but can be) Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 16
  • 17. Developing Good Process Metrics Determine key objectives for the test process Typical objectives Finding bugs, especially important bugs Reducing quality risk Decide which important effectiveness, efficiency, and elegance questions apply Create metrics that address those questions Set goals that reflect current or desired capability Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 17
  • 18. Bug Finding Effectiveness Objective: Finding bugs Question: What percentage of bugs found? Metric: Defect detection percentage Goal: A typical number is 85%, though some teams do much better DDP bugs detected bugs present DDP ( for testing) Metrics for Testing test bugs test bugs production bugs www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 18
  • 19. Bug Finding Focus Objective: Finding important bugs Question: Do we find more important bugs than less important bugs? Metric: Relation of DDPs (see below) Goal: Relationship shown below is always true DDP (all bugs) DDP (critical bugs) Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 19
  • 20. Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 20
  • 21. Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 21
  • 22. Part 2: Process Metrics Exercise
  • 23. Test Process Metric Define an objective for your test process Define an effectiveness, efficiency, or elegance question Create a metric that addresses that questions Discuss Measure your own test process when you get back to your office Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 23
  • 24. Part 3: Project Metrics
  • 25. Project Metrics for Testing Uses To measure the progress of the testing effort on a project To provide the insights to guide where project optimizations might be needed/useful Part of certain test process assessments (e.g., using CTP framework) The most commonly used test metrics Usually included in test dashboards (often over-relied upon) Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 25
  • 26. Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 26
  • 27. Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 27
  • 28. Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 28
  • 29. Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 29
  • 30. Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 30
  • 31. A Troubled Project’s Defect Metrics Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 31
  • 32. Part 3: Project Metrics Exercise
  • 33. Your Current Test Project Metrics Sketch or describe your current test project metrics Classify your presentation of each metric as: Snapshot of status (e.g., tables) Trend chart Analysis/causality What do you think is missing from your metrics? Discuss Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 33
  • 34. Part 4: Product Metrics
  • 35. Product Metrics for Testing Uses To measure the quality and residual quality risk in the product To provide the insights to guide where product improvements should occur Good testing should measure the quality of the system Not always measured during testing (using project metrics instead) Not always on testing dashboards (but should be) Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 35
  • 36. Example: Reporting Residual Levels of Risk Test execution period Region in green represents risks for which all tests were run and passed and no must-fix bugs were found. Region in red represents risks for which at least one test has failed and at least one must-fix bug is known. Region in black represents other risks, which have no known must-fix bugs but still have tests pending to run. www.rbcs-us.com Metrics for Testing Copyright (c) RBCS 2005-2012 Page 36
  • 37. Example: Testing and Risk Defects Quality Risk Areas Tests # % Performance 304 27 3,843 1,512 39 Security 234 21 1,032 432 42 Functionality 224 20 4,744 2,043 43 Usability 160 14 498 318 64 Interfaces 93 8 193 153 79 Compatibility 71 6 1,787 939 53 Other 21 2 0 0 0 Total 1,107 100 12,857 5,703 44 Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Planned Executed % Page 37
  • 38. Use of Standards Functionality: Suitability, accuracy, interoperability, security, compliance Reliability: Maturity (robustness), faulttolerance, recoverability, compliance Usability: Understandability, learnability, operability, attractiveness, compliance Efficiency: Time behavior, resource utilization, compliance Maintainability: Analyzability, changeability, stability, testability, compliance Portability: Adaptability, installability, coexistence, replaceability, compliance Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Addressed by functional tests Addressed by non-functional tests Page 38
  • 39. Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 39
  • 40. Part 4: Product Metrics Exercise
  • 41. Your Current Product Metrics Sketch or describe how you currently measure the product during testing Coverage of requirements, configurations, etc. Residual level of risk Confidence in the product Sketch or describe how your organization currently measures product quality during actual use How well do your pre-release metrics predict product quality as experienced by the users and customers? Discuss Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 41
  • 42. Conclusions Metrics can be useful to measure, understand, and manage process, project, and product attributes Testing metrics are essential for a complete understanding of status Use a small number of metrics Use surrogate metrics where necessary Ensure consistent stakeholder understanding of metrics Define objectives, then questions, then metrics, then goals Use the goals to drive meaningful process improvements Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 42
  • 43. To Contact RBCS For almost twenty years, RBCS has delivered consulting, outsourcing and training services to organizations that want to improve their software and hardware testing. Employing the industry’s most experienced and recognized consultants, RBCS assesses test teams, manages testing projects, builds and improves testing groups, and provides test experts for hundreds of clients worldwide. Ranging from Fortune 20 companies to start-ups, RBCS clients save time and money through improved system development, decreased failures in production, improved corporate reputation and more. To learn more about RBCS, visit www.rbcs-us.com. Address: RBCS, Inc. 31520 Beck Road Bulverde, TX 78163-3911 USA Phone: +1 (830) 438-4830 E-mail: info@rbcs-us.com Web: www.rbcs-us.com Metrics for Testing www.rbcs-us.com Copyright (c) RBCS 2005-2012 Page 43