{"id":1388,"date":"2016-10-18T21:29:30","date_gmt":"2016-10-19T05:29:30","guid":{"rendered":"https:\/\/www.genrocket.com\/?p=1388"},"modified":"2024-01-24T09:42:22","modified_gmt":"2024-01-24T09:42:22","slug":"the-cost-of-fixing-bugs-in-production","status":"publish","type":"post","link":"https:\/\/www.genrocket.com\/blog\/the-cost-of-fixing-bugs-in-production\/","title":{"rendered":"The Cost of Fixing Bugs in Production"},"content":{"rendered":"<p>Ok, so let\u2019s address why software bugs that reach the production environment are so hard to fix. If you don\u2019t have a structured process of identifying and repairing bugs prior to release, you will inevitably wind up with many bugs in production. And finding and fixing bugs in production is resource heavy and very time consuming.<\/p>\n<h2><strong>The 11 Steps to Fix a Bug in Production <\/strong><\/h2>\n<p>Here are my recommended steps for fixing bugs in production:<\/p>\n<ol>\n<li>Find out where in the code the bug is occurring<\/li>\n<li>Determine the damage caused (e.g. database corruption)<\/li>\n<li>Write scripts to correct the damage<\/li>\n<li>Write code to fix the bug<\/li>\n<li>Write code to test the bug fix<\/li>\n<li>Copy the production database to a staging environment<\/li>\n<li>Run correction scripts on staging<\/li>\n<li>Run scripts to check the results on the staging database<\/li>\n<li>Push code fixes to production<\/li>\n<li>Run correction scripts on production<\/li>\n<li>Run scripts to check the result on the production database<\/li>\n<\/ol>\n<p>There\u2026 That\u2019s not so bad, right? Wrong \u2013 this approach is really expensive!<\/p>\n<h2><strong>The Cost of the 11 Steps of Fixing Bugs in Production<\/strong><\/h2>\n<p>So, what\u2019s the average cost of fixing bugs that reach your production environment? We can use the following equation:<\/p>\n<p><em>number of people * number of days * cost per person-day * number of bugs = Cost of Fixing Bugs <\/em><\/p>\n<p>What would be the cost for a simple bug fix needing only 1 person for 10 hours?<\/p>\n<p>1 person * 10 hrs * $50 per\/hr * 1 bug = $500<\/p>\n<p>What\u2019s the cost for a medium to average bug fix needing 3 persons each working 36 hours?<\/p>\n<p>3 persons * 36 hrs * $50 per\/hr * 1 bug = $5400<\/p>\n<p>And what is the cost for a hug bug fix needing 5 persons each working 40 hours?<\/p>\n<p>5 persons * 40 hrs * $50 per\/hr * 10 bugs = $100,000<\/p>\n<p>As you can see above, based on the number of resources, number of hours, cost of each resource and number of bug fixes, repairing bugs once they have reached your production environment can be very high in time, resource, and cost.<\/p>\n<h2><strong>Conclusion <\/strong><\/h2>\n<p>So look, if you haven\u2019t read my blog article on Proactive vs Reactive White Box Testing, I encourage you to give it a read. I provide you with strong arguments that the cost and benefits of proactive, automated white box testing your software applications far outweigh the time, resources, and costs of being reactive and waiting to fix the bugs when they are found in production.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ok, so let\u2019s address why software bugs that reach the production environment are so hard to fix. If you don\u2019t have a structured process of identifying and repairing bugs prior to release, you will inevitably wind up with many bugs [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[347,353],"tags":[],"class_list":["post-1388","post","type-post","status-publish","format-standard","hentry","category-software-testing","category-white-box-testing"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>The Cost of Fixing Bugs in Production.<\/title>\n<meta name=\"description\" content=\"why software bugs that reach the production environment are so hard to fix. If you don\u2019t have a structured process of identifying and repairing bugs\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.genrocket.com\/blog\/the-cost-of-fixing-bugs-in-production\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The Cost of Fixing Bugs in Production.\" \/>\n<meta property=\"og:description\" content=\"why software bugs that reach the production environment are so hard to fix. If you don\u2019t have a structured process of identifying and repairing bugs\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.genrocket.com\/blog\/the-cost-of-fixing-bugs-in-production\/\" \/>\n<meta property=\"og:site_name\" content=\"GenRocket Blog\" \/>\n<meta property=\"article:published_time\" content=\"2016-10-19T05:29:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-24T09:42:22+00:00\" \/>\n<meta name=\"author\" content=\"Hycel Taylor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Hycel Taylor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.genrocket.com\/blog\/the-cost-of-fixing-bugs-in-production\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.genrocket.com\/blog\/the-cost-of-fixing-bugs-in-production\/\"},\"author\":{\"name\":\"Hycel Taylor\",\"@id\":\"https:\/\/www.genrocket.com\/blog\/#\/schema\/person\/7efce0dccc5685a50a0c0490d3b988f2\"},\"headline\":\"The Cost of Fixing Bugs in Production\",\"datePublished\":\"2016-10-19T05:29:30+00:00\",\"dateModified\":\"2024-01-24T09:42:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.genrocket.com\/blog\/the-cost-of-fixing-bugs-in-production\/\"},\"wordCount\":392,\"publisher\":{\"@id\":\"https:\/\/www.genrocket.com\/blog\/#organization\"},\"articleSection\":[\"Software Testing\",\"White Box Testing\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.genrocket.com\/blog\/the-cost-of-fixing-bugs-in-production\/\",\"url\":\"https:\/\/www.genrocket.com\/blog\/the-cost-of-fixing-bugs-in-production\/\",\"name\":\"The Cost of Fixing Bugs in Production.\",\"isPartOf\":{\"@id\":\"https:\/\/www.genrocket.com\/blog\/#website\"},\"datePublished\":\"2016-10-19T05:29:30+00:00\",\"dateModified\":\"2024-01-24T09:42:22+00:00\",\"description\":\"why software bugs that reach the production environment are so hard to fix. If you don\u2019t have a structured process of identifying and repairing bugs\",\"breadcrumb\":{\"@id\":\"https:\/\/www.genrocket.com\/blog\/the-cost-of-fixing-bugs-in-production\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.genrocket.com\/blog\/the-cost-of-fixing-bugs-in-production\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.genrocket.com\/blog\/the-cost-of-fixing-bugs-in-production\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.genrocket.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The Cost of Fixing Bugs in Production\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.genrocket.com\/blog\/#website\",\"url\":\"https:\/\/www.genrocket.com\/blog\/\",\"name\":\"GenRocket Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.genrocket.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.genrocket.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.genrocket.com\/blog\/#organization\",\"name\":\"GenRocket Blog\",\"url\":\"https:\/\/www.genrocket.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.genrocket.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.genrocket.com\/blog\/wp-content\/uploads\/2024\/03\/favicon.png\",\"contentUrl\":\"https:\/\/www.genrocket.com\/blog\/wp-content\/uploads\/2024\/03\/favicon.png\",\"width\":32,\"height\":32,\"caption\":\"GenRocket Blog\"},\"image\":{\"@id\":\"https:\/\/www.genrocket.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.genrocket.com\/blog\/#\/schema\/person\/7efce0dccc5685a50a0c0490d3b988f2\",\"name\":\"Hycel Taylor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.genrocket.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/aac44f3a4d967dc8121a4e16a45ab2bb?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/aac44f3a4d967dc8121a4e16a45ab2bb?s=96&d=mm&r=g\",\"caption\":\"Hycel Taylor\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The Cost of Fixing Bugs in Production.","description":"why software bugs that reach the production environment are so hard to fix. If you don\u2019t have a structured process of identifying and repairing bugs","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:\/\/www.genrocket.com\/blog\/the-cost-of-fixing-bugs-in-production\/","og_locale":"en_US","og_type":"article","og_title":"The Cost of Fixing Bugs in Production.","og_description":"why software bugs that reach the production environment are so hard to fix. If you don\u2019t have a structured process of identifying and repairing bugs","og_url":"https:\/\/www.genrocket.com\/blog\/the-cost-of-fixing-bugs-in-production\/","og_site_name":"GenRocket Blog","article_published_time":"2016-10-19T05:29:30+00:00","article_modified_time":"2024-01-24T09:42:22+00:00","author":"Hycel Taylor","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Hycel Taylor","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.genrocket.com\/blog\/the-cost-of-fixing-bugs-in-production\/#article","isPartOf":{"@id":"https:\/\/www.genrocket.com\/blog\/the-cost-of-fixing-bugs-in-production\/"},"author":{"name":"Hycel Taylor","@id":"https:\/\/www.genrocket.com\/blog\/#\/schema\/person\/7efce0dccc5685a50a0c0490d3b988f2"},"headline":"The Cost of Fixing Bugs in Production","datePublished":"2016-10-19T05:29:30+00:00","dateModified":"2024-01-24T09:42:22+00:00","mainEntityOfPage":{"@id":"https:\/\/www.genrocket.com\/blog\/the-cost-of-fixing-bugs-in-production\/"},"wordCount":392,"publisher":{"@id":"https:\/\/www.genrocket.com\/blog\/#organization"},"articleSection":["Software Testing","White Box Testing"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.genrocket.com\/blog\/the-cost-of-fixing-bugs-in-production\/","url":"https:\/\/www.genrocket.com\/blog\/the-cost-of-fixing-bugs-in-production\/","name":"The Cost of Fixing Bugs in Production.","isPartOf":{"@id":"https:\/\/www.genrocket.com\/blog\/#website"},"datePublished":"2016-10-19T05:29:30+00:00","dateModified":"2024-01-24T09:42:22+00:00","description":"why software bugs that reach the production environment are so hard to fix. If you don\u2019t have a structured process of identifying and repairing bugs","breadcrumb":{"@id":"https:\/\/www.genrocket.com\/blog\/the-cost-of-fixing-bugs-in-production\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.genrocket.com\/blog\/the-cost-of-fixing-bugs-in-production\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.genrocket.com\/blog\/the-cost-of-fixing-bugs-in-production\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.genrocket.com\/blog\/"},{"@type":"ListItem","position":2,"name":"The Cost of Fixing Bugs in Production"}]},{"@type":"WebSite","@id":"https:\/\/www.genrocket.com\/blog\/#website","url":"https:\/\/www.genrocket.com\/blog\/","name":"GenRocket Blog","description":"","publisher":{"@id":"https:\/\/www.genrocket.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.genrocket.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.genrocket.com\/blog\/#organization","name":"GenRocket Blog","url":"https:\/\/www.genrocket.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.genrocket.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.genrocket.com\/blog\/wp-content\/uploads\/2024\/03\/favicon.png","contentUrl":"https:\/\/www.genrocket.com\/blog\/wp-content\/uploads\/2024\/03\/favicon.png","width":32,"height":32,"caption":"GenRocket Blog"},"image":{"@id":"https:\/\/www.genrocket.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.genrocket.com\/blog\/#\/schema\/person\/7efce0dccc5685a50a0c0490d3b988f2","name":"Hycel Taylor","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.genrocket.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/aac44f3a4d967dc8121a4e16a45ab2bb?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/aac44f3a4d967dc8121a4e16a45ab2bb?s=96&d=mm&r=g","caption":"Hycel Taylor"}}]}},"_links":{"self":[{"href":"https:\/\/www.genrocket.com\/blog\/wp-json\/wp\/v2\/posts\/1388","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.genrocket.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.genrocket.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.genrocket.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.genrocket.com\/blog\/wp-json\/wp\/v2\/comments?post=1388"}],"version-history":[{"count":4,"href":"https:\/\/www.genrocket.com\/blog\/wp-json\/wp\/v2\/posts\/1388\/revisions"}],"predecessor-version":[{"id":11238,"href":"https:\/\/www.genrocket.com\/blog\/wp-json\/wp\/v2\/posts\/1388\/revisions\/11238"}],"wp:attachment":[{"href":"https:\/\/www.genrocket.com\/blog\/wp-json\/wp\/v2\/media?parent=1388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.genrocket.com\/blog\/wp-json\/wp\/v2\/categories?post=1388"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.genrocket.com\/blog\/wp-json\/wp\/v2\/tags?post=1388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}