SlideShare a Scribd company logo
1 of 25
Test Metrics
“We can’t control things which we can’t measure”
Presented by :
DavisThomas K
What are
Software
Testing
Metrics?
 A Metric is a quantitative measure of the degree to which a
system, system component, or process possesses a given
attribute.
 Software Metrics are used to measure the quality of the project.
Test Metrics are
used to
 Evaluate testing performance and level of
quality
 Based on metrics , a better trade off between
constraints is possible
 Understand the kind of improvement required
to success the project
 Take decision on process or technology to be
modified
 Test Metrics are the most important to
measure the quality of the software.
Metrics Life cycle
Classification
Test Metrics
Base [Direct]
Metrics
Calculated
[Indirect]
Metrics
Base metrics is the raw data collected by Test Analyst during the test
case development and execution
Calculated metrics is derived from the data gathered in base metrics.
Basic test
Metric
Test Report
dashboard
Estimating
testing
BUG REPORT
Calcu
lated
Metri
cs
conv
ert
the
Base
Metri
cs
data
into
more
Percentage Test cases Executed
Percentage Test cases not executed
Percentage Test cases Passed
Percentage Test cases Failed
Percentage Test cases Blocked
Defect Density
Defect Removal Efficiency (DRE)
Defect Leakage
Defect Rejection ratio
Defects by Priority
Calculated test metrics
Calculated Metrics convert
the Base Metrics data into
more useful information.
PercentageTest cases
Executed
[Test Coverage]
 To obtain percentage of test case executed from total
test case
 Test Coverage= (No. ofTest cases executed /Total no.
ofTest cases written) * 100.
Test Coverage = (600/ 640) * 100 = 93.75%
PercentageTest cases NOT
Executed
To obtain percentage of test case NOT executed from total
test case
 Test Coverage= (No. ofTest cases NOT executed /Total
no. ofTest cases written) * 100.
Test Coverage = (40/ 640) * 100 = 6.25%
Percentage ofTest cases
passed
To obtain percentage of test case passed
 PercentageTest cases Passed = (No. ofTest cases
Passed /Total no. ofTest cases Executed) * 100.
Percentage of test cases Passed = (510/ 600) * 100 = 85%
Percentage ofTest cases failed
To obtain percentage of test case failed
 PercentageTest cases Failed= (No. ofTest cases failed/
Total no. ofTest cases Executed) * 100.
Percentage of test cases Failed= (80/ 600) * 100 = 13.33%
Percentage ofTest cases
blocked /deferred
This metric is used to obtain the blocked %ge of the
executed test cases.A detailed report can be submitted by
specifying the actual reason of blocking the test cases.
 PercentageTest cases blocked= (No. ofTest cases
blocked/Total no. ofTest cases Executed) * 100.
Percentage of test cases blocked= (10/ 600) * 100 =
1.67%
Defect Density
Defect density could be defined as the value of the total
defects which are known to the size of the software
product calculated
Defect Density = (32/ 50) = 1.67 defects / Story
Here, Size of release can be measured in terms of line of
code (LoC), user story, Functional point.
Advantages of defect density
•It helps measure the testing effectiveness
•It helps to differentiate defects in components/software modules
•It is useful in identifying the areas for correction or improvement
•It is useful in pointing towards high-risk components
•It helps in identifying the training needs to various resources
•It can be helpful in estimating the testing and rework due to bugs
•It can estimate the remaining defects in the software
•Before the release we can determine whether our testing is sufficient
Defect Removal Efficiency
(DRE)
DRE is used to identify the test effectiveness of the
system.
The defect removal efficiency (DRE) gives a measure of
the development team ability to remove defects prior to
release. It is calculated as a ratio of defects resolved to
total number of defects found.
Defect Removal Efficiency (DRE) = (No. of Defects found
during QA testing / (No. of Defects found during QA
testing +No. of Defects found by End user)) * 100
DRE = [29/ (29+ 3)] * 100 = [29/32] * 100 = 90.63%
Defect leakage
 Defect Leakage is the Metric which is used to identify the
efficiency of the QA testing
i.e., how many defects are missed / slipped during the QA
testing.
 Defect Leakage = (No. of Defects found in UAT / No. of
Defects found in QA testing.) * 100
DRE = [3/ 29] * 100 = 10.34%
Defects by Priority
Percentage of Critical defects
 Percentage of Critical Defects = No. of Critical Defects
identified /Total no. of Defects identified * 100
Percentage of Critical Defects = (10/ 32) * 100 = 31.25%
Defects by Priority
Percentage of High priority
defects
 Percentage of High priority Defects = No. of High priority
Defects identified /Total no. of Defects identified * 100
Percentage of Critical Defects = (5/ 32) * 100 = 15.63%
Defects by Priority
Percentage of Medium priority
defects
 Percentage of Medium priority Defects = No. of Medium
priority Defects identified /Total no. of Defects identified * 100
Percentage of Medium priority Defects = (12/ 32) * 100 =
37.5%
Defects by Priority
Percentage of Low priority
defects
 Percentage of Low priority Defects = No. of Low priority
Defects identified /Total no. of Defects identified * 100
Percentage of Low Priority Defects = (3/ 32) * 100 = 9.38%
Defect Rejection ratio [Invalid
bug ratio]
 Percentage of Invalid Defects = No. of Invalid Defects
identified /Total no. of Defects identified * 100
Percentage of Invalid Defects = (2/ 32) * 100 = 6.25%

More Related Content

What's hot

Types of software testing
Types of software testingTypes of software testing
Types of software testingTestbytes
 
Software Testing Process, Testing Automation and Software Testing Trends
Software Testing Process, Testing Automation and Software Testing TrendsSoftware Testing Process, Testing Automation and Software Testing Trends
Software Testing Process, Testing Automation and Software Testing TrendsKMS Technology
 
What is Test Plan? Edureka
What is Test Plan? EdurekaWhat is Test Plan? Edureka
What is Test Plan? EdurekaEdureka!
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing FundamentalsChankey Pathak
 
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...Ankit Prajapati
 
Software Testing 101
Software Testing 101Software Testing 101
Software Testing 101QA Hannah
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-conceptsmedsherb
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts pptRathna Priya
 
Principles of Software testing
Principles of Software testingPrinciples of Software testing
Principles of Software testingMd Mamunur Rashid
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality AssuranceSaqib Raza
 
11 steps of testing process - By Harshil Barot
11 steps of testing process - By Harshil Barot11 steps of testing process - By Harshil Barot
11 steps of testing process - By Harshil BarotHarshil Barot
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testingHadi Fadlallah
 
ISTQB Foundation Level Basic
ISTQB Foundation Level BasicISTQB Foundation Level Basic
ISTQB Foundation Level BasicSelin Gungor
 
Software Metrics - Software Engineering
Software Metrics - Software EngineeringSoftware Metrics - Software Engineering
Software Metrics - Software EngineeringDrishti Bhalla
 

What's hot (20)

Types of software testing
Types of software testingTypes of software testing
Types of software testing
 
Istqb foundation level day 1
Istqb foundation level   day 1Istqb foundation level   day 1
Istqb foundation level day 1
 
Software Testing Process, Testing Automation and Software Testing Trends
Software Testing Process, Testing Automation and Software Testing TrendsSoftware Testing Process, Testing Automation and Software Testing Trends
Software Testing Process, Testing Automation and Software Testing Trends
 
What is Test Plan? Edureka
What is Test Plan? EdurekaWhat is Test Plan? Edureka
What is Test Plan? Edureka
 
Software Testing Fundamentals
Software Testing FundamentalsSoftware Testing Fundamentals
Software Testing Fundamentals
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Software Testing or Quality Assurance
Software Testing or Quality AssuranceSoftware Testing or Quality Assurance
Software Testing or Quality Assurance
 
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
Software Testing - Part 1 (Techniques, Types, Levels, Methods, STLC, Bug Life...
 
Software Testing 101
Software Testing 101Software Testing 101
Software Testing 101
 
Basic software-testing-concepts
Basic software-testing-conceptsBasic software-testing-concepts
Basic software-testing-concepts
 
Testing concepts ppt
Testing concepts pptTesting concepts ppt
Testing concepts ppt
 
Software testing
Software testingSoftware testing
Software testing
 
Principles of Software testing
Principles of Software testingPrinciples of Software testing
Principles of Software testing
 
Software Quality Assurance
Software Quality AssuranceSoftware Quality Assurance
Software Quality Assurance
 
11 steps of testing process - By Harshil Barot
11 steps of testing process - By Harshil Barot11 steps of testing process - By Harshil Barot
11 steps of testing process - By Harshil Barot
 
Softwaretesting
SoftwaretestingSoftwaretesting
Softwaretesting
 
Introduction to software testing
Introduction to software testingIntroduction to software testing
Introduction to software testing
 
ISTQB Foundation Level Basic
ISTQB Foundation Level BasicISTQB Foundation Level Basic
ISTQB Foundation Level Basic
 
Software Metrics - Software Engineering
Software Metrics - Software EngineeringSoftware Metrics - Software Engineering
Software Metrics - Software Engineering
 
Black box software testing
Black box software testingBlack box software testing
Black box software testing
 

Viewers also liked

Metrics for manual testing
Metrics for manual testingMetrics for manual testing
Metrics for manual testingAnup Panigrahi
 
Software process and project metrics
Software process and project metricsSoftware process and project metrics
Software process and project metricsIndu Sharma Bhardwaj
 
Chapter 6 software metrics
Chapter 6 software metricsChapter 6 software metrics
Chapter 6 software metricsdespicable me
 
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
 
Metrics formulas
Metrics formulasMetrics formulas
Metrics formulasmd_taufeeq
 
Software Metrics & Measurement-Sharbani Bhattacharya
Software Metrics & Measurement-Sharbani BhattacharyaSoftware Metrics & Measurement-Sharbani Bhattacharya
Software Metrics & Measurement-Sharbani BhattacharyaSharbani Bhattacharya
 
Software Testing - Defect Metrics & Analysis
Software Testing - Defect Metrics & AnalysisSoftware Testing - Defect Metrics & Analysis
Software Testing - Defect Metrics & AnalysisOAK Systems Pvt Ltd
 
Testing, assessment, measurement and evaluation definition
Testing, assessment, measurement and evaluation definitionTesting, assessment, measurement and evaluation definition
Testing, assessment, measurement and evaluation definitionnorazmi danuri
 
Fusion Testing - Maximizing Software Test Execution
Fusion Testing - Maximizing Software Test ExecutionFusion Testing - Maximizing Software Test Execution
Fusion Testing - Maximizing Software Test ExecutionJamie Tischart
 
Complement Software Testing with Static Analysis
Complement Software Testing with Static AnalysisComplement Software Testing with Static Analysis
Complement Software Testing with Static AnalysisJohn Ruberto
 
What test coverage mean to us
What test coverage mean to usWhat test coverage mean to us
What test coverage mean to usJoseph Yao
 
Software Development Life Cycle: Traditional and Agile- A Comparative Study
Software Development Life Cycle: Traditional and Agile- A Comparative StudySoftware Development Life Cycle: Traditional and Agile- A Comparative Study
Software Development Life Cycle: Traditional and Agile- A Comparative Studyijsrd.com
 
Unit iv-testing-pune-university-sres-coe
Unit iv-testing-pune-university-sres-coeUnit iv-testing-pune-university-sres-coe
Unit iv-testing-pune-university-sres-coeHitesh Mohapatra
 
Quality Assurance Comparison in Traditional and Agile Methodologies
Quality Assurance Comparison in Traditional and Agile MethodologiesQuality Assurance Comparison in Traditional and Agile Methodologies
Quality Assurance Comparison in Traditional and Agile Methodologiescoolbreeze130
 

Viewers also liked (20)

Metrics for manual testing
Metrics for manual testingMetrics for manual testing
Metrics for manual testing
 
13 software metrics
13 software metrics13 software metrics
13 software metrics
 
Software Metrics
Software MetricsSoftware Metrics
Software Metrics
 
Software process and project metrics
Software process and project metricsSoftware process and project metrics
Software process and project metrics
 
Chapter 6 software metrics
Chapter 6 software metricsChapter 6 software metrics
Chapter 6 software metrics
 
Software Metrics
Software MetricsSoftware Metrics
Software 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
 
Product metrics
Product metricsProduct metrics
Product metrics
 
Metrics formulas
Metrics formulasMetrics formulas
Metrics formulas
 
Test performance indicators
Test performance indicatorsTest performance indicators
Test performance indicators
 
Software Metrics & Measurement-Sharbani Bhattacharya
Software Metrics & Measurement-Sharbani BhattacharyaSoftware Metrics & Measurement-Sharbani Bhattacharya
Software Metrics & Measurement-Sharbani Bhattacharya
 
Software Testing - Defect Metrics & Analysis
Software Testing - Defect Metrics & AnalysisSoftware Testing - Defect Metrics & Analysis
Software Testing - Defect Metrics & Analysis
 
Testing, assessment, measurement and evaluation definition
Testing, assessment, measurement and evaluation definitionTesting, assessment, measurement and evaluation definition
Testing, assessment, measurement and evaluation definition
 
Fusion Testing - Maximizing Software Test Execution
Fusion Testing - Maximizing Software Test ExecutionFusion Testing - Maximizing Software Test Execution
Fusion Testing - Maximizing Software Test Execution
 
Complement Software Testing with Static Analysis
Complement Software Testing with Static AnalysisComplement Software Testing with Static Analysis
Complement Software Testing with Static Analysis
 
What test coverage mean to us
What test coverage mean to usWhat test coverage mean to us
What test coverage mean to us
 
Software Development Life Cycle: Traditional and Agile- A Comparative Study
Software Development Life Cycle: Traditional and Agile- A Comparative StudySoftware Development Life Cycle: Traditional and Agile- A Comparative Study
Software Development Life Cycle: Traditional and Agile- A Comparative Study
 
Chapter01
Chapter01Chapter01
Chapter01
 
Unit iv-testing-pune-university-sres-coe
Unit iv-testing-pune-university-sres-coeUnit iv-testing-pune-university-sres-coe
Unit iv-testing-pune-university-sres-coe
 
Quality Assurance Comparison in Traditional and Agile Methodologies
Quality Assurance Comparison in Traditional and Agile MethodologiesQuality Assurance Comparison in Traditional and Agile Methodologies
Quality Assurance Comparison in Traditional and Agile Methodologies
 

Similar to Software Test Metrics and Measurements

Software testing metrics | David Tzemach
Software testing metrics | David Tzemach Software testing metrics | David Tzemach
Software testing metrics | David Tzemach David Tzemach
 
What is Test Matrix?
What is Test Matrix?What is Test Matrix?
What is Test Matrix?QA InfoTech
 
Automating The Process For Building Reliable Software
Automating The Process For Building Reliable SoftwareAutomating The Process For Building Reliable Software
Automating The Process For Building Reliable Softwareguest8861ff
 
Test design techniques: Structured and Experienced-based techniques
Test design techniques: Structured and Experienced-based techniquesTest design techniques: Structured and Experienced-based techniques
Test design techniques: Structured and Experienced-based techniquesKhuong Nguyen
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentalssunilabj
 
Predictive Performance Testing: Integrating Statistical Tests into Agile Deve...
Predictive Performance Testing: Integrating Statistical Tests into Agile Deve...Predictive Performance Testing: Integrating Statistical Tests into Agile Deve...
Predictive Performance Testing: Integrating Statistical Tests into Agile Deve...Tom Kleingarn
 
Software Testing Metrics
Software Testing MetricsSoftware Testing Metrics
Software Testing MetricsJatin Kochhar
 
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
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1Yogindernath Gupta
 
Chapter 5 - Test Automation Reporting and Metrics
Chapter 5 - Test Automation Reporting and MetricsChapter 5 - Test Automation Reporting and Metrics
Chapter 5 - Test Automation Reporting and MetricsNeeraj Kumar Singh
 

Similar to Software Test Metrics and Measurements (20)

Software testing metrics | David Tzemach
Software testing metrics | David Tzemach Software testing metrics | David Tzemach
Software testing metrics | David Tzemach
 
What is Test Matrix?
What is Test Matrix?What is Test Matrix?
What is Test Matrix?
 
Automating The Process For Building Reliable Software
Automating The Process For Building Reliable SoftwareAutomating The Process For Building Reliable Software
Automating The Process For Building Reliable Software
 
Test design techniques: Structured and Experienced-based techniques
Test design techniques: Structured and Experienced-based techniquesTest design techniques: Structured and Experienced-based techniques
Test design techniques: Structured and Experienced-based techniques
 
Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Predictive Performance Testing: Integrating Statistical Tests into Agile Deve...
Predictive Performance Testing: Integrating Statistical Tests into Agile Deve...Predictive Performance Testing: Integrating Statistical Tests into Agile Deve...
Predictive Performance Testing: Integrating Statistical Tests into Agile Deve...
 
Software Testing Metrics
Software Testing MetricsSoftware Testing Metrics
Software Testing Metrics
 
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
 
ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1ISTQB / ISEB Foundation Exam Practice -1
ISTQB / ISEB Foundation Exam Practice -1
 
Testing
TestingTesting
Testing
 
Vlsi testing
Vlsi testingVlsi testing
Vlsi testing
 
Chapter 5 - Test Automation Reporting and Metrics
Chapter 5 - Test Automation Reporting and MetricsChapter 5 - Test Automation Reporting and Metrics
Chapter 5 - Test Automation Reporting and Metrics
 
prova4
prova4prova4
prova4
 
provalast
provalastprovalast
provalast
 
test3
test3test3
test3
 
test2
test2test2
test2
 
provoora
provooraprovoora
provoora
 
prova3
prova3prova3
prova3
 
stasera1
stasera1stasera1
stasera1
 
provarealw2
provarealw2provarealw2
provarealw2
 

More from Davis Thomas

More from Davis Thomas (8)

When to use agile (PMI ACP)
When to use agile (PMI ACP)When to use agile (PMI ACP)
When to use agile (PMI ACP)
 
ISTQB Agile Extension
ISTQB Agile ExtensionISTQB Agile Extension
ISTQB Agile Extension
 
CTFL chapter 06
CTFL chapter 06CTFL chapter 06
CTFL chapter 06
 
CTFL chapter 05
CTFL chapter 05CTFL chapter 05
CTFL chapter 05
 
CTFL Module 02
CTFL Module 02CTFL Module 02
CTFL Module 02
 
CTFL Module 04
CTFL Module 04CTFL Module 04
CTFL Module 04
 
CTFL Module 03
CTFL Module 03CTFL Module 03
CTFL Module 03
 
CTFL Module 01
CTFL Module 01CTFL Module 01
CTFL Module 01
 

Recently uploaded

PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentationvaddepallysandeep122
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Cizo Technology Services
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commercemanigoyal112
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfFerryKemperman
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsSafe Software
 
Software Coding for software engineering
Software Coding for software engineeringSoftware Coding for software engineering
Software Coding for software engineeringssuserb3a23b
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Mater
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odishasmiwainfosol
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfMarharyta Nedzelska
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfDrew Moseley
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Matt Ray
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Developmentvyaparkranti
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...Technogeeks
 

Recently uploaded (20)

PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentation
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commerce
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdf
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data Streams
 
Software Coding for software engineering
Software Coding for software engineeringSoftware Coding for software engineering
Software Coding for software engineering
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdf
 
Comparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdfComparing Linux OS Image Update Models - EOSS 2024.pdf
Comparing Linux OS Image Update Models - EOSS 2024.pdf
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
VK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web DevelopmentVK Business Profile - provides IT solutions and Web Development
VK Business Profile - provides IT solutions and Web Development
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...What is Advanced Excel and what are some best practices for designing and cre...
What is Advanced Excel and what are some best practices for designing and cre...
 

Software Test Metrics and Measurements

  • 1. Test Metrics “We can’t control things which we can’t measure” Presented by : DavisThomas K
  • 2. What are Software Testing Metrics?  A Metric is a quantitative measure of the degree to which a system, system component, or process possesses a given attribute.  Software Metrics are used to measure the quality of the project.
  • 3. Test Metrics are used to  Evaluate testing performance and level of quality  Based on metrics , a better trade off between constraints is possible  Understand the kind of improvement required to success the project  Take decision on process or technology to be modified  Test Metrics are the most important to measure the quality of the software.
  • 5. Classification Test Metrics Base [Direct] Metrics Calculated [Indirect] Metrics Base metrics is the raw data collected by Test Analyst during the test case development and execution Calculated metrics is derived from the data gathered in base metrics.
  • 9. Calcu lated Metri cs conv ert the Base Metri cs data into more Percentage Test cases Executed Percentage Test cases not executed Percentage Test cases Passed Percentage Test cases Failed Percentage Test cases Blocked Defect Density Defect Removal Efficiency (DRE) Defect Leakage Defect Rejection ratio Defects by Priority Calculated test metrics Calculated Metrics convert the Base Metrics data into more useful information.
  • 10.
  • 11. PercentageTest cases Executed [Test Coverage]  To obtain percentage of test case executed from total test case  Test Coverage= (No. ofTest cases executed /Total no. ofTest cases written) * 100. Test Coverage = (600/ 640) * 100 = 93.75%
  • 12. PercentageTest cases NOT Executed To obtain percentage of test case NOT executed from total test case  Test Coverage= (No. ofTest cases NOT executed /Total no. ofTest cases written) * 100. Test Coverage = (40/ 640) * 100 = 6.25%
  • 13. Percentage ofTest cases passed To obtain percentage of test case passed  PercentageTest cases Passed = (No. ofTest cases Passed /Total no. ofTest cases Executed) * 100. Percentage of test cases Passed = (510/ 600) * 100 = 85%
  • 14. Percentage ofTest cases failed To obtain percentage of test case failed  PercentageTest cases Failed= (No. ofTest cases failed/ Total no. ofTest cases Executed) * 100. Percentage of test cases Failed= (80/ 600) * 100 = 13.33%
  • 15. Percentage ofTest cases blocked /deferred This metric is used to obtain the blocked %ge of the executed test cases.A detailed report can be submitted by specifying the actual reason of blocking the test cases.  PercentageTest cases blocked= (No. ofTest cases blocked/Total no. ofTest cases Executed) * 100. Percentage of test cases blocked= (10/ 600) * 100 = 1.67%
  • 16. Defect Density Defect density could be defined as the value of the total defects which are known to the size of the software product calculated Defect Density = (32/ 50) = 1.67 defects / Story Here, Size of release can be measured in terms of line of code (LoC), user story, Functional point.
  • 17. Advantages of defect density •It helps measure the testing effectiveness •It helps to differentiate defects in components/software modules •It is useful in identifying the areas for correction or improvement •It is useful in pointing towards high-risk components •It helps in identifying the training needs to various resources •It can be helpful in estimating the testing and rework due to bugs •It can estimate the remaining defects in the software •Before the release we can determine whether our testing is sufficient
  • 18.
  • 19. Defect Removal Efficiency (DRE) DRE is used to identify the test effectiveness of the system. The defect removal efficiency (DRE) gives a measure of the development team ability to remove defects prior to release. It is calculated as a ratio of defects resolved to total number of defects found. Defect Removal Efficiency (DRE) = (No. of Defects found during QA testing / (No. of Defects found during QA testing +No. of Defects found by End user)) * 100 DRE = [29/ (29+ 3)] * 100 = [29/32] * 100 = 90.63%
  • 20. Defect leakage  Defect Leakage is the Metric which is used to identify the efficiency of the QA testing i.e., how many defects are missed / slipped during the QA testing.  Defect Leakage = (No. of Defects found in UAT / No. of Defects found in QA testing.) * 100 DRE = [3/ 29] * 100 = 10.34%
  • 21. Defects by Priority Percentage of Critical defects  Percentage of Critical Defects = No. of Critical Defects identified /Total no. of Defects identified * 100 Percentage of Critical Defects = (10/ 32) * 100 = 31.25%
  • 22. Defects by Priority Percentage of High priority defects  Percentage of High priority Defects = No. of High priority Defects identified /Total no. of Defects identified * 100 Percentage of Critical Defects = (5/ 32) * 100 = 15.63%
  • 23. Defects by Priority Percentage of Medium priority defects  Percentage of Medium priority Defects = No. of Medium priority Defects identified /Total no. of Defects identified * 100 Percentage of Medium priority Defects = (12/ 32) * 100 = 37.5%
  • 24. Defects by Priority Percentage of Low priority defects  Percentage of Low priority Defects = No. of Low priority Defects identified /Total no. of Defects identified * 100 Percentage of Low Priority Defects = (3/ 32) * 100 = 9.38%
  • 25. Defect Rejection ratio [Invalid bug ratio]  Percentage of Invalid Defects = No. of Invalid Defects identified /Total no. of Defects identified * 100 Percentage of Invalid Defects = (2/ 32) * 100 = 6.25%

Editor's Notes

  1. The Institute of Electrical and Electronics Engineers