Site icon Tutorial

Software Testing Metrics

Go back to Tutorial

Software testing metrics, which are also known as software test measurement, indicates the extent, amount, dimension, capacity, as well as the rise of various attributes of a software process and tries to improve its effectiveness and efficiency imminently. Software testing metrics are the best way of measuring and monitoring the various testing activities performed by the team of testers during the software testing life cycle. Moreover, it helps convey the result of a prediction related to a combination of data. Hence, the various software testing metrics used by software engineers around the world are:

Defect Density = Defect Count/Size of the Release/Module

Defect Leakage = (Total Number of Defects Found in UAT/ Total Number of Defects Found Before UAT) x 100

DRE = Number of defects resolved by the development team/ (Total number of defects at the moment of measurement)

Defect Category = Defects belonging to a particular category/ Total number of defects.

Defect Severity Index (DSI) = Sum of (Defect * Severity Level) / Total number of defects

Review Efficiency (RE) = Total number of review defects / (Total number of review defects + Total number of testing defects) x 100

Test Case Effectiveness = (Number of defects detected / Number of test cases run) x 100

Test Case Productivity = (Number of Test Cases / Efforts Spent for Test Case Preparation)

Test Coverage = Number of detected faults/number of predicted defects.

Requirement Coverage = (Number of requirements covered / Total number of requirements) x 100

Test Design Coverage = (Total number of requirements mapped to test cases / Total number of requirements) x 100

Test Execution Coverage = (Total number of executed test cases or scripts / Total number of test cases or scripts planned to be executed) x 100

(Number of passed tests / Total number of tests executed) x 100

(Number of failed tests / Total number of test cases failed) x 100

(Number of blocked tests / Total number of tests executed) x 100

(Defect fixed / Total number of defects reported) x 100

(Defects accepted as valid / Total defect reported) x 100

(Number of defects rejected by the development team / total defects reported) x 100

(Defects deferred for future releases / Total defects reported) x 100

(Critical defects / Total defects reported) x 100

(Total time taken for bug fixes / Number of bugs)

(Total number of defects / Total number of test hours)Number of Bugs Per Test: As suggested by the name, the focus here is to measure the number of defects found during every testing stage.

(Total number of defects / Total number of tests)

Test Effectiveness (TEF) = (Total number of defects injected + Total number of defects found / Total number of defect escaped) x 100

 

Go back to Tutorial

Exit mobile version