SlideShare ist ein Scribd-Unternehmen logo
1 von 22
endava.com
QUALITY. PRODUCTIVITY. INNOVATION.
TESTING METRICS
And Why Managers
Like Them
Aleksandra Petrovic
Nov 2016
2 QUALITY. PRODUCTIVITY. INNOVATION.
 Software Quality
 What are Testing Metric?
 Why we need metrics and why
managers like them?
 Important Metrics and how to
identify the ones we need
 Metrics Report Example
 Can Metrics Cheat?
Testing Metrics
3
3 QUALITY. PRODUCTIVITY. INNOVATION.
What makes software development projects successful?
• Product quality
• Optimize implemented processes
• Increase Team efficiency
• Reduce cost and time needed to deliver
• Keep customers happy
Software Quality
4
4 QUALITY. PRODUCTIVITY. INNOVATION.
“When you can measure what you are speaking about, and can express it in
numbers, you know something about it; but when you cannot measure it,
when you cannot express it in numbers, your knowledge is of a meager and
unsatisfactory kind.”
-- Lord Kelvin, a physicist.
Software testing metric is a quantitative measure of the degree to which
a system, component, product or process possesses a given attribute. In
other words, metrics helps estimating the progress, quality and health of a
software testing effort.
Example of software testing metric: Total number of defects found
What is Software Testing Metric?
5
5 QUALITY. PRODUCTIVITY. INNOVATION.
• "We cannot improve what we cannot measure“
• Display past and present performance
• Predict future
• Understand what needs to improve
• Decide what to do next
Why do Test Metrics?
6
6 QUALITY. PRODUCTIVITY. INNOVATION.
“All they (managers) care about are numbers…”
• Your team is doing a great job – show it!
• Inefficiency affects schedules and product quality
• Need to have a way to measure QA process quality
• Metrics help you generate good test reports
Why Managers Like Them?
7
7 QUALITY. PRODUCTIVITY. INNOVATION.
Metrics can be sorted into groups based on different criteria:
• Project-, department- and company-level metrics
• Process (process efficiency), product (improve software quality) and
project metrics (measure team or tools efficiency)
• Base (raw data collected during execution) and calculated metrics
(derive from data in base metrics usually for test reporting purpose)
Metric Types
8
8
Important Metrics (1)
1. Test cases:
• How many test cases designed per requirement?
• How many test cases executed/pending?
• How many test cases passed/failed/blocked? How many failed due to
one particular defect?
2. Defects:
• Total number of defects identified
• Defect distribution per Severity, per Priority, per Component/Module
• Defect Aging
• Defect Density and Defect Density in released code
3. Automation:
• Number of defects found in automated tests (Are they still useful?
Watch for pesticide paradox!)
• Percent of automated test coverage
• How long it takes to run test plan and how often we do it?
4. People/QA Team:
• Execution by user: How many test cases executed per person?
QUALITY. PRODUCTIVITY. INNOVATION.
9
9
Important Metrics (2)
1. Defect distribution by status and phase
• Expected to decrease as the software quality improves toward the
project end
2. Defect open and close rates
• Insight into the ability of testers and developers to work together to
identify and address software issues
3. Defect removal efficiency (DRE)
• Rate at which team is able to adequately fix identified program flaws
4. Burn down chart
• Visual representation of the amount of work yet to be completed
5. Defect severity index
• Shine some light on the effectiveness of development team
QUALITY. PRODUCTIVITY. INNOVATION.
10
10
Important Metrics (3)
1. Number of issues reported by customers
• Determine effectiveness of QA departments (risk-based testing to reduce
gaps)
2. Mean Time to Detect (MTTD) and Mean Time to Repair (MTTR)
• MTTD - how long it takes QA professionals to find a problem
• MTTR - amount of time needed to effectively address it
3. Number of system outages and downtime
• The number/frequency of system outages and length of downtime
experienced by end user
4. COQ (Cost of Quality) and COPQ (Cost of Poor Quality)
• COQ: Total effort put into quality-related activities (development, testing,
reviews)
• COPQ: Cost of fixing defects, updating docs, re-testing, patch distribution
QUALITY. PRODUCTIVITY. INNOVATION.
11
11 QUALITY. PRODUCTIVITY. INNOVATION.
A few tips how to identify correct metrics:
• Set the target audience
• Define the goal for metrics
• Add only relevant metrics based on your project needs (less is more)
• Analyze the cost benefits aspect of each metric
How to identify the right metrics?
12
12 QUALITY. PRODUCTIVITY. INNOVATION.
Steps to create Metrics Report
Identify the key
processes to be
measured
Set the target value for
metrics (baseline)
Identify how often to
collect data and who
should do it
Collect actual data,
calculate and interpret
the results
Create report and
present to stakeholder
with reasonable
conclusions
If things don’t look
good, investigate
reasons and suggest
how to improve
13
13
Metrics Report Example
QUALITY. PRODUCTIVITY. INNOVATION.
METRIC ACTUAL VALUE TARGET
Total number of open defects 18 20
Incoming defect rate 7
Defects found by automation
tests 3
Breakage introduced by new
features (regressions) 5
Outgoing defect-fix rate 5
Severity 1 (catastrophic outage) 0 0
Severity 2 (severe breakage) 2 0
Severity 3 (moderate issue) 3 2
Severity 4 (cosmetic issue) 12 Best Effort
Documentation defects 40 Best Effort
Defects found by customers 4 Best Effort
MTTR (days) 7 10
Customer satisfaction 4.3 4.8
14
14
Metrics – Graphical Representation (1)
QUALITY. PRODUCTIVITY. INNOVATION.
Defects per Severity
Total number of open defects
15
15 QUALITY. PRODUCTIVITY. INNOVATION.
Metrics – Graphical Representation (2)
Open vs Resolved Defects
Defects per Component:
1. Cumulative Chart
2. JIRA Pie Chart
16
16 QUALITY. PRODUCTIVITY. INNOVATION.
• Yes, metrics can cheat too! Usually when they are taken out of
context…
• Need reliable input data
• Cheat accidentally (incorrect input data) or cheat on purpose
(‘tweak’ your queries to get better stats)
• True story example (on the next slide)
• Project metric that did not take into account that there
was a new defect tracking tool introduced!
Can Metrics Cheat?
17
17 QUALITY. PRODUCTIVITY. INNOVATION.
What my manager saw
0
20
40
60
80
100
120
140
Incoming Defect Rate (ALL Defects)
S1-S3 S1-S5
18
18 QUALITY. PRODUCTIVITY. INNOVATION.
After closer look (behind the numbers)
0
10
20
30
40
50
60
70
80
90
Incoming Defect Rate (New, Resolved, Verified defects only)
S1-S3 S1-S5
19
19 QUALITY. PRODUCTIVITY. INNOVATION.
• The bigger the number – the better we are ?
• The component where we find most defects is the worst coded
• Metrics are there for managers to point fingers at people
• “All my filters and queries are correct but I still get very strange
output results”
• There are no "universal metrics“
Common Deceptions about Metrics
20
20 QUALITY. PRODUCTIVITY. INNOVATION.
• http://www.getzephyr.com/resources/whitepapers/qa-metrics-value-
testing-metrics-within-software-development
• Useful Automated Software Testing Metrics – Research Gate “Implementing
Automated Software Testing,” by Elfriede Dustin, Thom Garrett, Bernie Gauf
• http://www.ifpug.org/Documents/Jones-
SoftwareDefectOriginsAndRemovalMethodsDraft5.pdf
• https://www.se.rit.edu Quality Management Overview – Defect Removal
Metrics
• http://www.guru99.com/software-testing-metrics-complete-tutorial.html
• Software Quality Metrics Overview – Pearson:
https://www.pearsonhighered.com/samplechapter/0201729156.pdf
• https://www.equinox.co.nz/blog/software-testing-metrics-defect-removal-
efficiency
• http://softwaretestingfundamentals.com/defect-density/
References
21
21
Q & A
QUALITY. PRODUCTIVITY. INNOVATION.
22
22 QUALITY. PRODUCTIVITY. INNOVATION.
• If you have any
questions,
please contact
the presenter:
Thank You!
Aleksandra Petrovic
Test Consultant
aleksandra.petrovic@endava.com

Weitere ähnliche Inhalte

Was ist angesagt?

Neil Thompson - Value Inspired Testing: Renovating Risk-Based Testing and Inn...
Neil Thompson - Value Inspired Testing: Renovating Risk-Based Testing and Inn...Neil Thompson - Value Inspired Testing: Renovating Risk-Based Testing and Inn...
Neil Thompson - Value Inspired Testing: Renovating Risk-Based Testing and Inn...TEST Huddle
 
Risk-Based Testing for Agile Projects
Risk-Based Testing for Agile ProjectsRisk-Based Testing for Agile Projects
Risk-Based Testing for Agile ProjectsTechWell
 
Put Risk Based Testing in place right now!
Put Risk Based Testing in place right now!Put Risk Based Testing in place right now!
Put Risk Based Testing in place right now!SQALab
 
Kasper Hanselman - Imagination is More Important Than Knowledge
Kasper Hanselman - Imagination is More Important Than KnowledgeKasper Hanselman - Imagination is More Important Than Knowledge
Kasper Hanselman - Imagination is More Important Than KnowledgeTEST Huddle
 
Fundamentals of Risk-based Testing
Fundamentals of Risk-based TestingFundamentals of Risk-based Testing
Fundamentals of Risk-based TestingTechWell
 
Requirements Driven Risk Based Testing
Requirements Driven Risk Based TestingRequirements Driven Risk Based Testing
Requirements Driven Risk Based TestingJeff Findlay
 
From Defect Reporting To Defect Prevention
From Defect Reporting To Defect PreventionFrom Defect Reporting To Defect Prevention
From Defect Reporting To Defect PreventionSune Gynthersen
 
[HCMC STC Jan 2015] How To Work Effectively As a Tester in Agile Teams
[HCMC STC Jan 2015] How To Work Effectively As a Tester in Agile Teams[HCMC STC Jan 2015] How To Work Effectively As a Tester in Agile Teams
[HCMC STC Jan 2015] How To Work Effectively As a Tester in Agile TeamsHo Chi Minh City Software Testing Club
 
John Fodeh - Spend Wisely, Test Well
John Fodeh - Spend Wisely, Test WellJohn Fodeh - Spend Wisely, Test Well
John Fodeh - Spend Wisely, Test WellTEST Huddle
 
Risk-based Testing
Risk-based TestingRisk-based Testing
Risk-based TestingJohan Hoberg
 
The Value-Adding Tester
The Value-Adding TesterThe Value-Adding Tester
The Value-Adding TesterJohan Hoberg
 
Gitte Ottosen - Agility and Process Maturity, Of Course They Mix!
Gitte Ottosen - Agility and Process Maturity, Of Course They Mix!Gitte Ottosen - Agility and Process Maturity, Of Course They Mix!
Gitte Ottosen - Agility and Process Maturity, Of Course They Mix!TEST Huddle
 
02 - Testing Management - Crash Slides
02 - Testing Management - Crash Slides02 - Testing Management - Crash Slides
02 - Testing Management - Crash SlidesSamer Desouky
 
Erik Beolen - The Power of Risk
Erik Beolen - The Power of RiskErik Beolen - The Power of Risk
Erik Beolen - The Power of RiskTEST Huddle
 
John Brennen - Red Hot Testing in a Green World
John Brennen - Red Hot Testing in a Green WorldJohn Brennen - Red Hot Testing in a Green World
John Brennen - Red Hot Testing in a Green WorldTEST Huddle
 
Ben Walters - Creating Customer Value With Agile Testing - EuroSTAR 2011
Ben Walters - Creating Customer Value With Agile Testing - EuroSTAR 2011Ben Walters - Creating Customer Value With Agile Testing - EuroSTAR 2011
Ben Walters - Creating Customer Value With Agile Testing - EuroSTAR 2011TEST Huddle
 
Torben Hoelgaard - Implementing Change - EuroSTAR 2011
Torben Hoelgaard - Implementing Change - EuroSTAR 2011Torben Hoelgaard - Implementing Change - EuroSTAR 2011
Torben Hoelgaard - Implementing Change - EuroSTAR 2011TEST Huddle
 
Michael Bolton - Two Futures of Software Testing
Michael Bolton - Two Futures of Software TestingMichael Bolton - Two Futures of Software Testing
Michael Bolton - Two Futures of Software TestingTEST Huddle
 
Defect Prevention & Predictive Analytics - XBOSoft Webinar
Defect Prevention & Predictive Analytics - XBOSoft WebinarDefect Prevention & Predictive Analytics - XBOSoft Webinar
Defect Prevention & Predictive Analytics - XBOSoft WebinarXBOSoft
 

Was ist angesagt? (20)

Neil Thompson - Value Inspired Testing: Renovating Risk-Based Testing and Inn...
Neil Thompson - Value Inspired Testing: Renovating Risk-Based Testing and Inn...Neil Thompson - Value Inspired Testing: Renovating Risk-Based Testing and Inn...
Neil Thompson - Value Inspired Testing: Renovating Risk-Based Testing and Inn...
 
Risk-Based Testing for Agile Projects
Risk-Based Testing for Agile ProjectsRisk-Based Testing for Agile Projects
Risk-Based Testing for Agile Projects
 
Put Risk Based Testing in place right now!
Put Risk Based Testing in place right now!Put Risk Based Testing in place right now!
Put Risk Based Testing in place right now!
 
Kasper Hanselman - Imagination is More Important Than Knowledge
Kasper Hanselman - Imagination is More Important Than KnowledgeKasper Hanselman - Imagination is More Important Than Knowledge
Kasper Hanselman - Imagination is More Important Than Knowledge
 
Fundamentals of Risk-based Testing
Fundamentals of Risk-based TestingFundamentals of Risk-based Testing
Fundamentals of Risk-based Testing
 
Requirements Driven Risk Based Testing
Requirements Driven Risk Based TestingRequirements Driven Risk Based Testing
Requirements Driven Risk Based Testing
 
From Defect Reporting To Defect Prevention
From Defect Reporting To Defect PreventionFrom Defect Reporting To Defect Prevention
From Defect Reporting To Defect Prevention
 
[HCMC STC Jan 2015] How To Work Effectively As a Tester in Agile Teams
[HCMC STC Jan 2015] How To Work Effectively As a Tester in Agile Teams[HCMC STC Jan 2015] How To Work Effectively As a Tester in Agile Teams
[HCMC STC Jan 2015] How To Work Effectively As a Tester in Agile Teams
 
John Fodeh - Spend Wisely, Test Well
John Fodeh - Spend Wisely, Test WellJohn Fodeh - Spend Wisely, Test Well
John Fodeh - Spend Wisely, Test Well
 
Risk-based Testing
Risk-based TestingRisk-based Testing
Risk-based Testing
 
Value added testing (VAT)
Value added testing (VAT)Value added testing (VAT)
Value added testing (VAT)
 
The Value-Adding Tester
The Value-Adding TesterThe Value-Adding Tester
The Value-Adding Tester
 
Gitte Ottosen - Agility and Process Maturity, Of Course They Mix!
Gitte Ottosen - Agility and Process Maturity, Of Course They Mix!Gitte Ottosen - Agility and Process Maturity, Of Course They Mix!
Gitte Ottosen - Agility and Process Maturity, Of Course They Mix!
 
02 - Testing Management - Crash Slides
02 - Testing Management - Crash Slides02 - Testing Management - Crash Slides
02 - Testing Management - Crash Slides
 
Erik Beolen - The Power of Risk
Erik Beolen - The Power of RiskErik Beolen - The Power of Risk
Erik Beolen - The Power of Risk
 
John Brennen - Red Hot Testing in a Green World
John Brennen - Red Hot Testing in a Green WorldJohn Brennen - Red Hot Testing in a Green World
John Brennen - Red Hot Testing in a Green World
 
Ben Walters - Creating Customer Value With Agile Testing - EuroSTAR 2011
Ben Walters - Creating Customer Value With Agile Testing - EuroSTAR 2011Ben Walters - Creating Customer Value With Agile Testing - EuroSTAR 2011
Ben Walters - Creating Customer Value With Agile Testing - EuroSTAR 2011
 
Torben Hoelgaard - Implementing Change - EuroSTAR 2011
Torben Hoelgaard - Implementing Change - EuroSTAR 2011Torben Hoelgaard - Implementing Change - EuroSTAR 2011
Torben Hoelgaard - Implementing Change - EuroSTAR 2011
 
Michael Bolton - Two Futures of Software Testing
Michael Bolton - Two Futures of Software TestingMichael Bolton - Two Futures of Software Testing
Michael Bolton - Two Futures of Software Testing
 
Defect Prevention & Predictive Analytics - XBOSoft Webinar
Defect Prevention & Predictive Analytics - XBOSoft WebinarDefect Prevention & Predictive Analytics - XBOSoft Webinar
Defect Prevention & Predictive Analytics - XBOSoft Webinar
 

Andere mochten auch

Testing Web Apps and API's
Testing Web Apps and API'sTesting Web Apps and API's
Testing Web Apps and API'sPractiTest
 
Oren rubin statistical element locator
Oren rubin   statistical element locatorOren rubin   statistical element locator
Oren rubin statistical element locatorPractiTest
 
Automation is not the answer... unless you WANT it to be
Automation is not the answer... unless you WANT it to beAutomation is not the answer... unless you WANT it to be
Automation is not the answer... unless you WANT it to bePractiTest
 
Rob lambert10 Behaviors of Effective Employees" at OnlineTestConf.
Rob lambert10 Behaviors of Effective Employees" at OnlineTestConf.Rob lambert10 Behaviors of Effective Employees" at OnlineTestConf.
Rob lambert10 Behaviors of Effective Employees" at OnlineTestConf.PractiTest
 
Testing metrics
Testing metricsTesting metrics
Testing metricsprats12345
 
HCLT Whitepaper: Landmines of Software Testing Metrics
HCLT Whitepaper: Landmines of Software Testing MetricsHCLT Whitepaper: Landmines of Software Testing Metrics
HCLT Whitepaper: Landmines of Software Testing MetricsHCL Technologies
 
Software testing metrics
Software testing metricsSoftware testing metrics
Software testing metricsDavid O' Connor
 
Software Testing Metrics with qTest Insights - QASymphony Webinar
Software Testing Metrics with qTest Insights  - QASymphony WebinarSoftware Testing Metrics with qTest Insights  - QASymphony Webinar
Software Testing Metrics with qTest Insights - QASymphony WebinarQASymphony
 
Testing Metrics - Making your tests visible
Testing Metrics - Making your tests visibleTesting Metrics - Making your tests visible
Testing Metrics - Making your tests visibleAlper Mermer
 
Test Automation Architecture in Microservices
Test Automation Architecture in MicroservicesTest Automation Architecture in Microservices
Test Automation Architecture in MicroservicesAlper Mermer
 

Andere mochten auch (10)

Testing Web Apps and API's
Testing Web Apps and API'sTesting Web Apps and API's
Testing Web Apps and API's
 
Oren rubin statistical element locator
Oren rubin   statistical element locatorOren rubin   statistical element locator
Oren rubin statistical element locator
 
Automation is not the answer... unless you WANT it to be
Automation is not the answer... unless you WANT it to beAutomation is not the answer... unless you WANT it to be
Automation is not the answer... unless you WANT it to be
 
Rob lambert10 Behaviors of Effective Employees" at OnlineTestConf.
Rob lambert10 Behaviors of Effective Employees" at OnlineTestConf.Rob lambert10 Behaviors of Effective Employees" at OnlineTestConf.
Rob lambert10 Behaviors of Effective Employees" at OnlineTestConf.
 
Testing metrics
Testing metricsTesting metrics
Testing metrics
 
HCLT Whitepaper: Landmines of Software Testing Metrics
HCLT Whitepaper: Landmines of Software Testing MetricsHCLT Whitepaper: Landmines of Software Testing Metrics
HCLT Whitepaper: Landmines of Software Testing Metrics
 
Software testing metrics
Software testing metricsSoftware testing metrics
Software testing metrics
 
Software Testing Metrics with qTest Insights - QASymphony Webinar
Software Testing Metrics with qTest Insights  - QASymphony WebinarSoftware Testing Metrics with qTest Insights  - QASymphony Webinar
Software Testing Metrics with qTest Insights - QASymphony Webinar
 
Testing Metrics - Making your tests visible
Testing Metrics - Making your tests visibleTesting Metrics - Making your tests visible
Testing Metrics - Making your tests visible
 
Test Automation Architecture in Microservices
Test Automation Architecture in MicroservicesTest Automation Architecture in Microservices
Test Automation Architecture in Microservices
 

Ähnlich wie Testing Metrics and why Managers like them

Backward thinking design qa system for quality goals
Backward thinking   design qa system for quality goalsBackward thinking   design qa system for quality goals
Backward thinking design qa system for quality goalsgaoliang641
 
Curiosity and Infuse Consulting Present: Sustainable Test Automation Strategi...
Curiosity and Infuse Consulting Present: Sustainable Test Automation Strategi...Curiosity and Infuse Consulting Present: Sustainable Test Automation Strategi...
Curiosity and Infuse Consulting Present: Sustainable Test Automation Strategi...Curiosity Software Ireland
 
201008 Software Testing Notes (part 1/2)
201008 Software Testing Notes (part 1/2)201008 Software Testing Notes (part 1/2)
201008 Software Testing Notes (part 1/2)Javier Gonzalez-Sanchez
 
Software Quality Dashboard Benchmarking Study
Software Quality Dashboard Benchmarking StudySoftware Quality Dashboard Benchmarking Study
Software Quality Dashboard Benchmarking StudyJohn Carter
 
Testing Metrics and Tools, Analyse de tests
Testing Metrics and Tools, Analyse de testsTesting Metrics and Tools, Analyse de tests
Testing Metrics and Tools, Analyse de testsHervKoya
 
Quality in software industry
Quality in software industryQuality in software industry
Quality in software industryRicha Goel
 
Develop a Defect Prevention Strategy—or Else!
Develop a Defect Prevention Strategy—or Else!Develop a Defect Prevention Strategy—or Else!
Develop a Defect Prevention Strategy—or Else!TechWell
 
Software Productivity Measurement
Software Productivity MeasurementSoftware Productivity Measurement
Software Productivity MeasurementAjeng Savitri
 
Risk Driven Testing
Risk Driven TestingRisk Driven Testing
Risk Driven TestingJorge Boria
 
тестовые стратегии
тестовые стратегиитестовые стратегии
тестовые стратегииCOMAQA.BY
 
Software Engineering (Metrics for Process and Projects)
Software Engineering (Metrics for Process and Projects)Software Engineering (Metrics for Process and Projects)
Software Engineering (Metrics for Process and Projects)ShudipPal
 
Importance of software quality metrics
Importance of software quality metricsImportance of software quality metrics
Importance of software quality metricsPiyush Sohaney
 
How to build confidence in your release cycle
How to build confidence in your release cycleHow to build confidence in your release cycle
How to build confidence in your release cycleDiUS
 
Quantifying DevOps Adoption Empirically for Demonstrable ROI
Quantifying DevOps Adoption Empirically for Demonstrable ROIQuantifying DevOps Adoption Empirically for Demonstrable ROI
Quantifying DevOps Adoption Empirically for Demonstrable ROIDevOps for Enterprise Systems
 
Manual Testing Interview Questions & Answers.docx
Manual Testing Interview Questions & Answers.docxManual Testing Interview Questions & Answers.docx
Manual Testing Interview Questions & Answers.docxssuser305f65
 
How to Guarantee Continuous Value from your Test Automation
How to Guarantee Continuous Value from your Test AutomationHow to Guarantee Continuous Value from your Test Automation
How to Guarantee Continuous Value from your Test AutomationPerfecto by Perforce
 

Ähnlich wie Testing Metrics and why Managers like them (20)

chapter 7.ppt
chapter 7.pptchapter 7.ppt
chapter 7.ppt
 
Backward thinking design qa system for quality goals
Backward thinking   design qa system for quality goalsBackward thinking   design qa system for quality goals
Backward thinking design qa system for quality goals
 
Curiosity and Infuse Consulting Present: Sustainable Test Automation Strategi...
Curiosity and Infuse Consulting Present: Sustainable Test Automation Strategi...Curiosity and Infuse Consulting Present: Sustainable Test Automation Strategi...
Curiosity and Infuse Consulting Present: Sustainable Test Automation Strategi...
 
201008 Software Testing Notes (part 1/2)
201008 Software Testing Notes (part 1/2)201008 Software Testing Notes (part 1/2)
201008 Software Testing Notes (part 1/2)
 
Software Quality Dashboard Benchmarking Study
Software Quality Dashboard Benchmarking StudySoftware Quality Dashboard Benchmarking Study
Software Quality Dashboard Benchmarking Study
 
Testing Metrics and Tools, Analyse de tests
Testing Metrics and Tools, Analyse de testsTesting Metrics and Tools, Analyse de tests
Testing Metrics and Tools, Analyse de tests
 
Software metrics by Dr. B. J. Mohite
Software metrics by Dr. B. J. MohiteSoftware metrics by Dr. B. J. Mohite
Software metrics by Dr. B. J. Mohite
 
Quality in software industry
Quality in software industryQuality in software industry
Quality in software industry
 
Develop a Defect Prevention Strategy—or Else!
Develop a Defect Prevention Strategy—or Else!Develop a Defect Prevention Strategy—or Else!
Develop a Defect Prevention Strategy—or Else!
 
Software Productivity Measurement
Software Productivity MeasurementSoftware Productivity Measurement
Software Productivity Measurement
 
L software testing
L   software testingL   software testing
L software testing
 
Risk Driven Testing
Risk Driven TestingRisk Driven Testing
Risk Driven Testing
 
тестовые стратегии
тестовые стратегиитестовые стратегии
тестовые стратегии
 
Software Engineering (Metrics for Process and Projects)
Software Engineering (Metrics for Process and Projects)Software Engineering (Metrics for Process and Projects)
Software Engineering (Metrics for Process and Projects)
 
Importance of software quality metrics
Importance of software quality metricsImportance of software quality metrics
Importance of software quality metrics
 
Methodology: IT test
Methodology: IT testMethodology: IT test
Methodology: IT test
 
How to build confidence in your release cycle
How to build confidence in your release cycleHow to build confidence in your release cycle
How to build confidence in your release cycle
 
Quantifying DevOps Adoption Empirically for Demonstrable ROI
Quantifying DevOps Adoption Empirically for Demonstrable ROIQuantifying DevOps Adoption Empirically for Demonstrable ROI
Quantifying DevOps Adoption Empirically for Demonstrable ROI
 
Manual Testing Interview Questions & Answers.docx
Manual Testing Interview Questions & Answers.docxManual Testing Interview Questions & Answers.docx
Manual Testing Interview Questions & Answers.docx
 
How to Guarantee Continuous Value from your Test Automation
How to Guarantee Continuous Value from your Test AutomationHow to Guarantee Continuous Value from your Test Automation
How to Guarantee Continuous Value from your Test Automation
 

Mehr von PractiTest

Continuous testing maximising velocity, quality and customer happiness
Continuous testing maximising velocity, quality and customer happinessContinuous testing maximising velocity, quality and customer happiness
Continuous testing maximising velocity, quality and customer happinessPractiTest
 
Karishma Kolli – Myth Busters on Test Automation
Karishma Kolli – Myth Busters on Test AutomationKarishma Kolli – Myth Busters on Test Automation
Karishma Kolli – Myth Busters on Test AutomationPractiTest
 
How Mindmaps can save your sanity
How Mindmaps can save your sanityHow Mindmaps can save your sanity
How Mindmaps can save your sanityPractiTest
 
The New Normal for Development and Testing in Agile and DevOps
The New Normal for Development and Testing in Agile and DevOpsThe New Normal for Development and Testing in Agile and DevOps
The New Normal for Development and Testing in Agile and DevOpsPractiTest
 
Shifting is more than shifting left
Shifting is more than shifting leftShifting is more than shifting left
Shifting is more than shifting leftPractiTest
 
Testing in the future. today
Testing in the future.  today Testing in the future.  today
Testing in the future. today PractiTest
 
Adding values to Agile teams
Adding values to Agile teamsAdding values to Agile teams
Adding values to Agile teamsPractiTest
 
Testing and AI
Testing and AITesting and AI
Testing and AIPractiTest
 
10+ Testing Pitfalls and How to Avoid them
10+ Testing Pitfalls and How to Avoid them 10+ Testing Pitfalls and How to Avoid them
10+ Testing Pitfalls and How to Avoid them PractiTest
 
Software testing - Risk management
Software testing - Risk managementSoftware testing - Risk management
Software testing - Risk managementPractiTest
 
Managing agile testing
Managing agile testing Managing agile testing
Managing agile testing PractiTest
 
How to create a 'Master Test Plan'
How to create a 'Master Test Plan'How to create a 'Master Test Plan'
How to create a 'Master Test Plan'PractiTest
 
Mixing testing types to improve your testing results
Mixing testing types to improve your testing resultsMixing testing types to improve your testing results
Mixing testing types to improve your testing resultsPractiTest
 
Developer testing webinar
Developer testing webinar Developer testing webinar
Developer testing webinar PractiTest
 
Agile testing webinar
Agile testing webinarAgile testing webinar
Agile testing webinarPractiTest
 
Testing metrics webinar
Testing metrics webinarTesting metrics webinar
Testing metrics webinarPractiTest
 
Reporting principles for every QA manager
Reporting principles for every QA manager Reporting principles for every QA manager
Reporting principles for every QA manager PractiTest
 
10 signs you have outgrown
10 signs you have outgrown 10 signs you have outgrown
10 signs you have outgrown PractiTest
 
Severity vs. Priority of a Bug
Severity vs. Priority of a BugSeverity vs. Priority of a Bug
Severity vs. Priority of a BugPractiTest
 
6 Habits of Highly Effective Testers
6 Habits of Highly Effective Testers6 Habits of Highly Effective Testers
6 Habits of Highly Effective TestersPractiTest
 

Mehr von PractiTest (20)

Continuous testing maximising velocity, quality and customer happiness
Continuous testing maximising velocity, quality and customer happinessContinuous testing maximising velocity, quality and customer happiness
Continuous testing maximising velocity, quality and customer happiness
 
Karishma Kolli – Myth Busters on Test Automation
Karishma Kolli – Myth Busters on Test AutomationKarishma Kolli – Myth Busters on Test Automation
Karishma Kolli – Myth Busters on Test Automation
 
How Mindmaps can save your sanity
How Mindmaps can save your sanityHow Mindmaps can save your sanity
How Mindmaps can save your sanity
 
The New Normal for Development and Testing in Agile and DevOps
The New Normal for Development and Testing in Agile and DevOpsThe New Normal for Development and Testing in Agile and DevOps
The New Normal for Development and Testing in Agile and DevOps
 
Shifting is more than shifting left
Shifting is more than shifting leftShifting is more than shifting left
Shifting is more than shifting left
 
Testing in the future. today
Testing in the future.  today Testing in the future.  today
Testing in the future. today
 
Adding values to Agile teams
Adding values to Agile teamsAdding values to Agile teams
Adding values to Agile teams
 
Testing and AI
Testing and AITesting and AI
Testing and AI
 
10+ Testing Pitfalls and How to Avoid them
10+ Testing Pitfalls and How to Avoid them 10+ Testing Pitfalls and How to Avoid them
10+ Testing Pitfalls and How to Avoid them
 
Software testing - Risk management
Software testing - Risk managementSoftware testing - Risk management
Software testing - Risk management
 
Managing agile testing
Managing agile testing Managing agile testing
Managing agile testing
 
How to create a 'Master Test Plan'
How to create a 'Master Test Plan'How to create a 'Master Test Plan'
How to create a 'Master Test Plan'
 
Mixing testing types to improve your testing results
Mixing testing types to improve your testing resultsMixing testing types to improve your testing results
Mixing testing types to improve your testing results
 
Developer testing webinar
Developer testing webinar Developer testing webinar
Developer testing webinar
 
Agile testing webinar
Agile testing webinarAgile testing webinar
Agile testing webinar
 
Testing metrics webinar
Testing metrics webinarTesting metrics webinar
Testing metrics webinar
 
Reporting principles for every QA manager
Reporting principles for every QA manager Reporting principles for every QA manager
Reporting principles for every QA manager
 
10 signs you have outgrown
10 signs you have outgrown 10 signs you have outgrown
10 signs you have outgrown
 
Severity vs. Priority of a Bug
Severity vs. Priority of a BugSeverity vs. Priority of a Bug
Severity vs. Priority of a Bug
 
6 Habits of Highly Effective Testers
6 Habits of Highly Effective Testers6 Habits of Highly Effective Testers
6 Habits of Highly Effective Testers
 

Kürzlich hochgeladen

WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareJim McKeeth
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
WSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
WSO2CON2024 - Why Should You Consider Ballerina for Your Next IntegrationWSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
WSO2CON2024 - Why Should You Consider Ballerina for Your Next IntegrationWSO2
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2
 
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2
 
WSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AIWSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AIWSO2
 
WSO2Con2024 - Organization Management: The Revolution in B2B CIAM
WSO2Con2024 - Organization Management: The Revolution in B2B CIAMWSO2Con2024 - Organization Management: The Revolution in B2B CIAM
WSO2Con2024 - Organization Management: The Revolution in B2B CIAMWSO2
 
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...WSO2
 
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of TransformationWSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of TransformationWSO2
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxAnnaArtyushina1
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2
 
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...WSO2
 
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!WSO2
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationJuha-Pekka Tolvanen
 

Kürzlich hochgeladen (20)

WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
WSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
WSO2CON2024 - Why Should You Consider Ballerina for Your Next IntegrationWSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
WSO2CON2024 - Why Should You Consider Ballerina for Your Next Integration
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public AdministrationWSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
WSO2CON 2024 - How CSI Piemonte Is Apifying the Public Administration
 
WSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AIWSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AI
 
WSO2Con2024 - Organization Management: The Revolution in B2B CIAM
WSO2Con2024 - Organization Management: The Revolution in B2B CIAMWSO2Con2024 - Organization Management: The Revolution in B2B CIAM
WSO2Con2024 - Organization Management: The Revolution in B2B CIAM
 
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
 
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of TransformationWSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
 
Artyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptxArtyushina_Guest lecture_YorkU CS May 2024.pptx
Artyushina_Guest lecture_YorkU CS May 2024.pptx
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
WSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security ProgramWSO2CON 2024 - How to Run a Security Program
WSO2CON 2024 - How to Run a Security Program
 
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
WSO2Con2024 - GitOps in Action: Navigating Application Deployment in the Plat...
 
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 

Testing Metrics and why Managers like them

  • 1. endava.com QUALITY. PRODUCTIVITY. INNOVATION. TESTING METRICS And Why Managers Like Them Aleksandra Petrovic Nov 2016
  • 2. 2 QUALITY. PRODUCTIVITY. INNOVATION.  Software Quality  What are Testing Metric?  Why we need metrics and why managers like them?  Important Metrics and how to identify the ones we need  Metrics Report Example  Can Metrics Cheat? Testing Metrics
  • 3. 3 3 QUALITY. PRODUCTIVITY. INNOVATION. What makes software development projects successful? • Product quality • Optimize implemented processes • Increase Team efficiency • Reduce cost and time needed to deliver • Keep customers happy Software Quality
  • 4. 4 4 QUALITY. PRODUCTIVITY. INNOVATION. “When you can measure what you are speaking about, and can express it in numbers, you know something about it; but when you cannot measure it, when you cannot express it in numbers, your knowledge is of a meager and unsatisfactory kind.” -- Lord Kelvin, a physicist. Software testing metric is a quantitative measure of the degree to which a system, component, product or process possesses a given attribute. In other words, metrics helps estimating the progress, quality and health of a software testing effort. Example of software testing metric: Total number of defects found What is Software Testing Metric?
  • 5. 5 5 QUALITY. PRODUCTIVITY. INNOVATION. • "We cannot improve what we cannot measure“ • Display past and present performance • Predict future • Understand what needs to improve • Decide what to do next Why do Test Metrics?
  • 6. 6 6 QUALITY. PRODUCTIVITY. INNOVATION. “All they (managers) care about are numbers…” • Your team is doing a great job – show it! • Inefficiency affects schedules and product quality • Need to have a way to measure QA process quality • Metrics help you generate good test reports Why Managers Like Them?
  • 7. 7 7 QUALITY. PRODUCTIVITY. INNOVATION. Metrics can be sorted into groups based on different criteria: • Project-, department- and company-level metrics • Process (process efficiency), product (improve software quality) and project metrics (measure team or tools efficiency) • Base (raw data collected during execution) and calculated metrics (derive from data in base metrics usually for test reporting purpose) Metric Types
  • 8. 8 8 Important Metrics (1) 1. Test cases: • How many test cases designed per requirement? • How many test cases executed/pending? • How many test cases passed/failed/blocked? How many failed due to one particular defect? 2. Defects: • Total number of defects identified • Defect distribution per Severity, per Priority, per Component/Module • Defect Aging • Defect Density and Defect Density in released code 3. Automation: • Number of defects found in automated tests (Are they still useful? Watch for pesticide paradox!) • Percent of automated test coverage • How long it takes to run test plan and how often we do it? 4. People/QA Team: • Execution by user: How many test cases executed per person? QUALITY. PRODUCTIVITY. INNOVATION.
  • 9. 9 9 Important Metrics (2) 1. Defect distribution by status and phase • Expected to decrease as the software quality improves toward the project end 2. Defect open and close rates • Insight into the ability of testers and developers to work together to identify and address software issues 3. Defect removal efficiency (DRE) • Rate at which team is able to adequately fix identified program flaws 4. Burn down chart • Visual representation of the amount of work yet to be completed 5. Defect severity index • Shine some light on the effectiveness of development team QUALITY. PRODUCTIVITY. INNOVATION.
  • 10. 10 10 Important Metrics (3) 1. Number of issues reported by customers • Determine effectiveness of QA departments (risk-based testing to reduce gaps) 2. Mean Time to Detect (MTTD) and Mean Time to Repair (MTTR) • MTTD - how long it takes QA professionals to find a problem • MTTR - amount of time needed to effectively address it 3. Number of system outages and downtime • The number/frequency of system outages and length of downtime experienced by end user 4. COQ (Cost of Quality) and COPQ (Cost of Poor Quality) • COQ: Total effort put into quality-related activities (development, testing, reviews) • COPQ: Cost of fixing defects, updating docs, re-testing, patch distribution QUALITY. PRODUCTIVITY. INNOVATION.
  • 11. 11 11 QUALITY. PRODUCTIVITY. INNOVATION. A few tips how to identify correct metrics: • Set the target audience • Define the goal for metrics • Add only relevant metrics based on your project needs (less is more) • Analyze the cost benefits aspect of each metric How to identify the right metrics?
  • 12. 12 12 QUALITY. PRODUCTIVITY. INNOVATION. Steps to create Metrics Report Identify the key processes to be measured Set the target value for metrics (baseline) Identify how often to collect data and who should do it Collect actual data, calculate and interpret the results Create report and present to stakeholder with reasonable conclusions If things don’t look good, investigate reasons and suggest how to improve
  • 13. 13 13 Metrics Report Example QUALITY. PRODUCTIVITY. INNOVATION. METRIC ACTUAL VALUE TARGET Total number of open defects 18 20 Incoming defect rate 7 Defects found by automation tests 3 Breakage introduced by new features (regressions) 5 Outgoing defect-fix rate 5 Severity 1 (catastrophic outage) 0 0 Severity 2 (severe breakage) 2 0 Severity 3 (moderate issue) 3 2 Severity 4 (cosmetic issue) 12 Best Effort Documentation defects 40 Best Effort Defects found by customers 4 Best Effort MTTR (days) 7 10 Customer satisfaction 4.3 4.8
  • 14. 14 14 Metrics – Graphical Representation (1) QUALITY. PRODUCTIVITY. INNOVATION. Defects per Severity Total number of open defects
  • 15. 15 15 QUALITY. PRODUCTIVITY. INNOVATION. Metrics – Graphical Representation (2) Open vs Resolved Defects Defects per Component: 1. Cumulative Chart 2. JIRA Pie Chart
  • 16. 16 16 QUALITY. PRODUCTIVITY. INNOVATION. • Yes, metrics can cheat too! Usually when they are taken out of context… • Need reliable input data • Cheat accidentally (incorrect input data) or cheat on purpose (‘tweak’ your queries to get better stats) • True story example (on the next slide) • Project metric that did not take into account that there was a new defect tracking tool introduced! Can Metrics Cheat?
  • 17. 17 17 QUALITY. PRODUCTIVITY. INNOVATION. What my manager saw 0 20 40 60 80 100 120 140 Incoming Defect Rate (ALL Defects) S1-S3 S1-S5
  • 18. 18 18 QUALITY. PRODUCTIVITY. INNOVATION. After closer look (behind the numbers) 0 10 20 30 40 50 60 70 80 90 Incoming Defect Rate (New, Resolved, Verified defects only) S1-S3 S1-S5
  • 19. 19 19 QUALITY. PRODUCTIVITY. INNOVATION. • The bigger the number – the better we are ? • The component where we find most defects is the worst coded • Metrics are there for managers to point fingers at people • “All my filters and queries are correct but I still get very strange output results” • There are no "universal metrics“ Common Deceptions about Metrics
  • 20. 20 20 QUALITY. PRODUCTIVITY. INNOVATION. • http://www.getzephyr.com/resources/whitepapers/qa-metrics-value- testing-metrics-within-software-development • Useful Automated Software Testing Metrics – Research Gate “Implementing Automated Software Testing,” by Elfriede Dustin, Thom Garrett, Bernie Gauf • http://www.ifpug.org/Documents/Jones- SoftwareDefectOriginsAndRemovalMethodsDraft5.pdf • https://www.se.rit.edu Quality Management Overview – Defect Removal Metrics • http://www.guru99.com/software-testing-metrics-complete-tutorial.html • Software Quality Metrics Overview – Pearson: https://www.pearsonhighered.com/samplechapter/0201729156.pdf • https://www.equinox.co.nz/blog/software-testing-metrics-defect-removal- efficiency • http://softwaretestingfundamentals.com/defect-density/ References
  • 21. 21 21 Q & A QUALITY. PRODUCTIVITY. INNOVATION.
  • 22. 22 22 QUALITY. PRODUCTIVITY. INNOVATION. • If you have any questions, please contact the presenter: Thank You! Aleksandra Petrovic Test Consultant aleksandra.petrovic@endava.com