<?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: How toxic is your code?</title>
	<atom:link href="http://erik.doernenburg.com/2008/11/how-toxic-is-your-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://erik.doernenburg.com/2008/11/how-toxic-is-your-code/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 02 Jan 2012 19:53:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Metrics based Refactoring for cleaner code</title>
		<link>http://erik.doernenburg.com/2008/11/how-toxic-is-your-code/comment-page-1/#comment-10907</link>
		<dc:creator>Metrics based Refactoring for cleaner code</dc:creator>
		<pubDate>Mon, 02 Jan 2012 19:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://erik.doernenburg.com/?p=133#comment-10907</guid>
		<description>[...] Toxicity charts have proved very useful in quantifying the amount of technical debt in a code-base. The magnitude of the debt is quantified by comparing a value against an arbitrary threshold. The toxicity is expressed as a score against the threshold. [...]</description>
		<content:encoded><![CDATA[<p>[...] Toxicity charts have proved very useful in quantifying the amount of technical debt in a code-base. The magnitude of the debt is quantified by comparing a value against an arbitrary threshold. The toxicity is expressed as a score against the threshold. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Srivatsa Katta</title>
		<link>http://erik.doernenburg.com/2008/11/how-toxic-is-your-code/comment-page-1/#comment-10893</link>
		<dc:creator>Srivatsa Katta</dc:creator>
		<pubDate>Sun, 01 Jan 2012 05:23:16 +0000</pubDate>
		<guid isPermaLink="false">http://erik.doernenburg.com/?p=133#comment-10893</guid>
		<description>Excellent post, we wanted to calculate toxicity on every checkin and monitor how we are improving the legacy code base. The excel sheet import needed some manual effort, so I wrote a small java utility which runs based on the checkstyle report and generates the toxicity (for all the important checks mentioned in this post). 

Yes the report generated is just numbers doesn&#039;t have fancy visual representation of toxicity using graphs and all, but serves the purpose of hooking it up to the continuous integration tool.

More details : https://github.com/katta/toxicity

Thanks Erik again for this post which helped me understand how toxicity is calculated.</description>
		<content:encoded><![CDATA[<p>Excellent post, we wanted to calculate toxicity on every checkin and monitor how we are improving the legacy code base. The excel sheet import needed some manual effort, so I wrote a small java utility which runs based on the checkstyle report and generates the toxicity (for all the important checks mentioned in this post). </p>
<p>Yes the report generated is just numbers doesn&#8217;t have fancy visual representation of toxicity using graphs and all, but serves the purpose of hooking it up to the continuous integration tool.</p>
<p>More details : <a href="https://github.com/katta/toxicity" rel="nofollow">https://github.com/katta/toxicity</a></p>
<p>Thanks Erik again for this post which helped me understand how toxicity is calculated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How Toxic is your Code? &#124; OnTechnicalDebt &#124; The Premiere Technical Debt Online Community</title>
		<link>http://erik.doernenburg.com/2008/11/how-toxic-is-your-code/comment-page-1/#comment-10736</link>
		<dc:creator>How Toxic is your Code? &#124; OnTechnicalDebt &#124; The Premiere Technical Debt Online Community</dc:creator>
		<pubDate>Thu, 15 Dec 2011 22:25:06 +0000</pubDate>
		<guid isPermaLink="false">http://erik.doernenburg.com/?p=133#comment-10736</guid>
		<description>[...] Erik Bornenburg has an excellent post on his blog about how you can visualize your code and understand which part of it is part, compared to the rest of the code. This can be extremely useful in helping managers and non-developers understand the internal quality of the code. This post shows us how Toxicity Charts can help you see the technical debt that has been built up in your software: http://erik.doernenburg.com/2008/11/how-toxic-is-your-code/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Erik Bornenburg has an excellent post on his blog about how you can visualize your code and understand which part of it is part, compared to the rest of the code. This can be extremely useful in helping managers and non-developers understand the internal quality of the code. This post shows us how Toxicity Charts can help you see the technical debt that has been built up in your software: <a href="http://erik.doernenburg.com/2008/11/how-toxic-is-your-code/" rel="nofollow">http://erik.doernenburg.com/2008/11/how-toxic-is-your-code/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: My Testing and Code Analysis Toolbox &#124; The Agile Radar</title>
		<link>http://erik.doernenburg.com/2008/11/how-toxic-is-your-code/comment-page-1/#comment-10707</link>
		<dc:creator>My Testing and Code Analysis Toolbox &#124; The Agile Radar</dc:creator>
		<pubDate>Mon, 12 Dec 2011 09:13:12 +0000</pubDate>
		<guid isPermaLink="false">http://erik.doernenburg.com/?p=133#comment-10707</guid>
		<description>[...] CheckStyle: A static code analysis that finds lots of bad practices and can check lots of coding conventions too. Integrates in IDEs and CI server. There are other tools in this area which are worth considering: FindBugs and PMD. You can also use Checkstyle in order to gather simple metrics about your code. [...]</description>
		<content:encoded><![CDATA[<p>[...] CheckStyle: A static code analysis that finds lots of bad practices and can check lots of coding conventions too. Integrates in IDEs and CI server. There are other tools in this area which are worth considering: FindBugs and PMD. You can also use Checkstyle in order to gather simple metrics about your code. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Schauderhaft &#187; My Testing and Code Analysis Toolbox</title>
		<link>http://erik.doernenburg.com/2008/11/how-toxic-is-your-code/comment-page-1/#comment-10697</link>
		<dc:creator>Schauderhaft &#187; My Testing and Code Analysis Toolbox</dc:creator>
		<pubDate>Sun, 11 Dec 2011 06:42:02 +0000</pubDate>
		<guid isPermaLink="false">http://erik.doernenburg.com/?p=133#comment-10697</guid>
		<description>[...] CheckStyle: A static code analysis that finds lots of bad practices and can check lots of coding conventions too. Integrates in IDEs and CI server. There are other tools in this area which are worth considering: FindBugs and PMD. You can also use Checkstyle in order to gather simple metrics about your code. [...]</description>
		<content:encoded><![CDATA[<p>[...] CheckStyle: A static code analysis that finds lots of bad practices and can check lots of coding conventions too. Integrates in IDEs and CI server. There are other tools in this area which are worth considering: FindBugs and PMD. You can also use Checkstyle in order to gather simple metrics about your code. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: What am I thinking about? Visualising your technical debt &#171; On The Job Alliance</title>
		<link>http://erik.doernenburg.com/2008/11/how-toxic-is-your-code/comment-page-1/#comment-10521</link>
		<dc:creator>What am I thinking about? Visualising your technical debt &#171; On The Job Alliance</dc:creator>
		<pubDate>Mon, 21 Nov 2011 11:23:10 +0000</pubDate>
		<guid isPermaLink="false">http://erik.doernenburg.com/?p=133#comment-10521</guid>
		<description>[...] find out more about these visualisation methods check out Erik&#8217;s blog article and his excellent presentation of Software Quality &#8211; you know it when you see [...]</description>
		<content:encoded><![CDATA[<p>[...] find out more about these visualisation methods check out Erik&#8217;s blog article and his excellent presentation of Software Quality &#8211; you know it when you see [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik Doernenburg</title>
		<link>http://erik.doernenburg.com/2008/11/how-toxic-is-your-code/comment-page-1/#comment-10341</link>
		<dc:creator>Erik Doernenburg</dc:creator>
		<pubDate>Fri, 28 Oct 2011 15:44:14 +0000</pubDate>
		<guid isPermaLink="false">http://erik.doernenburg.com/?p=133#comment-10341</guid>
		<description>Danny, what &quot;stack size&quot; are you referring to? That article doesn&#039;t mention it.</description>
		<content:encoded><![CDATA[<p>Danny, what &#8220;stack size&#8221; are you referring to? That article doesn&#8217;t mention it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danny Arica</title>
		<link>http://erik.doernenburg.com/2008/11/how-toxic-is-your-code/comment-page-1/#comment-10333</link>
		<dc:creator>Danny Arica</dc:creator>
		<pubDate>Thu, 27 Oct 2011 16:13:26 +0000</pubDate>
		<guid isPermaLink="false">http://erik.doernenburg.com/?p=133#comment-10333</guid>
		<description>What does &quot;stack size&quot; mean?</description>
		<content:encoded><![CDATA[<p>What does &#8220;stack size&#8221; mean?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Digital Dim Sum &#187; Blog Archive &#187; Dealing with creaky legacy platforms</title>
		<link>http://erik.doernenburg.com/2008/11/how-toxic-is-your-code/comment-page-1/#comment-8556</link>
		<dc:creator>Digital Dim Sum &#187; Blog Archive &#187; Dealing with creaky legacy platforms</dc:creator>
		<pubDate>Thu, 03 Feb 2011 20:11:02 +0000</pubDate>
		<guid isPermaLink="false">http://erik.doernenburg.com/?p=133#comment-8556</guid>
		<description>[...] Toxicity, another aggregated metric, has been playing a prominent role in our “system health checks” at ThoughtWorks. Toxicity charts stack multiple static analysis metrics for classes, methods, or components within an application, providing a combined “toxicity” score for each area of the code base (see Figure 2). This gives our clients guidance on where to start looking to fix problems. [...]</description>
		<content:encoded><![CDATA[<p>[...] Toxicity, another aggregated metric, has been playing a prominent role in our “system health checks” at ThoughtWorks. Toxicity charts stack multiple static analysis metrics for classes, methods, or components within an application, providing a combined “toxicity” score for each area of the code base (see Figure 2). This gives our clients guidance on where to start looking to fix problems. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Cartwright</title>
		<link>http://erik.doernenburg.com/2008/11/how-toxic-is-your-code/comment-page-1/#comment-6298</link>
		<dc:creator>Ian Cartwright</dc:creator>
		<pubDate>Wed, 24 Feb 2010 17:34:44 +0000</pubDate>
		<guid isPermaLink="false">http://erik.doernenburg.com/?p=133#comment-6298</guid>
		<description>Noticed a problem with Integer overflows for very large values of NPath complexity, the CheckStyle team fixed the same overflow issue themselves a while back.

The fix is pretty simple, just need to change the declaration for &#039;values&#039; from Integer to Long. See below

Function CalculateScore(n As String) As Variant
   If (n = &quot;score&quot;) Then
       CalculateScore = n
   Else
       Dim values(0 To 2) As Long
       values(0) = -1
       values(1) = -1</description>
		<content:encoded><![CDATA[<p>Noticed a problem with Integer overflows for very large values of NPath complexity, the CheckStyle team fixed the same overflow issue themselves a while back.</p>
<p>The fix is pretty simple, just need to change the declaration for &#8216;values&#8217; from Integer to Long. See below</p>
<p>Function CalculateScore(n As String) As Variant<br />
   If (n = &#8220;score&#8221;) Then<br />
       CalculateScore = n<br />
   Else<br />
       Dim values(0 To 2) As Long<br />
       values(0) = -1<br />
       values(1) = -1</p>
]]></content:encoded>
	</item>
</channel>
</rss>

