{"id":2811,"date":"2020-04-05T14:57:16","date_gmt":"2020-04-05T14:57:16","guid":{"rendered":"https:\/\/codoid.com\/software-testing-metrics\/"},"modified":"2023-02-23T08:12:38","modified_gmt":"2023-02-23T08:12:38","slug":"software-testing-metrics","status":"publish","type":"post","link":"https:\/\/codoid.com\/software-testing\/software-testing-metrics\/","title":{"rendered":"Software Testing Metrics"},"content":{"rendered":"<p>Welcome to Codoid blogs once again, in this blog we are going to see about software testing metrics. Below are the topics we will cover in this blog.<\/p>\n<p><i class=\"fa fa-angle-double-right\" aria-hidden=\"true\"><\/i> What is a Metric<\/p>\n<p><i class=\"fa fa-angle-double-right\" aria-hidden=\"true\"><\/i> Why Metric is required<\/p>\n<p><i class=\"fa fa-angle-double-right\" aria-hidden=\"true\"><\/i> Types of Metrics in Testing<\/p>\n<p><i class=\"fa fa-angle-double-right\" aria-hidden=\"true\"><\/i> Testing Metrics in Detail<\/p>\n<p><strong>What is a Metric<\/strong><\/p>\n<p>As per standard definition, A Metric is a quantifiable measure to track the progress of certain areas which we want to constantly monitor and report.<\/p>\n<p>Metric is used to predict something which we wanted to measure and we can <a href=\"https:\/\/codoid.com\/tips-for-enhanced-performance-engineering\/\">set a benchmark for it<\/a> so that we can compare it with a certain interval of time. Example) Speed which we travel can be a metric and we can keep a benchmark as 48 kmph. We can constantly measure every day or every week and we can compare against our benchmark.<\/p>\n<p><strong>Why Metric is required:<\/strong><\/p>\n<p>1. Metric will help us to give us a prediction on how are we performing.<\/p>\n<p>2. It gives us direction on how we perform release after release to ensure we are constantly improving. If there is a decline in performance, we can take corrective steps to improve that particular factor<\/p>\n<p>3. It helps us to uncover potential risks in our project. <\/p>\n<p>(Example, We are targeting to go live on a date assuming 10 days of Test Execution with 20 TC \/ Day productivity, Let\u2019s assume for consecutive 5 days productivity is only 10 TC \/ Day, this could eventually delay our execution by 5 more days and will delay the release. It is a potential risk to the project. On tracking this execution productivity on a day to day basis during execution timeline, will tap the project in our control, we could take action on 2nd day itself and keep the project on track.)<\/p>\n<p>4. <b>Improves the Test Coverage<\/b> and <b>Automation coverage<\/b>.<\/p>\n<p>5. It helps in continuous process improvement, once we become mature in a way of tracking, we could add a few more metrics and helps in coming up with continuous improvement in our project delivery.<\/p>\n<p>6. It helps to plan for release in a better way. As with each and every release, if we track metrics, we could use predictions and with the lessons learned from previous releases, we can come up with better planning.<\/p>\n<p>7. It overall improves the Cost, Quality and Time in delivering the project.<\/p>\n<p><strong>Types of Metrics in Testing<\/strong><\/p>\n<p>Based on the <a href=\"https:\/\/www.scribd.com\/document\/435980278\/STLC-Software-Testing-Life-Cycle-Phases-Entry-Exit-Criteria\" target=\"_blank\" rel=\"noopener noreferrer\">STLC phases<\/a>, we can define metrics for each phase of Testing. Let us see them in detail in this section.<br \/>\nSTLC Phases are:<\/p>\n<p><i class=\"fa fa-check\" aria-hidden=\"true\"><\/i> Requirement Analysis<\/p>\n<p><i class=\"fa fa-check\" aria-hidden=\"true\"><\/i> Test Planning<\/p>\n<p><i class=\"fa fa-check\" aria-hidden=\"true\"><\/i> Test Design<\/p>\n<p><i class=\"fa fa-check\" aria-hidden=\"true\"><\/i> Test Execution<\/p>\n<p><i class=\"fa fa-check\" aria-hidden=\"true\"><\/i> Test Closure<\/p>\n<p>And for each of these phases we have multiple metrics to track.<\/p>\n<p><strong>Testing Metrics in Detail<\/strong><\/p>\n<p><strong> Requirement Analysis<\/strong><\/p>\n<p><b> Requirement Quality:<\/b><\/p>\n<p> Requirement Quality defines the correctness\/accuracy of the requirement.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"582\" height=\"98\" src=\"https:\/\/codoid.com\/wp-content\/uploads\/2020\/04\/Requirement-Quality.png\" class=\"image wp-image-18468  attachment-full size-full\" alt=\"Requirement Quality - Testing Metrics\" style=\"max-width: 100%; height: auto;\" \/><\/p>\n<p>IRQ \u2013 is the quality of Individual requirements which signifies whether <b>the requirement is valid (value 1) or invalid (value 0)<\/b>. It can be measured in percentage as well.<\/p>\n<p><b>Correctness of Requirement:<\/b><\/p>\n<p>This metrics helps us to determine if the requirement is correct\/valid\/is not a duplicate.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"593\" height=\"95\" src=\"https:\/\/codoid.com\/wp-content\/uploads\/2020\/04\/Requirement-Correctness-Testing-Metrics.png\" class=\"image wp-image-18469  attachment-full size-full\" alt=\"Requirement Correctness - Testing Metrics\" style=\"max-width: 100%; height: auto;\" \/><\/p>\n<p> IRC will be 1, if it is a valid requirement, else it will be 0<\/p>\n<p><b>Requirement Creep:<\/b><\/p>\n<p>This metric helps to understand how much percentage of requirements added post requirement gathering phase.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"631\" height=\"98\" src=\"https:\/\/codoid.com\/wp-content\/uploads\/2020\/04\/Requirement-Creep-Testing-Metrics.png\" class=\"image wp-image-18470  attachment-full size-full\" alt=\"Requirement Creep - Testing Metrics\" style=\"max-width: 100%; height: auto;\" \/><\/p>\n<p><strong>Test Planning<\/strong><\/p>\n<p>Metrics in Test Planning is used to arrive at how effective testing is carried out. We track and tap the control of the project by taking various measurements during <b>Test Design and Test Execution activities<\/b>. Below are the few measurement criteria that help in the effective Test Planning<\/p>\n<p><i class=\"fa fa-thumbs-o-up\" aria-hidden=\"true\"><\/i> Resource Requirement Vs Fulfilment<\/p>\n<p><i class=\"fa fa-thumbs-o-up\" aria-hidden=\"true\"><\/i> Effort burnt VS Progress<\/p>\n<p><i class=\"fa fa-thumbs-o-up\" aria-hidden=\"true\"><\/i> Cost Spent Vs Work Done<\/p>\n<p><i class=\"fa fa-thumbs-o-up\" aria-hidden=\"true\"><\/i> Cost Spent Vs Requirement Coverage<\/p>\n<p><i class=\"fa fa-thumbs-o-up\" aria-hidden=\"true\"><\/i> Overhead Cost<\/p>\n<p><i class=\"fa fa-thumbs-o-up\" aria-hidden=\"true\"><\/i> Team productivity<\/p>\n<p><strong>Test Design<\/strong><\/p>\n<p>Test design is the most important phase in <a href=\"https:\/\/codoid.com\/software-testing-company\/\">Software Testing<\/a>. There are a lot of metrics that can be generated in Test Design phase and will be useful to management for tracking purpose.<\/p>\n<p>Some of the Metrics with formula are given below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"785\" height=\"297\" src=\"https:\/\/codoid.com\/wp-content\/uploads\/2020\/04\/Test-Design-Testing-Metrics-1.png\" class=\"image wp-image-18533  attachment-full size-full\" alt=\"Test Design - Testing Metrics\" style=\"max-width: 100%; height: auto;\" \/><\/p>\n<p><strong>Test Execution<\/strong><\/p>\n<p>Below are few standard metrics used in Test Execution phase:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"639\" height=\"594\" src=\"https:\/\/codoid.com\/wp-content\/uploads\/2020\/04\/Test-Execution-1-Testing-Metrics.png\" class=\"image wp-image-18495  attachment-full size-full\" alt=\"Test Execution 1 - Testing Metrics\" style=\"max-width: 100%; height: auto;\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"630\" height=\"280\" src=\"https:\/\/codoid.com\/wp-content\/uploads\/2020\/04\/Test-Execution-2-Testing-Metrics.png\" class=\"image wp-image-18496  attachment-full size-full\" alt=\"Test Execution 2 - Testing Metrics\" style=\"max-width: 100%; height: auto;\" \/><\/p>\n<p><strong>Test Closure:<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"611\" height=\"266\" src=\"https:\/\/codoid.com\/wp-content\/uploads\/2020\/04\/Test-Closure-Testing-Metrics.png\" class=\"image wp-image-18479  attachment-full size-full\" alt=\"Test Closure - Testing Metrics\" style=\"max-width: 100%; height: auto;\" \/><\/p>\n<p>Defects by priority and severity will be tracked as a part of Test closure report<\/p>\n<div class=\"grayBoxElement\">\n<h6>Related Blogs<\/h6>\n<p><a href=\"https:\/\/codoid.com\/software-testing\/the-basics-of-software-quality-attributes\/\"><span>The Basics of Software Quality Attributes<\/span><\/a><\/p>\n<\/div>\n<p><strong>Conclusion:<\/strong><\/p>\n<p>Testing Metrics are helping us to track our progress and improve our delivery quality in a better way. There are so many metrics available to track the progress and Test Management tools nowadays are better equipped with various features to track these metrics and it also has various customization mechanism to track custom metrics rather than following standard metrics, we should first finalize KPI and Metrics for our measuring the performance and utilize these tools features to satisfy our requirement.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Welcome to Codoid blogs once again, in this blog we are going to see about software testing metrics. Below are the topics we will cover in this blog. What is a Metric Why Metric is required Types of Metrics in Testing Testing Metrics in Detail What is a Metric As per standard definition, A Metric [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5434,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[181,179,20],"tags":[],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.3 (Yoast SEO v20.3) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Software Testing Metrics - Codoid<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Software Testing Metrics\" \/>\n<meta property=\"og:description\" content=\"Welcome to Codoid blogs once again, in this blog we are going to see about software testing metrics. Below are the topics we will cover in this blog. What is a Metric Why Metric is required Types of Metrics in Testing Testing Metrics in Detail What is a Metric As per standard definition, A Metric [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codoid.com\/learn\/software-testing\/software-testing-metrics\/\" \/>\n<meta property=\"og:site_name\" content=\"Codoid\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/codoid.softwaretestingcompany\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-05T14:57:16+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-02-23T08:12:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codoid.com\/wp-content\/uploads\/2020\/04\/Software_Testing_Metrics_Blog.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"800\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@codoid\" \/>\n<meta name=\"twitter:site\" content=\"@codoid\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Software Testing Metrics - Codoid","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Software Testing Metrics","og_description":"Welcome to Codoid blogs once again, in this blog we are going to see about software testing metrics. Below are the topics we will cover in this blog. What is a Metric Why Metric is required Types of Metrics in Testing Testing Metrics in Detail What is a Metric As per standard definition, A Metric [&hellip;]","og_url":"https:\/\/codoid.com\/learn\/software-testing\/software-testing-metrics\/","og_site_name":"Codoid","article_publisher":"https:\/\/www.facebook.com\/codoid.softwaretestingcompany","article_published_time":"2020-04-05T14:57:16+00:00","article_modified_time":"2023-02-23T08:12:38+00:00","og_image":[{"width":1200,"height":800,"url":"https:\/\/codoid.com\/wp-content\/uploads\/2020\/04\/Software_Testing_Metrics_Blog.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@codoid","twitter_site":"@codoid","twitter_misc":{"Written by":"admin","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codoid.com\/learn\/software-testing\/software-testing-metrics\/#article","isPartOf":{"@id":"https:\/\/codoid.com\/learn\/software-testing\/software-testing-metrics\/"},"author":{"name":"admin","@id":"https:\/\/codoid.com\/#\/schema\/person\/360ee1d38151acb7c746787fbfa8e586"},"headline":"Software Testing Metrics","datePublished":"2020-04-05T14:57:16+00:00","dateModified":"2023-02-23T08:12:38+00:00","mainEntityOfPage":{"@id":"https:\/\/codoid.com\/learn\/software-testing\/software-testing-metrics\/"},"wordCount":761,"commentCount":0,"publisher":{"@id":"https:\/\/codoid.com\/#organization"},"articleSection":["Software Testing","Fixed","Blog"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codoid.com\/learn\/software-testing\/software-testing-metrics\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codoid.com\/learn\/software-testing\/software-testing-metrics\/","url":"https:\/\/codoid.com\/learn\/software-testing\/software-testing-metrics\/","name":"Software Testing Metrics - Codoid","isPartOf":{"@id":"https:\/\/codoid.com\/#website"},"datePublished":"2020-04-05T14:57:16+00:00","dateModified":"2023-02-23T08:12:38+00:00","breadcrumb":{"@id":"https:\/\/codoid.com\/learn\/software-testing\/software-testing-metrics\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codoid.com\/learn\/software-testing\/software-testing-metrics\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/codoid.com\/learn\/software-testing\/software-testing-metrics\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codoid.com\/"},{"@type":"ListItem","position":2,"name":"Software Testing Metrics"}]},{"@type":"WebSite","@id":"https:\/\/codoid.com\/#website","url":"https:\/\/codoid.com\/","name":"Codoid","description":"","publisher":{"@id":"https:\/\/codoid.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codoid.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/codoid.com\/#organization","name":"Codoid - Software Testing Company","url":"https:\/\/codoid.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codoid.com\/#\/schema\/logo\/image\/","url":"https:\/\/codoid.com\/wp-content\/uploads\/2020\/09\/Codoid_Software_Testing_Company_Logo.png","contentUrl":"https:\/\/codoid.com\/wp-content\/uploads\/2020\/09\/Codoid_Software_Testing_Company_Logo.png","width":500,"height":500,"caption":"Codoid - Software Testing Company"},"image":{"@id":"https:\/\/codoid.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/codoid.softwaretestingcompany","https:\/\/twitter.com\/codoid","https:\/\/www.instagram.com\/codoid.softwaretestingcompany\/","https:\/\/www.linkedin.com\/company\/codoid-qacompany","https:\/\/www.pinterest.com\/codoid9282\/codoid-software-testing-company\/","https:\/\/www.youtube.com\/channel\/UCCmOTDQgcf4W8oo22mBMUYA"]},{"@type":"Person","@id":"https:\/\/codoid.com\/#\/schema\/person\/360ee1d38151acb7c746787fbfa8e586","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codoid.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4d33f9036c9d60684b9478f738779823?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4d33f9036c9d60684b9478f738779823?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/codoid.com"]}]}},"_links":{"self":[{"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/posts\/2811"}],"collection":[{"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/comments?post=2811"}],"version-history":[{"count":5,"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/posts\/2811\/revisions"}],"predecessor-version":[{"id":26341,"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/posts\/2811\/revisions\/26341"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/media\/5434"}],"wp:attachment":[{"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/media?parent=2811"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/categories?post=2811"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codoid.com\/wp-json\/wp\/v2\/tags?post=2811"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}