{"id":4512,"date":"2015-09-22T06:00:51","date_gmt":"2015-09-22T13:00:51","guid":{"rendered":"http:\/\/thinkapps.com\/blog\/?p=4512"},"modified":"2015-09-24T14:37:29","modified_gmt":"2015-09-24T21:37:29","slug":"what-is-code-review","status":"publish","type":"post","link":"https:\/\/thinkapps.com\/blog\/development\/what-is-code-review\/","title":{"rendered":"Code Review: What Is It and Why Is It Important?"},"content":{"rendered":"<p><em>New to the concept of code review? This post explains what code review is and why it&#8217;s important.<\/em><\/p>\n<p>Disclaimer: The following document is heavily based on the Mozilla Code Review FAQ [1][2]. But my team at <a title=\"VAIRIX\" href=\"http:\/\/vairix.com\/\" target=\"_blank\">VAIRIX<\/a> has made many\u00a0adaptations in order to reflect the two-level review process that is part of our\u00a0development methodology.<\/p>\n<h2>What is code review?<\/h2>\n<p>As Wikipedia puts it, &#8220;<a title=\"What is code review?\" href=\"https:\/\/en.wikipedia.org\/wiki\/Code_review\" target=\"_blank\">Code review<\/a> is systematic examination &#8230;\u00a0of computer source code. It is intended to find and fix mistakes overlooked in the initial development phase, improving both the overall quality of software and the developers&#8217; skills.&#8221;<\/p>\n<h2>What is the purpose of code review?<\/h2>\n<p><span style=\"font-weight: 400;\">Code review is the\u00a0most commonly used procedure for validating the design and implementation of features.\u00a0<\/span><span style=\"font-weight: 400;\">It helps developers\u00a0to maintain\u00a0consistency between design and implementation \u201cstyles\u201d across many<\/span><span style=\"font-weight: 400;\">\u00a0team members and between various projects on which the\u00a0company is working. <\/span><\/p>\n<p>We perform code review in two levels. The first is known as <strong>peer review<\/strong> and the second is <strong>external review<\/strong>.<\/p>\n<p>The code review process doesn&#8217;t begin\u00a0working instantaneously (especially with external review), and our process is far from being perfect \u2014 although we have done some serious research around the topic [3]. So, we are always open to suggestions for improvement. \ud83d\ude42<\/p>\n<p>Having said that, let&#8217;s dig into peer reviews.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"481\" class=\"alignnone wp-image-5358 size-full\" src=\"http:\/\/d1vqbpto5tbbz0.cloudfront.net\/blog\/wp-content\/uploads\/2015\/09\/08221251\/20150819_162103-1.jpg\" alt=\"Code Review - VAIRIX Agile Code Review\" srcset=\"https:\/\/d1vqbpto5tbbz0.cloudfront.net\/blog\/wp-content\/uploads\/2015\/09\/08221251\/20150819_162103-1.jpg 800w, https:\/\/d1vqbpto5tbbz0.cloudfront.net\/blog\/wp-content\/uploads\/2015\/09\/08221251\/20150819_162103-1.jpg 300w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<h2>What is a\u00a0peer review?<\/h2>\n<p><span style=\"font-weight: 400;\">A peer review is mainly focused on functionality, design, and the implementation and usefulness of proposed fixes for stated problems. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">The peer reviewer should be someone with business knowledge in the problem area. Also, he or she may use other areas of expertise to make comments or suggest possible improvements. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">In our company, this is necessary because we don\u2019t do design reviews prior to code reviews. Instead, we expect developers to talk to each other about their design intentions and get feedback throughout the (usually non-linear) design\/implementation process. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">Accordingly, we don\u2019t put\u00a0limitations on what comments a reviewer might make about the reviewed code.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">What do peer reviewers look for?<\/span><\/h2>\n<h3>Feature Completion<\/h3>\n<p><span style=\"font-weight: 400;\">The reviewer will make sure that the code meets the requirements, pointing out if something has been left out or has been done without asking the client.<\/span><\/p>\n<h3>Potential Side Effects<\/h3>\n<p><span style=\"font-weight: 400;\">The reviewer will check to see whether the changed code causes any issues in other features.<\/span><\/p>\n<h3>Readability and Maintenance<\/h3>\n<p><span style=\"font-weight: 400;\">The reviewer will make sure the code is readable and is not\u00a0too complicated for someone completely new to the project. Model and variable names should be immediately obvious (again, even to new developers) and as short as possible without <a title=\"Mobile App Development Glossary\" href=\"http:\/\/thinkapps.com\/blog\/development\/mobile-app-development-glossary-for-founders-and-product-managers\/\" target=\"_blank\">using abbreviations<\/a>.<\/span><\/p>\n<h3>Consistency<\/h3>\n<p><span style=\"font-weight: 400;\">Conducting peer reviews is the best approach for\u00a0achieving consistency across all company projects. Define a code style with the team and then stick to it.<\/span><\/p>\n<h3>Performance<\/h3>\n<p><span style=\"font-weight: 400;\">The reviewer will assess whether\u00a0code that will be executed more often (or the most critical functionalities) can be optimized.<\/span><\/p>\n<h3>Exception Handling<\/h3>\n<p><span style=\"font-weight: 400;\">The reviewer will make sure bad inputs and exceptions are handled in the way that was pre-defined by the team (it must be visible\/accessible to everyone).<\/span><\/p>\n<h3>Simplicity<\/h3>\n<p><span style=\"font-weight: 400;\">The reviewer will assess whether\u00a0there are any simpler or more elegant alternatives available.<\/span><\/p>\n<h3>Reuse of Existing Code<\/h3>\n<p><span style=\"font-weight: 400;\">The reviewer will check to see if the functionality can be implemented using some of the existing code. Code has to be aggressively \u201cDRYed\u201d (as in, Don&#8217;t Repeat Yourself) during development.<\/span><\/p>\n<h3>Test Cases<\/h3>\n<p><span style=\"font-weight: 400;\">Finally, the reviewer will ensure the presence of enough test cases to go through all the possible execution paths. All tests have to pass before the code can be merged into the shared repository.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"717\" height=\"425\" class=\"alignnone size-full wp-image-5359\" src=\"http:\/\/d1vqbpto5tbbz0.cloudfront.net\/blog\/wp-content\/uploads\/2015\/09\/08221251\/Peer-Review-1.gif\" alt=\"Code Review - Peer Review\" \/><\/p>\n<h2>What is an external review?<\/h2>\n<p><span style=\"font-weight: 400;\">An <\/span><span style=\"font-weight: 400;\">external<\/span> <span style=\"font-weight: 400;\">review<\/span><span style=\"font-weight: 400;\">\u00a0addresses different\u00a0issues than peer <\/span><span style=\"font-weight: 400;\">reviews. Specifically, external reviews<\/span><span style=\"font-weight: 400;\">\u00a0focus on how to increase <\/span><span style=\"font-weight: 400;\">code<\/span><span style=\"font-weight: 400;\"> quality, promote best practices, and remove \u201c<\/span><span style=\"font-weight: 400;\">code<\/span><span style=\"font-weight: 400;\"> smells.\u201d <\/span><\/p>\n<p><span style=\"font-weight: 400;\">This level of <\/span><span style=\"font-weight: 400;\">review<\/span><span style=\"font-weight: 400;\"> will look at the quality of the <\/span><span style=\"font-weight: 400;\">code<\/span><span style=\"font-weight: 400;\"> itself, its potential effects on other areas of the project, and its adherence with company\u00a0coding guidelines. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">Although external reviewers <\/span><span style=\"font-weight: 400;\">may<\/span><span style=\"font-weight: 400;\">\u00a0not have domain expertise, <\/span><span style=\"font-weight: 400;\">they do<\/span><span style=\"font-weight: 400;\">\u00a0have discretion to raise red flags related to both the design and code<\/span><span style=\"font-weight: 400;\">\u00a0and to suggest ways to solve problems and refactor code as necessary. <\/span><\/p>\n<h2>What do external reviewers look for?<\/h2>\n<h3>Readability and Maintenance<\/h3>\n<p><span style=\"font-weight: 400;\">Similar to above, the reviewer will make sure the code is readable and is not\u00a0too complicated for someone completely new. Again, all model and variable names have to be immediately obvious (even to new developers) and as short as possible without using abbreviations. <\/span><\/p>\n<h3>Coding Style<\/h3>\n<p><span style=\"font-weight: 400;\">The reviewer will ensure that everyone adheres to a strict coding style and will use code editors&#8217; built-in helpers to format the code.<\/span><\/p>\n<h3>Code Smells<\/h3>\n<p><span style=\"font-weight: 400;\">Finally, the reviewer will keep an eye out (or should that be a <em>nose<\/em> out?) for code smells and make suggestions for how to avoid them.<\/span><\/p>\n<p>In case the term is new to you, a\u00a0<a title=\"What is a code smell?\" href=\"http:\/\/c2.com\/cgi\/wiki?CodeSmell\" target=\"_blank\">code smell<\/a> is &#8220;a hint that something has gone wrong somewhere in your code. Use the smell to track down the problem.&#8221;<\/p>\n<h2>Must\u00a0external reviewers be \u201cdomain experts\u201d?<\/h2>\n<p><span style=\"font-weight: 400;\">External reviewers don&#8217;t have\u00a0to have domain knowledge of the code that they will be reviewing. [4]. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">If they know about the domain, they will feel tempted to <\/span><span style=\"font-weight: 400;\">review<\/span><span style=\"font-weight: 400;\"> it at a functional level, which could lead to\u00a0burnout. However, if they have some business knowledge, they can estimate more easily\u00a0how complex the <\/span><span style=\"font-weight: 400;\">review<\/span><span style=\"font-weight: 400;\">\u00a0will be and can\u00a0<\/span><span style=\"font-weight: 400;\">quickly<\/span><span style=\"font-weight: 400;\"> complete the <\/span><span style=\"font-weight: 400;\">review,<\/span><span style=\"font-weight: 400;\"> providing a more comprehensive evaluation of the <\/span><span style=\"font-weight: 400;\">code<\/span><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">So, domain expertise is a bonus, not a requirement.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"481\" class=\"alignnone size-full wp-image-5357\" src=\"http:\/\/d1vqbpto5tbbz0.cloudfront.net\/blog\/wp-content\/uploads\/2015\/09\/08221251\/20150819_162034-1.jpg\" alt=\"20150819_162034 (1)\" srcset=\"https:\/\/d1vqbpto5tbbz0.cloudfront.net\/blog\/wp-content\/uploads\/2015\/09\/08221251\/20150819_162034-1.jpg 800w, https:\/\/d1vqbpto5tbbz0.cloudfront.net\/blog\/wp-content\/uploads\/2015\/09\/08221251\/20150819_162034-1.jpg 300w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<h2>What if an external reviewer misses something?<\/h2>\n<p><span style=\"font-weight: 400;\">We do not expect an\u00a0<\/span><span style=\"font-weight: 400;\">external<\/span><span style=\"font-weight: 400;\"> reviewer to make everything perfect. Something will most likely\u00a0<\/span><span style=\"font-weight: 400;\">be missed<\/span><span style=\"font-weight: 400;\">. <\/span><strong>The external reviewer does not become responsible for the developer\u2019s work by reviewing it.<\/strong><\/p>\n<h2>How fast should developers receive a response from the external reviewer?<\/h2>\n<p><span style=\"font-weight: 400;\">If a developer has requested an <\/span><span style=\"font-weight: 400;\">external<\/span> <span style=\"font-weight: 400;\">review<\/span><span style=\"font-weight: 400;\">, he can expect some type of\u00a0response within two hours. At the very least, the response should tell him a timeframe for completion. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">In some cases, the <\/span><span style=\"font-weight: 400;\">external<\/span><span style=\"font-weight: 400;\"> reviewers might not\u00a0respond. They&#8217;re not perfect and might have too much work to do.<\/span><span style=\"font-weight: 400;\"> Developers should feel free to\u00a0<\/span><span style=\"font-weight: 400;\">ping them again if they don\u2019t hear back within two hours or try with another <\/span><span style=\"font-weight: 400;\">external<\/span><span style=\"font-weight: 400;\"> reviewer.<\/span><\/p>\n<h2>Why can\u2019t developers simply merge their code into the main branch now and ask for an external review later?<\/h2>\n<p><span style=\"font-weight: 400;\">There are many reasons this is a bad idea, but here are two of the most important:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">External<\/span><span style=\"font-weight: 400;\"> reviews catch problems that would\u00a0affect everyone if the code were\u00a0<\/span><span style=\"font-weight: 400;\">merged<\/span><span style=\"font-weight: 400;\"> into the main repository. It doesn\u2019t make sense to cause\u00a0everyone to suffer for problems that could have\u00a0<\/span><span style=\"font-weight: 400;\">been caught<\/span><span style=\"font-weight: 400;\"> by an <\/span><span style=\"font-weight: 400;\">external<\/span> <span style=\"font-weight: 400;\">review<\/span><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">The process of merging\u00a0<\/span><span style=\"font-weight: 400;\">code causes the developer to feel\u00a0that the work is done, and it&#8217;s time to go on to the next thing. <\/span><span style=\"font-weight: 400;\">It\u2019s silly to have people feeling like something is checked off the task list\u00a0when it\u2019s really not.<\/span><\/li>\n<\/ol>\n<h2>Can the external reviewer ask the developer\u00a0to do something that is not precisely related to the\u00a0code?<\/h2>\n<p><span style=\"font-weight: 400;\">Yes, the <\/span><span style=\"font-weight: 400;\">external<\/span> <span style=\"font-weight: 400;\">reviewer<\/span><span style=\"font-weight: 400;\"> has some discretion here. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">We don\u2019t think that <\/span><span style=\"font-weight: 400;\">continuously<\/span><span style=\"font-weight: 400;\">\u00a0making auxiliary changes that are unrelated to the core functionality\u00a0is\u00a0the right thing to do on reviews. On the other hand, small changes (or changes that help\u00a0the code maintain\u00a0a consistent style) may be requested. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">There should be a reasonable relationship between the scope of the developed functionality and the scope of the requested change.<\/span><\/p>\n<h2>References<\/h2>\n<p><span style=\"font-weight: 400;\">[1] Knous, M. &amp; Dbaron, A. (2005). Code Review FAQ. Mozilla Development Network. Retrieved from\u00a0<\/span><a href=\"https:\/\/developer.mozilla.org\/en\/docs\/Code_Review_FAQ\"><span style=\"font-weight: 400;\">https:\/\/developer.<\/span><span style=\"font-weight: 400;\">mozilla<\/span><span style=\"font-weight: 400;\">.org\/en\/docs\/Code_Review_FAQ<\/span><\/a>.<\/p>\n<p><span style=\"font-weight: 400;\">[2] Rigby, C., German, D. (2006). \u201cA preliminary examination of code review processes in open source projects.\u201d University of Victoria Technical Report: DCS-305-IR. Retrieved from\u00a0<\/span><span style=\"font-weight: 400;\"><a href=\"http:\/\/ifipwg213.org\/system\/files\/Rigby2006TR.pdf\">http:\/\/ifipwg213.org\/system\/files\/Rigby2006TR.pdf<\/a>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">[3] Macchi, D., &amp; Solari, M. (2012). <\/span><a href=\"http:\/\/dariomac.com\/Article\/Mapeo-sistem%C3%A1tico-de-la-literatura-sobre-la-Adopci%C3%B3n-de-Inspecciones-de-Software\"><span style=\"font-weight: 400;\">Software inspection adoption: A mapping study<\/span><\/a><span style=\"font-weight: 400;\">. In Conferencia Latinoamericana de Inform\u00e1tica (CLEI 2012). <\/span><span style=\"font-weight: 400;\"><a href=\"http:\/\/ieeexplore.ieee.org\/xpl\/articleDetails.jsp?arnumber=6427197\">http:\/\/ieeexplore.ieee.org\/xpl\/articleDetails.jsp?arnumber=6427197<\/a>.<\/span><\/p>\n<p>[4] Mozilla (2012). Retrieved from <a href=\"http:\/\/www.mozilla.org\/hacking\/reviewers.html\">http:\/\/www.mozilla.org\/hacking\/reviewers.html<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<p><a title=\"Feature image via Flickr\" href=\"https:\/\/www.flickr.com\/photos\/riebart\/4466482623\/\" target=\"_blank\"><em>Feature image credit<\/em><\/a>. All other images were provided by the author.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post explains what code review is, including the two levels of peer and external reviews. It also shares why code review is important.<\/p>\n","protected":false},"author":65,"featured_media":5360,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[5],"tags":[203,401,402,364,441,442,403],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.6 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Code Review: What Is It and Why Is It Important?<\/title>\n<meta name=\"description\" content=\"This post explains what code review is, including the two levels of peer and external reviews. It also shares why code review is important.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/thinkapps.com\/blog\/development\/what-is-code-review\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Code Review: What Is It and Why Is It Important?\" \/>\n<meta property=\"og:description\" content=\"This post explains what code review is, including the two levels of peer and external reviews. It also shares why code review is important.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/thinkapps.com\/blog\/development\/what-is-code-review\/\" \/>\n<meta property=\"og:site_name\" content=\"Build Blog by ThinkApps | Content on Entrepreneurship, Mobile Apps, Web Platforms and more\" \/>\n<meta property=\"article:published_time\" content=\"2015-09-22T13:00:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-09-24T21:37:29+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/d1vqbpto5tbbz0.cloudfront.net\/blog\/wp-content\/uploads\/2015\/09\/08221251\/4466482623_6aea29d90a_b.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"680\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Dar\u00edo Macchi\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dar\u00edo Macchi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/thinkapps.com\/blog\/development\/what-is-code-review\/\",\"url\":\"https:\/\/thinkapps.com\/blog\/development\/what-is-code-review\/\",\"name\":\"Code Review: What Is It and Why Is It Important?\",\"isPartOf\":{\"@id\":\"http:\/\/localhost:8080\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/thinkapps.com\/blog\/development\/what-is-code-review\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/thinkapps.com\/blog\/development\/what-is-code-review\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/d1vqbpto5tbbz0.cloudfront.net\/blog\/wp-content\/uploads\/2015\/09\/08221251\/4466482623_6aea29d90a_b.jpg\",\"datePublished\":\"2015-09-22T13:00:51+00:00\",\"dateModified\":\"2015-09-24T21:37:29+00:00\",\"author\":{\"@id\":\"http:\/\/localhost:8080\/blog\/#\/schema\/person\/1fcddcd5bbec33b60f5b461b39407eda\"},\"description\":\"This post explains what code review is, including the two levels of peer and external reviews. It also shares why code review is important.\",\"breadcrumb\":{\"@id\":\"https:\/\/thinkapps.com\/blog\/development\/what-is-code-review\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/thinkapps.com\/blog\/development\/what-is-code-review\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/thinkapps.com\/blog\/development\/what-is-code-review\/#primaryimage\",\"url\":\"https:\/\/d1vqbpto5tbbz0.cloudfront.net\/blog\/wp-content\/uploads\/2015\/09\/08221251\/4466482623_6aea29d90a_b.jpg\",\"contentUrl\":\"https:\/\/d1vqbpto5tbbz0.cloudfront.net\/blog\/wp-content\/uploads\/2015\/09\/08221251\/4466482623_6aea29d90a_b.jpg\",\"width\":1024,\"height\":680,\"caption\":\"Code Review\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/thinkapps.com\/blog\/development\/what-is-code-review\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/localhost:8080\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Code Review: What Is It and Why Is It Important?\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/localhost:8080\/blog\/#website\",\"url\":\"http:\/\/localhost:8080\/blog\/\",\"name\":\"Build Blog by ThinkApps | Content on Entrepreneurship, Mobile Apps, Web Platforms and more\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/localhost:8080\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"http:\/\/localhost:8080\/blog\/#\/schema\/person\/1fcddcd5bbec33b60f5b461b39407eda\",\"name\":\"Dar\u00edo Macchi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/localhost:8080\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a882c61ee0d9aa636b0a6f690c9b81a1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a882c61ee0d9aa636b0a6f690c9b81a1?s=96&d=mm&r=g\",\"caption\":\"Dar\u00edo Macchi\"},\"description\":\"Dar\u00edo Macchi is the COO\/Scrum Master of VAIRIX Software Development, a boutique Ruby on Rails development company from Uruguay. Also he is a Software Engineering Professor, researcher (MSc, starting his PhD) and independent advisor\/consultant. He believes in the usefulness of bringing tools from scientific research environments to daily activities of software development companies.\",\"sameAs\":[\"http:\/\/www.vairix.com\/\",\"http:\/\/uy.linkedin.com\/in\/dariomac\",\"https:\/\/x.com\/_dariomac\"],\"url\":\"https:\/\/thinkapps.com\/blog\/author\/dario-macchi\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Code Review: What Is It and Why Is It Important?","description":"This post explains what code review is, including the two levels of peer and external reviews. It also shares why code review is important.","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:\/\/thinkapps.com\/blog\/development\/what-is-code-review\/","og_locale":"en_US","og_type":"article","og_title":"Code Review: What Is It and Why Is It Important?","og_description":"This post explains what code review is, including the two levels of peer and external reviews. It also shares why code review is important.","og_url":"https:\/\/thinkapps.com\/blog\/development\/what-is-code-review\/","og_site_name":"Build Blog by ThinkApps | Content on Entrepreneurship, Mobile Apps, Web Platforms and more","article_published_time":"2015-09-22T13:00:51+00:00","article_modified_time":"2015-09-24T21:37:29+00:00","og_image":[{"width":1024,"height":680,"url":"http:\/\/d1vqbpto5tbbz0.cloudfront.net\/blog\/wp-content\/uploads\/2015\/09\/08221251\/4466482623_6aea29d90a_b.jpg","type":"image\/jpeg"}],"author":"Dar\u00edo Macchi","twitter_misc":{"Written by":"Dar\u00edo Macchi","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/thinkapps.com\/blog\/development\/what-is-code-review\/","url":"https:\/\/thinkapps.com\/blog\/development\/what-is-code-review\/","name":"Code Review: What Is It and Why Is It Important?","isPartOf":{"@id":"http:\/\/localhost:8080\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/thinkapps.com\/blog\/development\/what-is-code-review\/#primaryimage"},"image":{"@id":"https:\/\/thinkapps.com\/blog\/development\/what-is-code-review\/#primaryimage"},"thumbnailUrl":"https:\/\/d1vqbpto5tbbz0.cloudfront.net\/blog\/wp-content\/uploads\/2015\/09\/08221251\/4466482623_6aea29d90a_b.jpg","datePublished":"2015-09-22T13:00:51+00:00","dateModified":"2015-09-24T21:37:29+00:00","author":{"@id":"http:\/\/localhost:8080\/blog\/#\/schema\/person\/1fcddcd5bbec33b60f5b461b39407eda"},"description":"This post explains what code review is, including the two levels of peer and external reviews. It also shares why code review is important.","breadcrumb":{"@id":"https:\/\/thinkapps.com\/blog\/development\/what-is-code-review\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/thinkapps.com\/blog\/development\/what-is-code-review\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/thinkapps.com\/blog\/development\/what-is-code-review\/#primaryimage","url":"https:\/\/d1vqbpto5tbbz0.cloudfront.net\/blog\/wp-content\/uploads\/2015\/09\/08221251\/4466482623_6aea29d90a_b.jpg","contentUrl":"https:\/\/d1vqbpto5tbbz0.cloudfront.net\/blog\/wp-content\/uploads\/2015\/09\/08221251\/4466482623_6aea29d90a_b.jpg","width":1024,"height":680,"caption":"Code Review"},{"@type":"BreadcrumbList","@id":"https:\/\/thinkapps.com\/blog\/development\/what-is-code-review\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/localhost:8080\/blog\/"},{"@type":"ListItem","position":2,"name":"Code Review: What Is It and Why Is It Important?"}]},{"@type":"WebSite","@id":"http:\/\/localhost:8080\/blog\/#website","url":"http:\/\/localhost:8080\/blog\/","name":"Build Blog by ThinkApps | Content on Entrepreneurship, Mobile Apps, Web Platforms and more","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/localhost:8080\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"http:\/\/localhost:8080\/blog\/#\/schema\/person\/1fcddcd5bbec33b60f5b461b39407eda","name":"Dar\u00edo Macchi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/localhost:8080\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a882c61ee0d9aa636b0a6f690c9b81a1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a882c61ee0d9aa636b0a6f690c9b81a1?s=96&d=mm&r=g","caption":"Dar\u00edo Macchi"},"description":"Dar\u00edo Macchi is the COO\/Scrum Master of VAIRIX Software Development, a boutique Ruby on Rails development company from Uruguay. Also he is a Software Engineering Professor, researcher (MSc, starting his PhD) and independent advisor\/consultant. He believes in the usefulness of bringing tools from scientific research environments to daily activities of software development companies.","sameAs":["http:\/\/www.vairix.com\/","http:\/\/uy.linkedin.com\/in\/dariomac","https:\/\/x.com\/_dariomac"],"url":"https:\/\/thinkapps.com\/blog\/author\/dario-macchi\/"}]}},"_links":{"self":[{"href":"https:\/\/thinkapps.com\/blog\/wp-json\/wp\/v2\/posts\/4512"}],"collection":[{"href":"https:\/\/thinkapps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thinkapps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thinkapps.com\/blog\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/thinkapps.com\/blog\/wp-json\/wp\/v2\/comments?post=4512"}],"version-history":[{"count":33,"href":"https:\/\/thinkapps.com\/blog\/wp-json\/wp\/v2\/posts\/4512\/revisions"}],"predecessor-version":[{"id":5695,"href":"https:\/\/thinkapps.com\/blog\/wp-json\/wp\/v2\/posts\/4512\/revisions\/5695"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thinkapps.com\/blog\/wp-json\/wp\/v2\/media\/5360"}],"wp:attachment":[{"href":"https:\/\/thinkapps.com\/blog\/wp-json\/wp\/v2\/media?parent=4512"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thinkapps.com\/blog\/wp-json\/wp\/v2\/categories?post=4512"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thinkapps.com\/blog\/wp-json\/wp\/v2\/tags?post=4512"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}