<?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"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Which Code Metrics Do You Consider Important?</title> <atom:link href="http://davybrion.com/blog/2009/12/which-code-metrics-do-you-consider-important/feed/" rel="self" type="application/rss+xml" /><link>http://davybrion.com/blog/2009/12/which-code-metrics-do-you-consider-important/</link> <description>inquisitive: adjective. given to inquiry, research, or asking questions; eager for knowledge; intellectually curious</description> <lastBuildDate>Wed, 08 Feb 2012 11:42:42 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Weekly Links #83 &#124; GrantPalin.com</title><link>http://davybrion.com/blog/2009/12/which-code-metrics-do-you-consider-important/comment-page-1/#comment-23197</link> <dc:creator>Weekly Links #83 &#124; GrantPalin.com</dc:creator> <pubDate>Sun, 13 Dec 2009 22:58:00 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=2024#comment-23197</guid> <description>[...] Which Code Metrics Do You Consider Important? Good information to collect for any programming project. [...]</description> <content:encoded><![CDATA[<p>[...] Which Code Metrics Do You Consider Important? Good information to collect for any programming project. [...]</p> ]]></content:encoded> </item> <item><title>By: Davy Brion</title><link>http://davybrion.com/blog/2009/12/which-code-metrics-do-you-consider-important/comment-page-1/#comment-23164</link> <dc:creator>Davy Brion</dc:creator> <pubDate>Fri, 11 Dec 2009 15:31:18 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=2024#comment-23164</guid> <description>http://davybrion.com/blog/2009/12/ndepend-and-lack-of-cohesion-of-methods-not-to-be-trusted/that&#039;s an example of how incorrect the LOCM and LOCM HS methods can be</description> <content:encoded><![CDATA[<p><a
href="http://davybrion.com/blog/2009/12/ndepend-and-lack-of-cohesion-of-methods-not-to-be-trusted/" rel="nofollow">http://davybrion.com/blog/2009/12/ndepend-and-lack-of-cohesion-of-methods-not-to-be-trusted/</a></p><p>that&#8217;s an example of how incorrect the LOCM and LOCM HS methods can be</p> ]]></content:encoded> </item> <item><title>By: Reflective Perspective - Chris Alcock &#187; The Morning Brew #495</title><link>http://davybrion.com/blog/2009/12/which-code-metrics-do-you-consider-important/comment-page-1/#comment-23145</link> <dc:creator>Reflective Perspective - Chris Alcock &#187; The Morning Brew #495</dc:creator> <pubDate>Thu, 10 Dec 2009 09:55:04 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=2024#comment-23145</guid> <description>[...] Which Code Metrics Do You Consider Important? - Davy Brion discusses the topic of Code Metrics with a look at the various metrics offered by NDepend, classifying them into ones he finds useful, and ones that you might thing would be interesting but he doesn&#8217;t find interesting. Some good discussions starting in the comments on this one [...]</description> <content:encoded><![CDATA[<p>[...] Which Code Metrics Do You Consider Important? &#8211; Davy Brion discusses the topic of Code Metrics with a look at the various metrics offered by NDepend, classifying them into ones he finds useful, and ones that you might thing would be interesting but he doesn&#8217;t find interesting. Some good discussions starting in the comments on this one [...]</p> ]]></content:encoded> </item> <item><title>By: Łukasz Podolak</title><link>http://davybrion.com/blog/2009/12/which-code-metrics-do-you-consider-important/comment-page-1/#comment-23143</link> <dc:creator>Łukasz Podolak</dc:creator> <pubDate>Thu, 10 Dec 2009 08:57:59 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=2024#comment-23143</guid> <description>one more, often forgotten: the size of your wallet</description> <content:encoded><![CDATA[<p>one more, often forgotten: the size of your wallet</p> ]]></content:encoded> </item> <item><title>By: Davy Brion</title><link>http://davybrion.com/blog/2009/12/which-code-metrics-do-you-consider-important/comment-page-1/#comment-23142</link> <dc:creator>Davy Brion</dc:creator> <pubDate>Thu, 10 Dec 2009 08:47:08 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=2024#comment-23142</guid> <description>@Patrickno, i&#039;m saying that:
a) some of the metrics show bad results, even though the code is good and i think it&#039;s solely because of DI/IOC
b) some of the metrics are wrong (i think)... the number of fields reported for a type is often incorrect when lambda&#039;s are used (even though the anonymous classes also show up in the report) which ruins the LOCM metric</description> <content:encoded><![CDATA[<p>@Patrick</p><p>no, i&#8217;m saying that:<br
/> a) some of the metrics show bad results, even though the code is good and i think it&#8217;s solely because of DI/IOC<br
/> b) some of the metrics are wrong (i think)&#8230; the number of fields reported for a type is often incorrect when lambda&#8217;s are used (even though the anonymous classes also show up in the report) which ruins the LOCM metric</p> ]]></content:encoded> </item> <item><title>By: Patrick Smacchia</title><link>http://davybrion.com/blog/2009/12/which-code-metrics-do-you-consider-important/comment-page-1/#comment-23141</link> <dc:creator>Patrick Smacchia</dc:creator> <pubDate>Thu, 10 Dec 2009 08:43:55 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=2024#comment-23141</guid> <description>Concerning coverage;
&lt;a href=&quot;http://codebetter.com/blogs/patricksmacchia/archive/2009/06/07/high-test-coverage-ratio-is-a-good-thing-anyway.aspx&quot; rel=&quot;nofollow&quot;&gt;High Test Coverage Ratio is a good thing, Anyway! &lt;/a&gt;Concerning DI/IOC, basically you say that because you abide by good abstraction principles, metrics values will be good anyway and you don&#039;t need them. The other half is true, if metrics value are bad, it certainly means you don&#039;t abide by good principles and thus, metrics are useful :o)Btw, instability IS a better thing than stability (in the context of abstracness vs. instanbility), since instability means that changes won&#039;t propagate too much.</description> <content:encoded><![CDATA[<p>Concerning coverage;<br
/> <a
href="http://codebetter.com/blogs/patricksmacchia/archive/2009/06/07/high-test-coverage-ratio-is-a-good-thing-anyway.aspx" rel="nofollow">High Test Coverage Ratio is a good thing, Anyway! </a></p><p>Concerning DI/IOC, basically you say that because you abide by good abstraction principles, metrics values will be good anyway and you don&#8217;t need them. The other half is true, if metrics value are bad, it certainly means you don&#8217;t abide by good principles and thus, metrics are useful <img
src='http://d18sni7re4ly7f.cloudfront.net/blog/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> )</p><p>Btw, instability IS a better thing than stability (in the context of abstracness vs. instanbility), since instability means that changes won&#8217;t propagate too much.</p> ]]></content:encoded> </item> <item><title>By: Davy Brion</title><link>http://davybrion.com/blog/2009/12/which-code-metrics-do-you-consider-important/comment-page-1/#comment-23139</link> <dc:creator>Davy Brion</dc:creator> <pubDate>Thu, 10 Dec 2009 05:54:41 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=2024#comment-23139</guid> <description>@Patrickthat would only be useful of if the code coverage metric was &lt;a href=&quot;http://davybrion.com/blog/2009/10/theres-only-one-thing-you-can-learn-from-code-coverage/&quot; rel=&quot;nofollow&quot;&gt;actually useful&lt;/a&gt; ;)any thoughts/comments on what i said about the metrics that i think are irrelevant when using DI/IOC?</description> <content:encoded><![CDATA[<p>@Patrick</p><p>that would only be useful of if the code coverage metric was <a
href="http://davybrion.com/blog/2009/10/theres-only-one-thing-you-can-learn-from-code-coverage/" rel="nofollow">actually useful</a> <img
src='http://d18sni7re4ly7f.cloudfront.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p><p>any thoughts/comments on what i said about the metrics that i think are irrelevant when using DI/IOC?</p> ]]></content:encoded> </item> <item><title>By: Patrick Smacchia</title><link>http://davybrion.com/blog/2009/12/which-code-metrics-do-you-consider-important/comment-page-1/#comment-23137</link> <dc:creator>Patrick Smacchia</dc:creator> <pubDate>Wed, 09 Dec 2009 22:44:02 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=2024#comment-23137</guid> <description>I found metrics on method level pretty useful:NbLinesOfCode, NbILInstructions, Method rank, Afferent coupling at method level (MethodCa), Efferent coupling at method level (MethodCe), Code Source Cyclomatic Complexity, IL Cyclomatic Complexity (ILCC), IL Nesting Depth, NbParameters, NbVariables, NbOverloads, PercentageCoverage, NbLinesOfCodeCovered, NbLinesOfCodeNotCovered, PercentageBranchCoveragebut my preferred measure, is to assess how changed an new code is covered by tests:
&lt;a href=&quot;http://codebetter.com/blogs/patricksmacchia/archive/2008/07/10/are-you-sure-added-and-refactored-code-is-covered-by-tests.aspx&quot; rel=&quot;nofollow&quot;&gt;Are you sure added and refactored code is covered by tests?&lt;/a&gt;</description> <content:encoded><![CDATA[<p>I found metrics on method level pretty useful:</p><p>NbLinesOfCode, NbILInstructions, Method rank, Afferent coupling at method level (MethodCa), Efferent coupling at method level (MethodCe), Code Source Cyclomatic Complexity, IL Cyclomatic Complexity (ILCC), IL Nesting Depth, NbParameters, NbVariables, NbOverloads, PercentageCoverage, NbLinesOfCodeCovered, NbLinesOfCodeNotCovered, PercentageBranchCoverage</p><p>but my preferred measure, is to assess how changed an new code is covered by tests:<br
/> <a
href="http://codebetter.com/blogs/patricksmacchia/archive/2008/07/10/are-you-sure-added-and-refactored-code-is-covered-by-tests.aspx" rel="nofollow">Are you sure added and refactored code is covered by tests?</a></p> ]]></content:encoded> </item> <item><title>By: Matt Lacey</title><link>http://davybrion.com/blog/2009/12/which-code-metrics-do-you-consider-important/comment-page-1/#comment-23136</link> <dc:creator>Matt Lacey</dc:creator> <pubDate>Wed, 09 Dec 2009 17:15:44 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=2024#comment-23136</guid> <description>A few things I like to keep track of:
- Undocumented public methods
- Code coverage of Unit tests (but being aware that this isn&#039;t an end to anything in itself)
- Number of comments (only zero is a flag - on a purely numbers level this shouldn&#039;t need to be high if good naming used)</description> <content:encoded><![CDATA[<p>A few things I like to keep track of:<br
/> - Undocumented public methods<br
/> - Code coverage of Unit tests (but being aware that this isn&#8217;t an end to anything in itself)<br
/> - Number of comments (only zero is a flag &#8211; on a purely numbers level this shouldn&#8217;t need to be high if good naming used)</p> ]]></content:encoded> </item> <item><title>By: Davy Brion</title><link>http://davybrion.com/blog/2009/12/which-code-metrics-do-you-consider-important/comment-page-1/#comment-23132</link> <dc:creator>Davy Brion</dc:creator> <pubDate>Wed, 09 Dec 2009 13:54:27 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=2024#comment-23132</guid> <description>well yeah, but that&#039;s not one that you can easily get out of any tool ;)</description> <content:encoded><![CDATA[<p>well yeah, but that&#8217;s not one that you can easily get out of any tool <img
src='http://d18sni7re4ly7f.cloudfront.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: Steve Degosserie</title><link>http://davybrion.com/blog/2009/12/which-code-metrics-do-you-consider-important/comment-page-1/#comment-23131</link> <dc:creator>Steve Degosserie</dc:creator> <pubDate>Wed, 09 Dec 2009 11:46:24 +0000</pubDate> <guid
isPermaLink="false">http://davybrion.com/blog/?p=2024#comment-23131</guid> <description>The pain level it takes to add new features / modify existing ones is a pretty good metric, although a highly subjective one.</description> <content:encoded><![CDATA[<p>The pain level it takes to add new features / modify existing ones is a pretty good metric, although a highly subjective one.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 3/17 queries in 0.012 seconds using disk: basic
Object Caching 495/500 objects using disk: basic
Content Delivery Network via Amazon Web Services: CloudFront: d18sni7re4ly7f.cloudfront.net

Served from: davybrion.com @ 2012-02-08 19:29:21 -->
