{"id":24568,"date":"2011-07-11T00:00:00","date_gmt":"2011-07-11T00:00:00","guid":{"rendered":"https:\/\/alienroad.com\/google-bilgi-bankasi\/validation-measuring-and-tracking-code-quality\/"},"modified":"2011-07-11T00:00:00","modified_gmt":"2011-07-11T00:00:00","slug":"validation-measuring-and-tracking-code-quality","status":"publish","type":"ar_kb","link":"https:\/\/alienroad.com\/google-bilgi-bankasi\/validation-measuring-and-tracking-code-quality\/","title":{"rendered":"Validation: measuring and tracking code quality"},"content":{"rendered":"<p class=\"gargardate\">Monday, July 11, 2011<\/p>\n<p>\n  <a href=\"https:\/\/alienroad.com\/google-bilgi-bankasi\/introducing-the-google-webmaster-team\/\">Google&#8217;s Webmaster Team<\/a><br \/>\n  is responsible for most of Google&#8217;s informational websites like Google&#8217;s<br \/>\n  <a href=\"https:\/\/www.google.com\/jobs\" class=\"external-link\">Jobs site<\/a> v\u0259 ya<br \/>\n  <a href=\"https:\/\/www.google.com\/privacy\" class=\"external-link\">Privacy Centers<\/a>.<br \/>\n  Maintaining tens of thousands of pages and constantly releasing new Google sites requires more<br \/>\n  than just passion for the job: it requires quality management.\n<\/p>\n<p>\n  In this post we won&#8217;t talk about all the different tests that can be run to analyze a website;<br \/>\n  instead we&#8217;ll just talk about HTML and CSS validation, and tracking quality over time.\n<\/p>\n<p>\n  Why does validation matter? There are different perspectives on validation\u2014at Google there are<br \/>\n  different approaches and priorities too\u2014but the Webmaster Team considers validation a baseline<br \/>\n  quality attribute. It doesn&#8217;t guarantee accessibility, performance, or maintainability, but it<br \/>\n  reduces the number of possible issues that could arise and in many cases indicates appropriate<br \/>\n  use of technology.\n<\/p>\n<p>\n  While paying a lot of attention to validation, we&#8217;ve developed a system to use it as a quality<br \/>\n  metric to measure how we&#8217;re doing on our own pages. Here&#8217;s what we do: we give each of our pages<br \/>\n  a score from 0-10 points, where 0 is worst (pages with 10 or more<br \/>\n  <a href=\"https:\/\/validator.w3.org\/\" class=\"external-link\">HTML<\/a> and<br \/>\n  <a href=\"https:\/\/jigsaw.w3.org\/css-validator\/\" class=\"external-link\">CSS validation<\/a><br \/>\n  errors) and 10 is best (0 validation errors). We started doing this more than two years ago,<br \/>\n  first by taking samples, now monitoring all our pages.\n<\/p>\n<p>\n  Since the beginning we&#8217;ve been documenting the validation scores we were calculating so that we<br \/>\n  could actually see how we&#8217;re doing on average and where we&#8217;re headed: is our output improving, or<br \/>\n  is it getting worse?\n<\/p>\n<p>Here&#8217;s what our data say:<\/p>\n<p><img decoding=\"async\" alt=\"HTML and CSS Validation score development at google between 2009-2011.\" src=\"https:\/\/alienroad.com\/wp-content\/uploads\/kb-gorsel\/g-7d67e4e3e09e.png\" loading=\"lazy\"><\/p>\n<p>\n  <b>On average<\/b> there are about three validation issues per page produced by the Webmaster Team<br \/>\n  (as we combine HTML and CSS validation in the scoring process, information about the origin gets<br \/>\n  lost), down from about four issues per page two years ago.\n<\/p>\n<p>\n  This information is valuable for us as it tells us how close we are to our goal of always shipping<br \/>\n  perfectly valid code, and it also tells us whether we&#8217;re on track or not. As you can see, with<br \/>\n  the exception of the 2nd quarter of 2009 and the 1st quarter of 2010, we are generally observing<br \/>\n  a positive trend.\n<\/p>\n<p>\n  What has to be kept in mind are issues with the integrity of the data, that is, the sample size<br \/>\n  as well as &#8220;false positives&#8221; in the validators. We&#8217;re working with the<br \/>\n  <a href=\"https:\/\/www.w3.org\/\" class=\"external-link\">W3C<\/a> in several ways, including reporting<br \/>\n  and helping to fix issues in the validators; however, as software can never be perfect, sometimes<br \/>\n  pages get dinged for non-issues: see for example the<br \/>\n  <a href=\"https:\/\/www.w3.org\/Bugs\/Public\/show_bug.cgi?id=11975\" class=\"external-link\"><code>border-radius<\/code> issue<\/a><br \/>\n  that has recently been fixed. We know that this is negatively affecting the validation scores<br \/>\n  we&#8217;re determining, but we have no data yet to indicate how much.\n<\/p>\n<p>\n  Although we track more than just validation for quality control purposes, validation plays an<br \/>\n  important role in measuring the health of Google&#8217;s informational websites.\n<\/p>\n<p>How do you use validation in your development process?<\/p>\n<p class=\"byline-author\">\n  Posted by<br \/>\n  <a href=\"https:\/\/plus.google.com\/114697646623413794481\/about\" rel=\"author\" class=\"external-link\">Jens O. Meiert<\/a>,<br \/>\n  Google Webmaster Team<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Monday, July 11, 2011 Google&#8217;s Webmaster Team is responsible for most of Google&#8217;s informational websites like Google&#8217;s Jobs site v\u0259 ya Privacy Centers. Maintaining tens of thousands of pages and constantly releasing new Google sites requires more than just passion for the job: it requires quality management. In this post we won&#8217;t talk about all [&hellip;]<\/p>\n","protected":false},"menu_order":84834,"template":"","meta":{"footnotes":""},"ar_kb_kategori":[665],"ar_kb_etiket":[],"class_list":["post-24568","ar_kb","type-ar_kb","status-publish","has-post-thumbnail","hentry","ar_kb_kategori-blog"],"_links":{"self":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb\/24568","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb"}],"about":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/types\/ar_kb"}],"version-history":[{"count":0,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb\/24568\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media\/26884"}],"wp:attachment":[{"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/media?parent=24568"}],"wp:term":[{"taxonomy":"ar_kb_kategori","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb_kategori?post=24568"},{"taxonomy":"ar_kb_etiket","embeddable":true,"href":"https:\/\/alienroad.com\/wp-json\/wp\/v2\/ar_kb_etiket?post=24568"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}