SlideShare a Scribd company logo
Metrics Used in Testing<br />The Product Quality Measures:<br />1. Customer satisfaction index<br />This index is surveyed before product delivery and after product delivery <br />(and on-going on a periodic basis, using standard questionnaires).The following are analyzed:<br />    * Number of system enhancement requests per year<br />    * Number of maintenance fix requests per year<br />    * User friendliness: call volume to customer service hotline<br />    * User friendliness: training time per new user<br />    * Number of product recalls or fix releases (software vendors)<br />    * Number of production re-runs (in-house information systems groups)<br />2. Delivered defect quantities<br />They are normalized per function point (or per LOC) at product delivery (first 3 months or first year of operation) or Ongoing (per year of operation) by level of severity, by category or cause, e.g.: requirements defect, design defect, code defect, documentation/on-line help defect, defect introduced by fixes, etc.<br />3. Responsiveness (turnaround time) to users<br />  * Turnaround time for defect fixes, by level of severity<br />  * Time for minor vs. major enhancements; actual vs. planned elapsed time<br />4. Product volatility<br /> * Ratio of maintenance fixes (to repair the system & bring it into compliance with specifications), vs. enhancement requests (requests by users to enhance or change functionality)<br />5. Defect ratios<br />   * Defects found after product delivery per function point.<br />    * Defects found after product delivery per LOC<br />    * Pre-delivery defects: annual post-delivery defects<br />    * Defects per function point of the system modifications<br />6. Defect removal efficiency<br />    * Number of post-release defects (found by clients in field operation), categorized by level of severity<br />    * Ratio of defects found internally prior to release (via inspections and testing), as a percentage of all defects<br />    * All defects include defects found internally plus externally (by customers) in the first year after product delivery<br />7. Complexity of delivered product<br />    * McCabe's cyclomatic complexity counts across the system<br />    * Halstead’s measure<br />    * Card's design complexity measures<br />    * Predicted defects and maintenance costs, based on complexity measures<br />8. Test coverage<br />    * Breadth of functional coverage<br />    * Percentage of paths, branches or conditions that were actually tested<br />    * Percentage by criticality level: perceived level of risk of paths<br />    * The ratio of the number of detected faults to the number of predicted faults.<br />9. Cost of defects<br />    * Business losses per defect that occurs during operation<br />    * Business interruption costs; costs of work-arounds<br />    * Lost sales and lost goodwill<br />    * Litigation costs resulting from defects<br />    * Annual maintenance cost (per function point)<br />    * Annual operating cost (per function point)<br />    * Measurable damage to your boss's career<br />10. Costs of quality activities<br />    * Costs of reviews, inspections and preventive measures<br />    * Costs of test planning and preparation<br />    * Costs of test execution, defect tracking, version and change control<br />    * Costs of diagnostics, debugging and fixing<br />    * Costs of tools and tool support<br />    * Costs of test case library maintenance<br />    * Costs of testing & QA education associated with the product<br />    * Costs of monitoring and oversight by the QA organization (if separate from the development and test organizations)<br />11. Re-work<br />    * Re-work effort (hours, as a percentage of the original coding hours)<br />    * Re-worked LOC (source lines of code, as a percentage of the total delivered LOC)<br />    * Re-worked software components (as a percentage of the total delivered components)<br />12. Reliability<br />    * Availability (percentage of time a system is available, versus the time the system is needed to be    available)<br />    * Mean time between failure (MTBF).<br />    * Man time to repair (MTTR)<br />    * Reliability ratio (MTBF / MTTR)<br />    * Number of product recalls or fix releases<br />    * Number of production re-runs as a ratio of production runs<br />Metrics for Evaluating Application System Testing:<br />Metric = Formula<br />Test Coverage = Number of units (KLOC/FP) tested / total size of the system. (LOC represents Lines of Code)<br />Number of tests per unit size = Number of test cases per KLOC/FP (LOC represents Lines of Code).<br />Acceptance criteria tested = Acceptance criteria tested / total acceptance criteria<br />Defects per size = Defects detected / system size<br />Test cost (in %) = Cost of testing / total cost *100<br />Cost to locate defect = Cost of testing / the number of defects located<br />Achieving Budget = Actual cost of testing / Budgeted cost of testing<br />Defects detected in testing = Defects detected in testing / total system defects<br />Defects detected in production = Defects detected in production/system size<br />Quality of Testing = No of defects found during Testing/(No of defects found during testing + No of acceptance defects found after delivery) *100<br />Effectiveness of testing to business = Loss due to problems / total resources processed by the system.<br />System complaints = Number of third party complaints / number of transactions processed<br />Scale of Ten = Assessment of testing by giving rating in scale of 1 to 10<br />Source Code Analysis = Number of source code statements changed / total number of tests.<br />Effort Productivity = Test Planning Productivity = No of Test cases designed / Actual Effort for Design and Documentation<br />Test Execution Productivity = No of Test cycles executed / Actual Effort for testing<br />
Metrics used in testing
Metrics used in testing
Metrics used in testing

More Related Content

PPTX
Software testing metrics
PPTX
Software Test Metrics and Measurements
PPT
Metrics for manual testing
DOC
Metrics formulas
PDF
Testing metrics
PPTX
Software testing metrics | David Tzemach
PPT
Test Metrics
PDF
Software Testing - Defect Metrics & Analysis
Software testing metrics
Software Test Metrics and Measurements
Metrics for manual testing
Metrics formulas
Testing metrics
Software testing metrics | David Tzemach
Test Metrics
Software Testing - Defect Metrics & Analysis

What's hot (20)

PDF
Test performance indicators
PPTX
Test planning
PPT
Testing Metrics
PPTX
Testing strategies
PDF
PPTX
Test Planning and Test Estimation Techniques
PPT
Rob Baarda - Are Real Test Metrics Predictive for the Future?
PPTX
Risk based testing and random testing
PPTX
Software Testing Metrics
PPT
Edwin Van Loon - Exploitation Testing revised
PPTX
T19 performance testing effort - estimation or guesstimation revised
PDF
Measurement and Metrics for Test Managers
PPT
'Automated Reliability Testing via Hardware Interfaces' by Bryan Bakker
PPT
Software Testing Process
PDF
Approaches to Software Testing
PDF
Software metrics
PPT
Test process
PPT
ISTQB / ISEB Foundation Exam Practice - 2
PPT
Software test management overview for managers
Test performance indicators
Test planning
Testing Metrics
Testing strategies
Test Planning and Test Estimation Techniques
Rob Baarda - Are Real Test Metrics Predictive for the Future?
Risk based testing and random testing
Software Testing Metrics
Edwin Van Loon - Exploitation Testing revised
T19 performance testing effort - estimation or guesstimation revised
Measurement and Metrics for Test Managers
'Automated Reliability Testing via Hardware Interfaces' by Bryan Bakker
Software Testing Process
Approaches to Software Testing
Software metrics
Test process
ISTQB / ISEB Foundation Exam Practice - 2
Software test management overview for managers
Ad

Viewers also liked (20)

PDF
ADOBE CERTIFIED RIA ARCHITECT/FLEX DEVELOPER
DOC
John Thoman resume V4
DOCX
Noemi resume 1-2016
DOCX
Jeri L. Keck -New 100515
DOCX
#abw.CV$ -1(Autosaved)
DOCX
Tina's resume (1)
DOCX
County of San Diego
PDF
MARWAN_FARRAG_ARCHITECT_SITE ENGINEER_CV_KSA
PDF
cv-portfolio 10-10-2015
PDF
Norm Penner
DOCX
Marc Rostkowski_MAY_13.MDR.2015
PDF
Luke Spinner Tidball - Resume
PDF
Mark C Clayton
PDF
Wamp & LAMP - Installation and Configuration
PDF
DOCX
Etica kantiana
PDF
Tombleson Hilary 2016 Resume
PDF
CV - Nader Nehme
PDF
Cisco web ex-cs-0511-final
ADOBE CERTIFIED RIA ARCHITECT/FLEX DEVELOPER
John Thoman resume V4
Noemi resume 1-2016
Jeri L. Keck -New 100515
#abw.CV$ -1(Autosaved)
Tina's resume (1)
County of San Diego
MARWAN_FARRAG_ARCHITECT_SITE ENGINEER_CV_KSA
cv-portfolio 10-10-2015
Norm Penner
Marc Rostkowski_MAY_13.MDR.2015
Luke Spinner Tidball - Resume
Mark C Clayton
Wamp & LAMP - Installation and Configuration
Etica kantiana
Tombleson Hilary 2016 Resume
CV - Nader Nehme
Cisco web ex-cs-0511-final
Ad

Similar to Metrics used in testing (20)

PPT
Sw quality metrics
PPTX
SE-Lecture-7.pptx
PPT
Cs 568 Spring 10 Lecture 5 Estimation
PDF
How to (Effectively) Measure Quality across Software Deliverables
PPTX
Software engineering 14 software quality metrics
PPT
Product Quality: Metrics, Verification, Validation, Testing
PDF
IJSRED-V2I4P8
PDF
A study on quality parameters of software and the metrics for evaluation
PDF
A study on quality parameters of software and the metrics
PDF
A study on quality parameters of software and the metrics
PDF
A study on quality parameters of software and the metrics
PDF
A study on quality parameters of software and the metrics
PDF
Software metrics by Dr. B. J. Mohite
PPTX
Quality in software industry
PPT
Key Measurements For Testers
PPT
Verifcation &amp;validation
PPTX
Testing and quality romi
PPTX
fundamentals of testing
PDF
Software Defects and SW Reliability Assessment
PDF
Reading Summary - Effective Software Defect Tracking + Pragmatic Unit Testing
Sw quality metrics
SE-Lecture-7.pptx
Cs 568 Spring 10 Lecture 5 Estimation
How to (Effectively) Measure Quality across Software Deliverables
Software engineering 14 software quality metrics
Product Quality: Metrics, Verification, Validation, Testing
IJSRED-V2I4P8
A study on quality parameters of software and the metrics for evaluation
A study on quality parameters of software and the metrics
A study on quality parameters of software and the metrics
A study on quality parameters of software and the metrics
A study on quality parameters of software and the metrics
Software metrics by Dr. B. J. Mohite
Quality in software industry
Key Measurements For Testers
Verifcation &amp;validation
Testing and quality romi
fundamentals of testing
Software Defects and SW Reliability Assessment
Reading Summary - Effective Software Defect Tracking + Pragmatic Unit Testing

Recently uploaded (20)

PDF
kom-180-proposal-for-a-directive-amending-directive-2014-45-eu-and-directive-...
PPT
Data mining for business intelligence ch04 sharda
PDF
Nidhal Samdaie CV - International Business Consultant
PPTX
Amazon (Business Studies) management studies
PPTX
Lecture (1)-Introduction.pptx business communication
PPT
Chapter four Project-Preparation material
PDF
Reconciliation AND MEMORANDUM RECONCILATION
PDF
Outsourced Audit & Assurance in USA Why Globus Finanza is Your Trusted Choice
PDF
20250805_A. Stotz All Weather Strategy - Performance review July 2025.pdf
PDF
Elevate Cleaning Efficiency Using Tallfly Hair Remover Roller Factory Expertise
PPTX
CkgxkgxydkydyldylydlydyldlyddolydyoyyU2.pptx
PDF
BsN 7th Sem Course GridNNNNNNNN CCN.pdf
PDF
SIMNET Inc – 2023’s Most Trusted IT Services & Solution Provider
PPTX
Dragon_Fruit_Cultivation_in Nepal ppt.pptx
PPTX
job Avenue by vinith.pptxvnbvnvnvbnvbnbmnbmbh
DOCX
unit 1 COST ACCOUNTING AND COST SHEET
DOCX
unit 2 cost accounting- Tender and Quotation & Reconciliation Statement
PDF
COST SHEET- Tender and Quotation unit 2.pdf
PDF
Business model innovation report 2022.pdf
PPTX
HR Introduction Slide (1).pptx on hr intro
kom-180-proposal-for-a-directive-amending-directive-2014-45-eu-and-directive-...
Data mining for business intelligence ch04 sharda
Nidhal Samdaie CV - International Business Consultant
Amazon (Business Studies) management studies
Lecture (1)-Introduction.pptx business communication
Chapter four Project-Preparation material
Reconciliation AND MEMORANDUM RECONCILATION
Outsourced Audit & Assurance in USA Why Globus Finanza is Your Trusted Choice
20250805_A. Stotz All Weather Strategy - Performance review July 2025.pdf
Elevate Cleaning Efficiency Using Tallfly Hair Remover Roller Factory Expertise
CkgxkgxydkydyldylydlydyldlyddolydyoyyU2.pptx
BsN 7th Sem Course GridNNNNNNNN CCN.pdf
SIMNET Inc – 2023’s Most Trusted IT Services & Solution Provider
Dragon_Fruit_Cultivation_in Nepal ppt.pptx
job Avenue by vinith.pptxvnbvnvnvbnvbnbmnbmbh
unit 1 COST ACCOUNTING AND COST SHEET
unit 2 cost accounting- Tender and Quotation & Reconciliation Statement
COST SHEET- Tender and Quotation unit 2.pdf
Business model innovation report 2022.pdf
HR Introduction Slide (1).pptx on hr intro

Metrics used in testing

  • 1. Metrics Used in Testing<br />The Product Quality Measures:<br />1. Customer satisfaction index<br />This index is surveyed before product delivery and after product delivery <br />(and on-going on a periodic basis, using standard questionnaires).The following are analyzed:<br /> * Number of system enhancement requests per year<br /> * Number of maintenance fix requests per year<br /> * User friendliness: call volume to customer service hotline<br /> * User friendliness: training time per new user<br /> * Number of product recalls or fix releases (software vendors)<br /> * Number of production re-runs (in-house information systems groups)<br />2. Delivered defect quantities<br />They are normalized per function point (or per LOC) at product delivery (first 3 months or first year of operation) or Ongoing (per year of operation) by level of severity, by category or cause, e.g.: requirements defect, design defect, code defect, documentation/on-line help defect, defect introduced by fixes, etc.<br />3. Responsiveness (turnaround time) to users<br /> * Turnaround time for defect fixes, by level of severity<br /> * Time for minor vs. major enhancements; actual vs. planned elapsed time<br />4. Product volatility<br /> * Ratio of maintenance fixes (to repair the system & bring it into compliance with specifications), vs. enhancement requests (requests by users to enhance or change functionality)<br />5. Defect ratios<br /> * Defects found after product delivery per function point.<br /> * Defects found after product delivery per LOC<br /> * Pre-delivery defects: annual post-delivery defects<br /> * Defects per function point of the system modifications<br />6. Defect removal efficiency<br /> * Number of post-release defects (found by clients in field operation), categorized by level of severity<br /> * Ratio of defects found internally prior to release (via inspections and testing), as a percentage of all defects<br /> * All defects include defects found internally plus externally (by customers) in the first year after product delivery<br />7. Complexity of delivered product<br /> * McCabe's cyclomatic complexity counts across the system<br /> * Halstead’s measure<br /> * Card's design complexity measures<br /> * Predicted defects and maintenance costs, based on complexity measures<br />8. Test coverage<br /> * Breadth of functional coverage<br /> * Percentage of paths, branches or conditions that were actually tested<br /> * Percentage by criticality level: perceived level of risk of paths<br /> * The ratio of the number of detected faults to the number of predicted faults.<br />9. Cost of defects<br /> * Business losses per defect that occurs during operation<br /> * Business interruption costs; costs of work-arounds<br /> * Lost sales and lost goodwill<br /> * Litigation costs resulting from defects<br /> * Annual maintenance cost (per function point)<br /> * Annual operating cost (per function point)<br /> * Measurable damage to your boss's career<br />10. Costs of quality activities<br /> * Costs of reviews, inspections and preventive measures<br /> * Costs of test planning and preparation<br /> * Costs of test execution, defect tracking, version and change control<br /> * Costs of diagnostics, debugging and fixing<br /> * Costs of tools and tool support<br /> * Costs of test case library maintenance<br /> * Costs of testing & QA education associated with the product<br /> * Costs of monitoring and oversight by the QA organization (if separate from the development and test organizations)<br />11. Re-work<br /> * Re-work effort (hours, as a percentage of the original coding hours)<br /> * Re-worked LOC (source lines of code, as a percentage of the total delivered LOC)<br /> * Re-worked software components (as a percentage of the total delivered components)<br />12. Reliability<br /> * Availability (percentage of time a system is available, versus the time the system is needed to be available)<br /> * Mean time between failure (MTBF).<br /> * Man time to repair (MTTR)<br /> * Reliability ratio (MTBF / MTTR)<br /> * Number of product recalls or fix releases<br /> * Number of production re-runs as a ratio of production runs<br />Metrics for Evaluating Application System Testing:<br />Metric = Formula<br />Test Coverage = Number of units (KLOC/FP) tested / total size of the system. (LOC represents Lines of Code)<br />Number of tests per unit size = Number of test cases per KLOC/FP (LOC represents Lines of Code).<br />Acceptance criteria tested = Acceptance criteria tested / total acceptance criteria<br />Defects per size = Defects detected / system size<br />Test cost (in %) = Cost of testing / total cost *100<br />Cost to locate defect = Cost of testing / the number of defects located<br />Achieving Budget = Actual cost of testing / Budgeted cost of testing<br />Defects detected in testing = Defects detected in testing / total system defects<br />Defects detected in production = Defects detected in production/system size<br />Quality of Testing = No of defects found during Testing/(No of defects found during testing + No of acceptance defects found after delivery) *100<br />Effectiveness of testing to business = Loss due to problems / total resources processed by the system.<br />System complaints = Number of third party complaints / number of transactions processed<br />Scale of Ten = Assessment of testing by giving rating in scale of 1 to 10<br />Source Code Analysis = Number of source code statements changed / total number of tests.<br />Effort Productivity = Test Planning Productivity = No of Test cases designed / Actual Effort for Design and Documentation<br />Test Execution Productivity = No of Test cycles executed / Actual Effort for testing<br />