{"id":4326,"date":"2012-05-08T00:45:31","date_gmt":"2012-05-08T04:45:31","guid":{"rendered":"http:\/\/esr.ibiblio.org\/?p=4326"},"modified":"2014-03-10T16:40:46","modified_gmt":"2014-03-10T20:40:46","slug":"some-figures-that-make-me-happy","status":"publish","type":"post","link":"http:\/\/esr.ibiblio.org\/?p=4326","title":{"rendered":"Some figures that make me happy."},"content":{"rendered":"<p>I got emailed summaries from a Coverity scan of the repo head version of GPSD today.<\/p>\n<p><!--more--><\/p>\n<pre>\r\nAnalysis summary report:\r\n------------------------\r\nFiles analyzed                  : 86\r\nTotal LoC input to cov-analyze  : 72824\r\nFunctions analyzed              : 585\r\nClasses\/structs analyzed        : 128\r\nPaths analyzed                  : 125590\r\nTime taken by Coverity analysis : 00:01:22\r\nDefect occurrences found        : 45 Total\r\n                                   2 BAD_SIZEOF\r\n                                   2 CHECKED_RETURN\r\n                                   4 CONSTANT_EXPRESSION_RESULT\r\n                                   3 DEADCODE\r\n                                  12 FORWARD_NULL\r\n                                   1 INFINITE_LOOP\r\n                                   1 NEGATIVE_RETURNS\r\n                                   1 NULL_RETURNS\r\n                                   1 OVERRUN_DYNAMIC\r\n                                   3 OVERRUN_STATIC\r\n                                   6 RESOURCE_LEAK\r\n                                   1 REVERSE_INULL\r\n                                   7 UNINIT\r\n                                   1 UNREACHABLE\r\n<\/pre>\n<p>Those of you who&#8217;ve seen Coverity scans before will know that (1) a defect rate of 1 per 1.68KLOC is pretty damned good to begin with, and (2) some of those reports are probably false positives.<\/p>\n<p>I am <em>extremely<\/em> pleased, and looking forward to analyzing the detail logs.<\/p>\n<p>UPDATE: Oops. Misplaced a decimal point on first post.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I got emailed summaries from a Coverity scan of the repo head version of GPSD today.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[32],"class_list":["post-4326","post","type-post","status-publish","format-standard","hentry","category-software","tag-gpsd","entry"],"_links":{"self":[{"href":"http:\/\/esr.ibiblio.org\/index.php?rest_route=\/wp\/v2\/posts\/4326","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/esr.ibiblio.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/esr.ibiblio.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/esr.ibiblio.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/esr.ibiblio.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4326"}],"version-history":[{"count":5,"href":"http:\/\/esr.ibiblio.org\/index.php?rest_route=\/wp\/v2\/posts\/4326\/revisions"}],"predecessor-version":[{"id":5393,"href":"http:\/\/esr.ibiblio.org\/index.php?rest_route=\/wp\/v2\/posts\/4326\/revisions\/5393"}],"wp:attachment":[{"href":"http:\/\/esr.ibiblio.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4326"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/esr.ibiblio.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4326"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/esr.ibiblio.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}