SlideShare a Scribd company logo
1 of 15
SOFTWARE TESTING
METRICS
Quantitative Measurement Of Testing
Agenda
• Considerations
• Importance of Test Metrics
• Test Metrics – Manual Testing
• Test Metrics – Automation Testing
• Test Metrics – Performance Testing
• Common Metrics For All Types Of Testing
Considerations
• For managers, test metrics are key to improvising software projects as well as ensuring that progress remains
on schedule.
• To understand test metrics manager should have extensive experience in managing software testing projects
• Manager should have worked in SDLC, water fall model projects
• Data for metrics should be tracked manually or through test management tools
• From test planning to go-live phase data needs to be captured for metrics
Importance of Test Metrics
A software metric is a standard of measure of a degree to which a software system or process possesses some
property.
Test managers can identify risk areas, improvement opportunities, testing status and testing effectiveness
QA teams are beginning to rely more on historical data and reports to handle various issues as well as to show
which areas of software projects can be improved.
"The final judgment and decision-making should be driven by analysis and not only data. Metric s) assist in
decision-making, but do not substitute it.”
Famous phrase - “You can’t manage what you don’t measure,” By Edward Deming
Test Metrics – Manual Testing
• Test Design Coverage
Formula - (Number of testable requirements covered by test cases created / Number of testable system
requirements planned to be covered)
• Test Execution Coverage
Formula: (Number of testable requirements covered by test cases executed / Number of testable system
requirements planned to be covered)
• Test case density
Formula: Number of test cases per unit size of system tested -
(A test case is defined as a simple test case with upto 10 steps)
• Test design completion
Formula: (Number of test cases created / Number of planned test cases) * 100
Test Metrics – Manual Testing
• Test execution completion
Formula: (Number of test cases executed / Number of test cases planned for execution) * 100
• Productivity - Test Design
Formula: (Number of test cases designed / Test design effort in person days)
• Productivity - Test Execution-
Formula: (Number of test cases executed / Test execution effort in person days)
• Test Effectiveness
Formula: Percentage of defects found in testing done by Team with respect to total number of defects
raised in subsequent test phases and mutually agreed period in production
Test Metrics – Manual Testing
• Invalid defects
Formula: Percentage of defects rejected with respect to total number of defects raised
• Defect Density
Formula: Valid defects per unit size of the software
(Unit size of software could be requirements, use case, screen, line of code)
Test Metrics – Automation Testing
• Return Of Investment (ROI) of Automation
Formula: (Gain + Investment) / Investment
Investment = (a) + (b) + (c) + (d) + (e)
Gain = [(g) * (h) * Period of ROI] / 8
(a) Automated test script development time = (Hourly automation time per test * Number of automated
test cases) / 8
(b) Automated test script execution time = (Automated test execution time per test * Number of automated
test cases * Period of ROI) / 18
(c) Automated test analysis time = (Test Analysis time * Period of ROI) / 8
(d) Automated test maintenance time = (Maintenance time * Period of ROI) / 8
(e) Manual Execution Time = (Manual test execution time * Number of manual test cases * Period of ROI) /
8
(g) Manual test execution time or analysis time
(h) Total number of test cases (automated + manual)
Period of ROI is the number of weeks for which ROI is to be calculated. Divided by 8 is done wherever
manual effort is needed. Divided by 18 is done wherever automation is done.
Test Metrics – Automation Testing
• Percentage of reusable scripts in new enhancements
Formula: (Number of reusable scripts used / Total number of new functionality created)
• Percentage of defects in test scripts per automated test case
Formula: (Number of defects found in automated scripts / Number of automated test cases)*100
• Automatability achieved
Formula: Number of automation test cases run in a delivery cycle / Total test cases selected for a delivery
cycle
• Automation achieved per test case
Formula: Number of test steps automated for a test case / Total number of test steps for test case
Test Metrics – Automation Testing
• Percent of automation achieved in Regression
Formula: Number test cases automated in regression test pack / Total number of regression test cases
available for automation
Test Metrics – Performance Testing
• Performance Execution Data - Client Side
This metric gives the detail information of Client side data for execution.
Following are some of the data points of this metric -
1. Running Users
2. Response Time
3. Hits per Second
4. Throughput
5. Total Transaction per second
6. Time to first byte
7. Error per second
Test Metrics – Performance Testing
• Performance Execution Data - Server Side
This metric gives the detail information of Server side date for execution.
Following are some of the data points of this metric -
1. CPU Utilization
2. Memory Utilization
3. HEAP Memory Utilization
4. Database connections per second
• Product Quality
Formula: (Number of defects in performance test scripts found during expert reviews / Number of
performance test cases created) * 100
• Throughput
Formula: (Number of performance test cases designed / Performance Test design effort in persons days or
hours)
Test Metrics – Performance Testing
• Effectiveness of Verification
Formula: (Number of defects found in performance testing done by Team / Total Number of defects found
in performance testing done by team and subsequent test phases and mutually agreed period in production
or other environment) * 100
• Effort Variance (EV)
Formula: [(Actual effort - Estimated effort) / Estimated efforts ] * 100
• Schedule Variance (SV)
Formula: [(Actual number of days - Estimated number of days) / Estimated number of days] * 100
• Scope Change
Formula: [(Total scope - Previous scope) / Previous scope] * 100
Common Metrics For All Types Of Testing
Thank You!
For any queries connect me at jatinkochhar@hotmail.com

More Related Content

What's hot

Python: Object-Oriented Testing (Unit Testing)
Python: Object-Oriented Testing (Unit Testing)Python: Object-Oriented Testing (Unit Testing)
Python: Object-Oriented Testing (Unit Testing)Damian T. Gordon
 
Understand regression testing
Understand regression testingUnderstand regression testing
Understand regression testinggaoliang641
 
Product Quality: Metrics, Verification, Validation, Testing
Product Quality: Metrics, Verification, Validation, TestingProduct Quality: Metrics, Verification, Validation, Testing
Product Quality: Metrics, Verification, Validation, TestingReem Alattas
 
Measurement and Metrics for Test Managers
Measurement and Metrics for Test ManagersMeasurement and Metrics for Test Managers
Measurement and Metrics for Test ManagersTechWell
 
4.4.2013 Software Quality - Regression Testing Automated and Manual - RFT/RQM
4.4.2013 Software Quality - Regression Testing Automated and Manual - RFT/RQM4.4.2013 Software Quality - Regression Testing Automated and Manual - RFT/RQM
4.4.2013 Software Quality - Regression Testing Automated and Manual - RFT/RQMIBM Rational
 
Software Testing
Software TestingSoftware Testing
Software TestingKiran Kumar
 
Introduction to Software Testing
Introduction to Software TestingIntroduction to Software Testing
Introduction to Software TestingRajathi-QA
 
Risk based regression testing approach
Risk based regression testing approachRisk based regression testing approach
Risk based regression testing approachAsim Ali
 
Exploratory Testing for Developers
Exploratory Testing for DevelopersExploratory Testing for Developers
Exploratory Testing for DevelopersJohan Hoberg
 
Software Testing
Software TestingSoftware Testing
Software TestingKiran Kumar
 
Verifcation &validation
Verifcation &validationVerifcation &validation
Verifcation &validationssusere50573
 
Software engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit designSoftware engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit designMaitree Patel
 
'How To Apply Lean Test Management' by Bob van de Burgt
'How To Apply Lean Test Management' by Bob van de Burgt'How To Apply Lean Test Management' by Bob van de Burgt
'How To Apply Lean Test Management' by Bob van de BurgtTEST Huddle
 

What's hot (20)

Python: Object-Oriented Testing (Unit Testing)
Python: Object-Oriented Testing (Unit Testing)Python: Object-Oriented Testing (Unit Testing)
Python: Object-Oriented Testing (Unit Testing)
 
Understand regression testing
Understand regression testingUnderstand regression testing
Understand regression testing
 
Product Quality: Metrics, Verification, Validation, Testing
Product Quality: Metrics, Verification, Validation, TestingProduct Quality: Metrics, Verification, Validation, Testing
Product Quality: Metrics, Verification, Validation, Testing
 
Measurement and Metrics for Test Managers
Measurement and Metrics for Test ManagersMeasurement and Metrics for Test Managers
Measurement and Metrics for Test Managers
 
Testing
TestingTesting
Testing
 
Testing
TestingTesting
Testing
 
4.4.2013 Software Quality - Regression Testing Automated and Manual - RFT/RQM
4.4.2013 Software Quality - Regression Testing Automated and Manual - RFT/RQM4.4.2013 Software Quality - Regression Testing Automated and Manual - RFT/RQM
4.4.2013 Software Quality - Regression Testing Automated and Manual - RFT/RQM
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Unit v
Unit vUnit v
Unit v
 
[Paul Holland] Bad Metrics and What You Can Do About It
[Paul Holland] Bad Metrics and What You Can Do About It[Paul Holland] Bad Metrics and What You Can Do About It
[Paul Holland] Bad Metrics and What You Can Do About It
 
Introduction to Software Testing
Introduction to Software TestingIntroduction to Software Testing
Introduction to Software Testing
 
Risk based regression testing approach
Risk based regression testing approachRisk based regression testing approach
Risk based regression testing approach
 
unit testing and debugging
unit testing and debuggingunit testing and debugging
unit testing and debugging
 
Testing
TestingTesting
Testing
 
Unit 4 testing
Unit 4 testingUnit 4 testing
Unit 4 testing
 
Exploratory Testing for Developers
Exploratory Testing for DevelopersExploratory Testing for Developers
Exploratory Testing for Developers
 
Software Testing
Software TestingSoftware Testing
Software Testing
 
Verifcation &validation
Verifcation &validationVerifcation &validation
Verifcation &validation
 
Software engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit designSoftware engineering Testing technique,test case,test suit design
Software engineering Testing technique,test case,test suit design
 
'How To Apply Lean Test Management' by Bob van de Burgt
'How To Apply Lean Test Management' by Bob van de Burgt'How To Apply Lean Test Management' by Bob van de Burgt
'How To Apply Lean Test Management' by Bob van de Burgt
 

Similar to Software Testing Metrics

What is Test Matrix?
What is Test Matrix?What is Test Matrix?
What is Test Matrix?QA InfoTech
 
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
 
Metrics based Management
Metrics based ManagementMetrics based Management
Metrics based ManagementSPIN Chennai
 
11_Automated_Testing.ppt
11_Automated_Testing.ppt11_Automated_Testing.ppt
11_Automated_Testing.pptMadhaviP23
 
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbsModule 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbsShivang100
 
M. Holovaty, Концепции автоматизированного тестирования
M. Holovaty, Концепции автоматизированного тестированияM. Holovaty, Концепции автоматизированного тестирования
M. Holovaty, Концепции автоматизированного тестированияAlex
 
Software quality metrics
Software quality metricsSoftware quality metrics
Software quality metricsSandeep Supal
 
Automated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra SolutionsAutomated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra SolutionsQuontra Solutions
 
unit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptxunit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptxPriyaFulpagare1
 
03 INFO6105 The Business Case1.pptx
03 INFO6105 The Business Case1.pptx03 INFO6105 The Business Case1.pptx
03 INFO6105 The Business Case1.pptxAnithaSadasivuni
 
ISTQBCH2.ppt
ISTQBCH2.pptISTQBCH2.ppt
ISTQBCH2.pptghkadous
 
How To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationHow To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationRanorex
 
C:\documents and settings\selvam.mc\my documents\automation testing process
C:\documents and settings\selvam.mc\my documents\automation testing processC:\documents and settings\selvam.mc\my documents\automation testing process
C:\documents and settings\selvam.mc\my documents\automation testing processselvam mc
 
WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_21-04-2022_TES...
WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_21-04-2022_TES...WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_21-04-2022_TES...
WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_21-04-2022_TES...madhurpatidar2
 

Similar to Software Testing Metrics (20)

What is Test Matrix?
What is Test Matrix?What is Test Matrix?
What is Test Matrix?
 
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
 
Metrics based Management
Metrics based ManagementMetrics based Management
Metrics based Management
 
11_Automated_Testing.ppt
11_Automated_Testing.ppt11_Automated_Testing.ppt
11_Automated_Testing.ppt
 
11_Automated_Testing.ppt
11_Automated_Testing.ppt11_Automated_Testing.ppt
11_Automated_Testing.ppt
 
11_Automated_Testing.ppt
11_Automated_Testing.ppt11_Automated_Testing.ppt
11_Automated_Testing.ppt
 
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbsModule 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
Module 4.pptxbsbsnsnsnsbsbbsjsjzbsbbsbsbsbs
 
M. Holovaty, Концепции автоматизированного тестирования
M. Holovaty, Концепции автоматизированного тестированияM. Holovaty, Концепции автоматизированного тестирования
M. Holovaty, Концепции автоматизированного тестирования
 
unit-5 SPM.pptx
unit-5 SPM.pptxunit-5 SPM.pptx
unit-5 SPM.pptx
 
Software quality metrics
Software quality metricsSoftware quality metrics
Software quality metrics
 
Automated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra SolutionsAutomated Software Testing Framework Training by Quontra Solutions
Automated Software Testing Framework Training by Quontra Solutions
 
unit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptxunit-2_20-july-2018 (1).pptx
unit-2_20-july-2018 (1).pptx
 
Automation Concepts
Automation ConceptsAutomation Concepts
Automation Concepts
 
03 INFO6105 The Business Case1.pptx
03 INFO6105 The Business Case1.pptx03 INFO6105 The Business Case1.pptx
03 INFO6105 The Business Case1.pptx
 
ISTQBCH2.ppt
ISTQBCH2.pptISTQBCH2.ppt
ISTQBCH2.ppt
 
ISTQBCH2.ppt
ISTQBCH2.pptISTQBCH2.ppt
ISTQBCH2.ppt
 
rryghg.ppt
rryghg.pptrryghg.ppt
rryghg.ppt
 
How To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test AutomationHow To Transform the Manual Testing Process to Incorporate Test Automation
How To Transform the Manual Testing Process to Incorporate Test Automation
 
C:\documents and settings\selvam.mc\my documents\automation testing process
C:\documents and settings\selvam.mc\my documents\automation testing processC:\documents and settings\selvam.mc\my documents\automation testing process
C:\documents and settings\selvam.mc\my documents\automation testing process
 
WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_21-04-2022_TES...
WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_21-04-2022_TES...WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_21-04-2022_TES...
WINSEM2021-22_ITE2004_ETH_VL2021220500452_Reference_Material_I_21-04-2022_TES...
 

More from Jatin Kochhar

GDPR Data Life Cycle
GDPR Data Life CycleGDPR Data Life Cycle
GDPR Data Life CycleJatin Kochhar
 
Why We Require GDPR?
Why We Require GDPR?Why We Require GDPR?
Why We Require GDPR?Jatin Kochhar
 
Intent Based Analytics with Google Analytics and Google Tag Manager
Intent Based Analytics with Google Analytics and Google Tag ManagerIntent Based Analytics with Google Analytics and Google Tag Manager
Intent Based Analytics with Google Analytics and Google Tag ManagerJatin Kochhar
 
Mobile Application vs Web Application
Mobile Application vs Web ApplicationMobile Application vs Web Application
Mobile Application vs Web ApplicationJatin Kochhar
 
Integration of Google Tag Manager and Google Analytics
Integration of Google Tag Manager and Google AnalyticsIntegration of Google Tag Manager and Google Analytics
Integration of Google Tag Manager and Google AnalyticsJatin Kochhar
 
Search Engine Marketing
Search Engine MarketingSearch Engine Marketing
Search Engine MarketingJatin Kochhar
 
Search Engine Optimization - Optimize Organic Search
Search Engine Optimization - Optimize Organic SearchSearch Engine Optimization - Optimize Organic Search
Search Engine Optimization - Optimize Organic SearchJatin Kochhar
 
Analytic Tool Hotjar - Capability
Analytic Tool Hotjar - CapabilityAnalytic Tool Hotjar - Capability
Analytic Tool Hotjar - CapabilityJatin Kochhar
 
Landing Page Optimization
Landing Page OptimizationLanding Page Optimization
Landing Page OptimizationJatin Kochhar
 
Accessibility for Content Developer, Designer, Code Developer and Tester
Accessibility for Content Developer, Designer, Code Developer and TesterAccessibility for Content Developer, Designer, Code Developer and Tester
Accessibility for Content Developer, Designer, Code Developer and TesterJatin Kochhar
 
Accessibility Testing Approach
Accessibility Testing ApproachAccessibility Testing Approach
Accessibility Testing ApproachJatin Kochhar
 
What is Accessibility
What is AccessibilityWhat is Accessibility
What is AccessibilityJatin Kochhar
 
Global Data Privacy Regulation
Global Data Privacy RegulationGlobal Data Privacy Regulation
Global Data Privacy RegulationJatin Kochhar
 
Software Test Estimation
Software Test EstimationSoftware Test Estimation
Software Test EstimationJatin Kochhar
 
Conformance Checklist for Product Owner
Conformance Checklist for Product OwnerConformance Checklist for Product Owner
Conformance Checklist for Product OwnerJatin Kochhar
 

More from Jatin Kochhar (17)

GDPR Data Life Cycle
GDPR Data Life CycleGDPR Data Life Cycle
GDPR Data Life Cycle
 
Why We Require GDPR?
Why We Require GDPR?Why We Require GDPR?
Why We Require GDPR?
 
Intent Based Analytics with Google Analytics and Google Tag Manager
Intent Based Analytics with Google Analytics and Google Tag ManagerIntent Based Analytics with Google Analytics and Google Tag Manager
Intent Based Analytics with Google Analytics and Google Tag Manager
 
Mobile Application vs Web Application
Mobile Application vs Web ApplicationMobile Application vs Web Application
Mobile Application vs Web Application
 
Integration of Google Tag Manager and Google Analytics
Integration of Google Tag Manager and Google AnalyticsIntegration of Google Tag Manager and Google Analytics
Integration of Google Tag Manager and Google Analytics
 
Search Engine Marketing
Search Engine MarketingSearch Engine Marketing
Search Engine Marketing
 
Search Engine Optimization - Optimize Organic Search
Search Engine Optimization - Optimize Organic SearchSearch Engine Optimization - Optimize Organic Search
Search Engine Optimization - Optimize Organic Search
 
Analytic Tool Hotjar - Capability
Analytic Tool Hotjar - CapabilityAnalytic Tool Hotjar - Capability
Analytic Tool Hotjar - Capability
 
Landing Page Optimization
Landing Page OptimizationLanding Page Optimization
Landing Page Optimization
 
Accessibility for Content Developer, Designer, Code Developer and Tester
Accessibility for Content Developer, Designer, Code Developer and TesterAccessibility for Content Developer, Designer, Code Developer and Tester
Accessibility for Content Developer, Designer, Code Developer and Tester
 
Accessibility Testing Approach
Accessibility Testing ApproachAccessibility Testing Approach
Accessibility Testing Approach
 
What is Accessibility
What is AccessibilityWhat is Accessibility
What is Accessibility
 
GDPR Data Lifecycle
GDPR Data LifecycleGDPR Data Lifecycle
GDPR Data Lifecycle
 
Global Data Privacy Regulation
Global Data Privacy RegulationGlobal Data Privacy Regulation
Global Data Privacy Regulation
 
Basics of python
Basics of pythonBasics of python
Basics of python
 
Software Test Estimation
Software Test EstimationSoftware Test Estimation
Software Test Estimation
 
Conformance Checklist for Product Owner
Conformance Checklist for Product OwnerConformance Checklist for Product Owner
Conformance Checklist for Product Owner
 

Recently uploaded

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 

Recently uploaded (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

Software Testing Metrics

  • 2. Agenda • Considerations • Importance of Test Metrics • Test Metrics – Manual Testing • Test Metrics – Automation Testing • Test Metrics – Performance Testing • Common Metrics For All Types Of Testing
  • 3. Considerations • For managers, test metrics are key to improvising software projects as well as ensuring that progress remains on schedule. • To understand test metrics manager should have extensive experience in managing software testing projects • Manager should have worked in SDLC, water fall model projects • Data for metrics should be tracked manually or through test management tools • From test planning to go-live phase data needs to be captured for metrics
  • 4. Importance of Test Metrics A software metric is a standard of measure of a degree to which a software system or process possesses some property. Test managers can identify risk areas, improvement opportunities, testing status and testing effectiveness QA teams are beginning to rely more on historical data and reports to handle various issues as well as to show which areas of software projects can be improved. "The final judgment and decision-making should be driven by analysis and not only data. Metric s) assist in decision-making, but do not substitute it.” Famous phrase - “You can’t manage what you don’t measure,” By Edward Deming
  • 5. Test Metrics – Manual Testing • Test Design Coverage Formula - (Number of testable requirements covered by test cases created / Number of testable system requirements planned to be covered) • Test Execution Coverage Formula: (Number of testable requirements covered by test cases executed / Number of testable system requirements planned to be covered) • Test case density Formula: Number of test cases per unit size of system tested - (A test case is defined as a simple test case with upto 10 steps) • Test design completion Formula: (Number of test cases created / Number of planned test cases) * 100
  • 6. Test Metrics – Manual Testing • Test execution completion Formula: (Number of test cases executed / Number of test cases planned for execution) * 100 • Productivity - Test Design Formula: (Number of test cases designed / Test design effort in person days) • Productivity - Test Execution- Formula: (Number of test cases executed / Test execution effort in person days) • Test Effectiveness Formula: Percentage of defects found in testing done by Team with respect to total number of defects raised in subsequent test phases and mutually agreed period in production
  • 7. Test Metrics – Manual Testing • Invalid defects Formula: Percentage of defects rejected with respect to total number of defects raised • Defect Density Formula: Valid defects per unit size of the software (Unit size of software could be requirements, use case, screen, line of code)
  • 8. Test Metrics – Automation Testing • Return Of Investment (ROI) of Automation Formula: (Gain + Investment) / Investment Investment = (a) + (b) + (c) + (d) + (e) Gain = [(g) * (h) * Period of ROI] / 8 (a) Automated test script development time = (Hourly automation time per test * Number of automated test cases) / 8 (b) Automated test script execution time = (Automated test execution time per test * Number of automated test cases * Period of ROI) / 18 (c) Automated test analysis time = (Test Analysis time * Period of ROI) / 8 (d) Automated test maintenance time = (Maintenance time * Period of ROI) / 8 (e) Manual Execution Time = (Manual test execution time * Number of manual test cases * Period of ROI) / 8 (g) Manual test execution time or analysis time (h) Total number of test cases (automated + manual) Period of ROI is the number of weeks for which ROI is to be calculated. Divided by 8 is done wherever manual effort is needed. Divided by 18 is done wherever automation is done.
  • 9. Test Metrics – Automation Testing • Percentage of reusable scripts in new enhancements Formula: (Number of reusable scripts used / Total number of new functionality created) • Percentage of defects in test scripts per automated test case Formula: (Number of defects found in automated scripts / Number of automated test cases)*100 • Automatability achieved Formula: Number of automation test cases run in a delivery cycle / Total test cases selected for a delivery cycle • Automation achieved per test case Formula: Number of test steps automated for a test case / Total number of test steps for test case
  • 10. Test Metrics – Automation Testing • Percent of automation achieved in Regression Formula: Number test cases automated in regression test pack / Total number of regression test cases available for automation
  • 11. Test Metrics – Performance Testing • Performance Execution Data - Client Side This metric gives the detail information of Client side data for execution. Following are some of the data points of this metric - 1. Running Users 2. Response Time 3. Hits per Second 4. Throughput 5. Total Transaction per second 6. Time to first byte 7. Error per second
  • 12. Test Metrics – Performance Testing • Performance Execution Data - Server Side This metric gives the detail information of Server side date for execution. Following are some of the data points of this metric - 1. CPU Utilization 2. Memory Utilization 3. HEAP Memory Utilization 4. Database connections per second • Product Quality Formula: (Number of defects in performance test scripts found during expert reviews / Number of performance test cases created) * 100 • Throughput Formula: (Number of performance test cases designed / Performance Test design effort in persons days or hours)
  • 13. Test Metrics – Performance Testing • Effectiveness of Verification Formula: (Number of defects found in performance testing done by Team / Total Number of defects found in performance testing done by team and subsequent test phases and mutually agreed period in production or other environment) * 100
  • 14. • Effort Variance (EV) Formula: [(Actual effort - Estimated effort) / Estimated efforts ] * 100 • Schedule Variance (SV) Formula: [(Actual number of days - Estimated number of days) / Estimated number of days] * 100 • Scope Change Formula: [(Total scope - Previous scope) / Previous scope] * 100 Common Metrics For All Types Of Testing
  • 15. Thank You! For any queries connect me at jatinkochhar@hotmail.com