{"id":12217,"date":"2015-12-15T14:49:38","date_gmt":"2015-12-15T20:49:38","guid":{"rendered":"https:\/\/blog.planview.com\/?p=12217"},"modified":"2020-02-20T14:52:17","modified_gmt":"2020-02-20T20:52:17","slug":"how-many-bugs-are-left-the-software-qa-puzzle","status":"publish","type":"post","link":"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/","title":{"rendered":"How Many Bugs Are Left? The Software QA Puzzle"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-12218\" src=\"https:\/\/blog.planview.com\/wp-content\/uploads\/2020\/02\/LK_blogPhoto_QApuzzle-1024x614.jpg\" alt=\"\" width=\"1024\" height=\"614\" srcset=\"https:\/\/blog.planview.com\/wp-content\/uploads\/2020\/02\/LK_blogPhoto_QApuzzle-1024x614.jpg 1024w, https:\/\/blog.planview.com\/wp-content\/uploads\/2020\/02\/LK_blogPhoto_QApuzzle-1024x614-300x180.jpg 300w, https:\/\/blog.planview.com\/wp-content\/uploads\/2020\/02\/LK_blogPhoto_QApuzzle-1024x614-768x461.jpg 768w, https:\/\/blog.planview.com\/wp-content\/uploads\/2020\/02\/LK_blogPhoto_QApuzzle-1024x614-750x450.jpg 750w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>If software QA began with a specific number of bugs, it might be easier to find all the issues. For example, many puzzle books show you a drawing and ask you to find an exact number of hidden objects. Or, they show you a pair of drawings and ask you to spot a certain number of differences between them.<\/p>\n<p>In software development, the target number of differences \u2014 or bugs \u2014 isn\u2019t always so specific. How much easier would software QA be if someone could whisper in our ear how many bugs there are to find? In reality, we never know. We only know a minimum: if we\u2019ve found 37 bugs, we know there are at least 37 bugs. Maybe there\u2019s one more to find, or maybe there are hundreds \u2014 we can\u2019t be sure.<\/p>\n<p>It would be helpful to have a rough idea of how many bugs remain, so we could best utilize our testing resources. If we always assume there are hundreds of bugs left to find, we may be over-testing one product at the expense of others. If we have reason to suspect we\u2019ve found all the bugs, or nearly all of them, we can redistribute our resources to make the best use of their time and efforts.<\/p>\n<h3>Rough Estimates<\/h3>\n<p>Nothing can tell you how many bugs are left during software QA, but a little math can give you an estimate. Suppose you have a tester who has found some number of bugs. If you knew not only how efficient she was at finding bugs, but also the probability of her finding each bug during a period of time, you could estimate how many there are to find. But you can\u2019t know what proportion of bugs she\u2019s found without knowing how many there are to find.<\/p>\n<p>Now suppose you have another tester, and he\u2019s also found some number of bugs. You don\u2019t know what proportion of bugs he\u2019s found, either. But by combining the bug counts from the two testers, you can estimate how many bugs there are.<\/p>\n<p>This may seem too good to be true, but it\u2019s not \u2014 the key is to consider how many bugs both testers found. Suppose the first tester found 20 bugs and the second found 30, but there was only one bug that both found. You might suspect that there are a lot of bugs to find, since both could find so many with hardly any overlap. On the other hand, if 18 of the bugs on the first list are on the second list, you might feel like your testers have probably found most of them.<\/p>\n<h3>The Lincoln Index<\/h3>\n<p>You can quantify an\u00a0estimate with a tool known as the \u201cLincoln Index.\u201d If the first tester found A bugs, the second found B, and C bugs were in common between them, the estimated total number of bugs would be AB\/C. In the first example above, A = 20, B = 30, and C = 1. In this case there would be an estimated 600 total bugs to find. But in the second example above, A = 20, B = 30, and C = 18. In this case there would be an estimated 33 1\/3 bugs.<\/p>\n<p>How do you find 1\/3 of a bug? You might find 1\/3 of a bug in your soup, but you won\u2019t find 1\/3 of a software error. The Lincoln Index is a simple mathematical model, so it can\u2019t tell you exactly \u00a0how many bugs there are. It makes a couple simplifying assumptions, namely that testers find bugs at random and independently. That won\u2019t be exactly true in practice, which means we should be skeptical of the number it generates. Still, the Lincoln Index gives us an estimate to run with \u2014 much better than saying, \u201cI have no idea how many bugs there are.\u201d<\/p>\n<p>Here\u2019s the math behind the Lincoln Index: Suppose there are N bugs total, and the first tester has a probability p of finding each bug. Then she would find around A = Np bugs. If the second tester has a probability q of finding each bug, he would find around B = Nq. And if they find bugs independently, they\u2019d find around C = Npq bugs in common. Then AB\/C should be around (Np)(Nq)\/(Npq) = N, the number of bugs. The probabilities of each tester finding a bug cancel each other out.<\/p>\n<h3>Conclusion<\/h3>\n<p>While the software QA process will never be as simple as a \u201cspot the differences\u201d puzzle, for certain types of software development, there are simple tools to help estimate that elusive number of total bugs. Using the Lincoln Index, we can determine the level of overlap between our testing resources, which usually speaks to the proportion of bugs that are left to uncover. With this rough estimate, we can make data-driven decisions about how to best allocate our resources.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If software QA began with a specific number of bugs, it might be easier to find all the issues. For example, many puzzle books show you a drawing and ask you to find an exact number of hidden objects. Or, they show you a pair of drawings and ask you to spot a certain number&#8230;<\/p>\n","protected":false},"author":157,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_editorskit_title_hidden":false,"_editorskit_reading_time":0,"_editorskit_is_block_options_detached":false,"_editorskit_block_options_position":"{}","footnotes":""},"categories":[38],"tags":[511],"class_list":["post-12217","post","type-post","status-publish","format-standard","hentry","category-work-collaboration","tag-leankit"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.8 (Yoast SEO v26.8) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How Many Bugs Are Left? The Software QA Puzzle - Blog | Planview<\/title>\n<meta name=\"description\" content=\"If software QA began with a specific number of bugs, it might be easier to find all the issues.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How Many Bugs Are Left? The Software QA Puzzle\" \/>\n<meta property=\"og:description\" content=\"If software QA began with a specific number of bugs, it might be easier to find all the issues.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/\" \/>\n<meta property=\"og:site_name\" content=\"Planview Blog\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/pages\/Planview-Inc\/89422974772\" \/>\n<meta property=\"article:published_time\" content=\"2015-12-15T20:49:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-02-20T20:52:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/blog.planview.com\/wp-content\/uploads\/2020\/02\/LK_blogPhoto_QApuzzle-1024x614.jpg\" \/>\n<meta name=\"author\" content=\"John D. Cook\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Planview\" \/>\n<meta name=\"twitter:site\" content=\"@Planview\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"John D. Cook\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/\"},\"author\":{\"name\":\"John D. Cook\",\"@id\":\"https:\/\/blog.planview.com\/#\/schema\/person\/f0cd7b88ec4194192276e2219cc939df\"},\"headline\":\"How Many Bugs Are Left? The Software QA Puzzle\",\"datePublished\":\"2015-12-15T20:49:38+00:00\",\"dateModified\":\"2020-02-20T20:52:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/\"},\"wordCount\":809,\"publisher\":{\"@id\":\"https:\/\/blog.planview.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/blog.planview.com\/wp-content\/uploads\/2020\/02\/LK_blogPhoto_QApuzzle-1024x614.jpg\",\"keywords\":[\"LeanKit\"],\"articleSection\":[\"Work Management for Teams\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/\",\"url\":\"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/\",\"name\":\"How Many Bugs Are Left? The Software QA Puzzle - Blog | Planview\",\"isPartOf\":{\"@id\":\"https:\/\/blog.planview.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/blog.planview.com\/wp-content\/uploads\/2020\/02\/LK_blogPhoto_QApuzzle-1024x614.jpg\",\"datePublished\":\"2015-12-15T20:49:38+00:00\",\"dateModified\":\"2020-02-20T20:52:17+00:00\",\"description\":\"If software QA began with a specific number of bugs, it might be easier to find all the issues.\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/#primaryimage\",\"url\":\"https:\/\/blog.planview.com\/wp-content\/uploads\/2020\/02\/LK_blogPhoto_QApuzzle-1024x614.jpg\",\"contentUrl\":\"https:\/\/blog.planview.com\/wp-content\/uploads\/2020\/02\/LK_blogPhoto_QApuzzle-1024x614.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.planview.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How Many Bugs Are Left? The Software QA Puzzle\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.planview.com\/#website\",\"url\":\"https:\/\/blog.planview.com\/\",\"name\":\"Planview Blog\",\"description\":\"Leading the conversation on digital connected work\",\"publisher\":{\"@id\":\"https:\/\/blog.planview.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.planview.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/blog.planview.com\/#organization\",\"name\":\"Planview\",\"url\":\"https:\/\/blog.planview.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/blog.planview.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/blog.planview.com\/wp-content\/uploads\/2015\/06\/planview-logo-black.png\",\"contentUrl\":\"https:\/\/blog.planview.com\/wp-content\/uploads\/2015\/06\/planview-logo-black.png\",\"width\":280,\"height\":66,\"caption\":\"Planview\"},\"image\":{\"@id\":\"https:\/\/blog.planview.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"http:\/\/www.facebook.com\/pages\/Planview-Inc\/89422974772\",\"https:\/\/x.com\/Planview\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.planview.com\/#\/schema\/person\/f0cd7b88ec4194192276e2219cc939df\",\"name\":\"John D. Cook\",\"description\":\"John helps companies make better decisions by taking advantage of the data they have, combining it with expert opinion, creating mathematical models, overcoming computational difficulties, and interpreting the results. Connect with John on his website or on Twitter.\",\"url\":\"https:\/\/blog.planview.com\/author\/john-cook\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How Many Bugs Are Left? The Software QA Puzzle - Blog | Planview","description":"If software QA began with a specific number of bugs, it might be easier to find all the issues.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/","og_locale":"en_US","og_type":"article","og_title":"How Many Bugs Are Left? The Software QA Puzzle","og_description":"If software QA began with a specific number of bugs, it might be easier to find all the issues.","og_url":"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/","og_site_name":"Planview Blog","article_publisher":"http:\/\/www.facebook.com\/pages\/Planview-Inc\/89422974772","article_published_time":"2015-12-15T20:49:38+00:00","article_modified_time":"2020-02-20T20:52:17+00:00","og_image":[{"url":"https:\/\/blog.planview.com\/wp-content\/uploads\/2020\/02\/LK_blogPhoto_QApuzzle-1024x614.jpg","type":"","width":"","height":""}],"author":"John D. Cook","twitter_card":"summary_large_image","twitter_creator":"@Planview","twitter_site":"@Planview","twitter_misc":{"Written by":"John D. Cook","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/#article","isPartOf":{"@id":"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/"},"author":{"name":"John D. Cook","@id":"https:\/\/blog.planview.com\/#\/schema\/person\/f0cd7b88ec4194192276e2219cc939df"},"headline":"How Many Bugs Are Left? The Software QA Puzzle","datePublished":"2015-12-15T20:49:38+00:00","dateModified":"2020-02-20T20:52:17+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/"},"wordCount":809,"publisher":{"@id":"https:\/\/blog.planview.com\/#organization"},"image":{"@id":"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.planview.com\/wp-content\/uploads\/2020\/02\/LK_blogPhoto_QApuzzle-1024x614.jpg","keywords":["LeanKit"],"articleSection":["Work Management for Teams"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/","url":"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/","name":"How Many Bugs Are Left? The Software QA Puzzle - Blog | Planview","isPartOf":{"@id":"https:\/\/blog.planview.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/#primaryimage"},"image":{"@id":"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/#primaryimage"},"thumbnailUrl":"https:\/\/blog.planview.com\/wp-content\/uploads\/2020\/02\/LK_blogPhoto_QApuzzle-1024x614.jpg","datePublished":"2015-12-15T20:49:38+00:00","dateModified":"2020-02-20T20:52:17+00:00","description":"If software QA began with a specific number of bugs, it might be easier to find all the issues.","breadcrumb":{"@id":"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/#primaryimage","url":"https:\/\/blog.planview.com\/wp-content\/uploads\/2020\/02\/LK_blogPhoto_QApuzzle-1024x614.jpg","contentUrl":"https:\/\/blog.planview.com\/wp-content\/uploads\/2020\/02\/LK_blogPhoto_QApuzzle-1024x614.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/blog.planview.com\/how-many-bugs-are-left-the-software-qa-puzzle\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.planview.com\/"},{"@type":"ListItem","position":2,"name":"How Many Bugs Are Left? The Software QA Puzzle"}]},{"@type":"WebSite","@id":"https:\/\/blog.planview.com\/#website","url":"https:\/\/blog.planview.com\/","name":"Planview Blog","description":"Leading the conversation on digital connected work","publisher":{"@id":"https:\/\/blog.planview.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.planview.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/blog.planview.com\/#organization","name":"Planview","url":"https:\/\/blog.planview.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blog.planview.com\/#\/schema\/logo\/image\/","url":"https:\/\/blog.planview.com\/wp-content\/uploads\/2015\/06\/planview-logo-black.png","contentUrl":"https:\/\/blog.planview.com\/wp-content\/uploads\/2015\/06\/planview-logo-black.png","width":280,"height":66,"caption":"Planview"},"image":{"@id":"https:\/\/blog.planview.com\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/www.facebook.com\/pages\/Planview-Inc\/89422974772","https:\/\/x.com\/Planview"]},{"@type":"Person","@id":"https:\/\/blog.planview.com\/#\/schema\/person\/f0cd7b88ec4194192276e2219cc939df","name":"John D. Cook","description":"John helps companies make better decisions by taking advantage of the data they have, combining it with expert opinion, creating mathematical models, overcoming computational difficulties, and interpreting the results. Connect with John on his website or on Twitter.","url":"https:\/\/blog.planview.com\/author\/john-cook\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.planview.com\/wp-json\/wp\/v2\/posts\/12217","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.planview.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.planview.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.planview.com\/wp-json\/wp\/v2\/users\/157"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.planview.com\/wp-json\/wp\/v2\/comments?post=12217"}],"version-history":[{"count":0,"href":"https:\/\/blog.planview.com\/wp-json\/wp\/v2\/posts\/12217\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.planview.com\/wp-json\/wp\/v2\/media?parent=12217"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.planview.com\/wp-json\/wp\/v2\/categories?post=12217"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.planview.com\/wp-json\/wp\/v2\/tags?post=12217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}