<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Code Coverage as a Metric</title>
	<atom:link href="http://laribee.com/blog/2007/02/28/code-coverage-as-a-metric/feed/" rel="self" type="application/rss+xml" />
	<link>http://laribee.com/blog/2007/02/28/code-coverage-as-a-metric/</link>
	<description>Coaching, Process, Design, Speculation</description>
	<pubDate>Sat, 22 Nov 2008 07:14:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: the &#8216;bee log / Using Attributes to Exclude Code from Coverage</title>
		<link>http://laribee.com/blog/2007/02/28/code-coverage-as-a-metric/#comment-4574</link>
		<dc:creator>the &#8216;bee log / Using Attributes to Exclude Code from Coverage</dc:creator>
		<pubDate>Wed, 18 Apr 2007 14:07:53 +0000</pubDate>
		<guid isPermaLink="false">http://laribee.com/blog/2007/02/28/code-coverage-as-a-metric/#comment-4574</guid>
		<description>[...] got pretty good coverage (despite my mixed feelings on the code coverage metric) on the library but, still, there&#8217;s this one class with nothing but HttpContext this and [...]</description>
		<content:encoded><![CDATA[<p>[...] got pretty good coverage (despite my mixed feelings on the code coverage metric) on the library but, still, there&#8217;s this one class with nothing but HttpContext this and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://laribee.com/blog/2007/02/28/code-coverage-as-a-metric/#comment-925</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Sun, 04 Mar 2007 23:42:07 +0000</pubDate>
		<guid isPermaLink="false">http://laribee.com/blog/2007/02/28/code-coverage-as-a-metric/#comment-925</guid>
		<description>Yeah, I'm with you.

I'm not saying one should run without or ignore the metric and agree whole heartedly that it is a "decent indicator", but I do think that the number tells you almost absolutely nothing of the quality of the coverage. 

Let's say a lot of your coverage comes from stuffing/fetching values from simple, pass-through mutators/accessors. What do those points rolling up into the percentage tell you then? Even with 100% coverage (through proper exclusion) there's no guarantee that the tests are any good or represent a reasonable set of assertions. 

All I'm saying is: getting to the top of the code quality hierarchy of needs comes down to difficult-to-measure things and human factors such as testing skill, pair programming, code review, etc. Once the people get there I'm curious to see if the metric expressed as a delta (iteration over iteration or day over day) might not be another good thing for our bag of tricks.</description>
		<content:encoded><![CDATA[<p>Yeah, I&#8217;m with you.</p>
<p>I&#8217;m not saying one should run without or ignore the metric and agree whole heartedly that it is a &#8220;decent indicator&#8221;, but I do think that the number tells you almost absolutely nothing of the quality of the coverage. </p>
<p>Let&#8217;s say a lot of your coverage comes from stuffing/fetching values from simple, pass-through mutators/accessors. What do those points rolling up into the percentage tell you then? Even with 100% coverage (through proper exclusion) there&#8217;s no guarantee that the tests are any good or represent a reasonable set of assertions. </p>
<p>All I&#8217;m saying is: getting to the top of the code quality hierarchy of needs comes down to difficult-to-measure things and human factors such as testing skill, pair programming, code review, etc. Once the people get there I&#8217;m curious to see if the metric expressed as a delta (iteration over iteration or day over day) might not be another good thing for our bag of tricks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris donnan</title>
		<link>http://laribee.com/blog/2007/02/28/code-coverage-as-a-metric/#comment-904</link>
		<dc:creator>chris donnan</dc:creator>
		<pubDate>Sun, 04 Mar 2007 16:10:55 +0000</pubDate>
		<guid isPermaLink="false">http://laribee.com/blog/2007/02/28/code-coverage-as-a-metric/#comment-904</guid>
		<description>Code Coverage is a useful thermometer. It is not the actual 'health' per-say - but a decent aggregate indicator of health. In a nutshell - if you have 0% coverage - you are dead. If you have coverage of something - your are better than dead. If you - in general have coverage in a good area (say 70%) then you are probably doing something alright.</description>
		<content:encoded><![CDATA[<p>Code Coverage is a useful thermometer. It is not the actual &#8216;health&#8217; per-say - but a decent aggregate indicator of health. In a nutshell - if you have 0% coverage - you are dead. If you have coverage of something - your are better than dead. If you - in general have coverage in a good area (say 70%) then you are probably doing something alright.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
