Metric refers to measurement. A test metric is a measurement criteria by which we can analyse the test process in quantifiable terms. Test metrics are essential in evaluating the quality of a software project in terms of its cost and effectiveness. Metrics are applicable in all fields - electronics, manufacturing etc. There are various techniques for calculating the output that helps us to validate the results as per the expectations. Software testing metrics offer ways to predict the effectiveness of the testing process.
There are various types of metrics which serve a purpose. Few of the metrics are :
Defining parameters is a good way to analyse and map the progress of the project with the requirements. Different metrics have their own defined pattern of analysis, therefore wise selection of metrics is an important decision. Using metrics in software testing is an efficient way to track defect analysis and its detection.