<?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: Finding all Unused Public Methods in Java</title>
	<atom:link href="http://blog.kriskemper.com/2008/05/14/finding-all-unused-public-methods-in-java/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.kriskemper.com/2008/05/14/finding-all-unused-public-methods-in-java/</link>
	<description>Thoughtworker, Agile Philosopher, Hero</description>
	<lastBuildDate>Sun, 11 Sep 2011 04:15:23 -0700</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Kris Kemper</title>
		<link>http://blog.kriskemper.com/2008/05/14/finding-all-unused-public-methods-in-java/comment-page-1/#comment-529</link>
		<dc:creator>Kris Kemper</dc:creator>
		<pubDate>Sat, 20 Sep 2008 03:35:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kriskemper.com/2008/05/14/finding-all-unused-public-methods-in-java/#comment-529</guid>
		<description>Thanks Joerg Spieler! I&#039;ll try it out. I&#039;m glad to find out that a tool like exists.</description>
		<content:encoded><![CDATA[<p>Thanks Joerg Spieler! I&#8217;ll try it out. I&#8217;m glad to find out that a tool like exists.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joerg Spieler</title>
		<link>http://blog.kriskemper.com/2008/05/14/finding-all-unused-public-methods-in-java/comment-page-1/#comment-511</link>
		<dc:creator>Joerg Spieler</dc:creator>
		<pubDate>Fri, 19 Sep 2008 12:57:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kriskemper.com/2008/05/14/finding-all-unused-public-methods-in-java/#comment-511</guid>
		<description>Here is a Eclipse plugin to find unused public methods:
http://www.ucdetector.org/</description>
		<content:encoded><![CDATA[<p>Here is a Eclipse plugin to find unused public methods:<br />
<a href="http://www.ucdetector.org/" rel="nofollow">http://www.ucdetector.org/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris Kemper</title>
		<link>http://blog.kriskemper.com/2008/05/14/finding-all-unused-public-methods-in-java/comment-page-1/#comment-494</link>
		<dc:creator>Kris Kemper</dc:creator>
		<pubDate>Thu, 18 Sep 2008 14:27:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kriskemper.com/2008/05/14/finding-all-unused-public-methods-in-java/#comment-494</guid>
		<description>Sorry man, I never got back to this again. I&#039;m sure that if I ever have to do it again, I&#039;ll attempt the Eclipse Shell approach.</description>
		<content:encoded><![CDATA[<p>Sorry man, I never got back to this again. I&#8217;m sure that if I ever have to do it again, I&#8217;ll attempt the Eclipse Shell approach.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: XM</title>
		<link>http://blog.kriskemper.com/2008/05/14/finding-all-unused-public-methods-in-java/comment-page-1/#comment-485</link>
		<dc:creator>XM</dc:creator>
		<pubDate>Thu, 18 Sep 2008 07:09:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kriskemper.com/2008/05/14/finding-all-unused-public-methods-in-java/#comment-485</guid>
		<description>Hey Kris, I&#039;m facing a similar cleanup pain... 
did you manage to create the script for finding unused methods?</description>
		<content:encoded><![CDATA[<p>Hey Kris, I&#8217;m facing a similar cleanup pain&#8230;<br />
did you manage to create the script for finding unused methods?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim LoVerde</title>
		<link>http://blog.kriskemper.com/2008/05/14/finding-all-unused-public-methods-in-java/comment-page-1/#comment-17</link>
		<dc:creator>Jim LoVerde</dc:creator>
		<pubDate>Thu, 15 May 2008 16:05:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kriskemper.com/2008/05/14/finding-all-unused-public-methods-in-java/#comment-17</guid>
		<description>Depending on the comprehensiveness of your unit/integration/functional tests, you could run your tests over your codebase using a coverage tool like Emma or Cobertura and then use the reports to indentify getters/setters that were never invoked.

It&#039;s true that this might give some false positives if your tests aren&#039;t complete.  But that&#039;s also true of a static code analyzer like Eclipse&#039;s if you have anything in your application that might be calling those getters/setters via reflection.</description>
		<content:encoded><![CDATA[<p>Depending on the comprehensiveness of your unit/integration/functional tests, you could run your tests over your codebase using a coverage tool like Emma or Cobertura and then use the reports to indentify getters/setters that were never invoked.</p>
<p>It&#8217;s true that this might give some false positives if your tests aren&#8217;t complete.  But that&#8217;s also true of a static code analyzer like Eclipse&#8217;s if you have anything in your application that might be calling those getters/setters via reflection.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris Kemper</title>
		<link>http://blog.kriskemper.com/2008/05/14/finding-all-unused-public-methods-in-java/comment-page-1/#comment-14</link>
		<dc:creator>Kris Kemper</dc:creator>
		<pubDate>Wed, 14 May 2008 18:00:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kriskemper.com/2008/05/14/finding-all-unused-public-methods-in-java/#comment-14</guid>
		<description>Thanks dude, that looks like a good tool for what I want.</description>
		<content:encoded><![CDATA[<p>Thanks dude, that looks like a good tool for what I want.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: murphee</title>
		<link>http://blog.kriskemper.com/2008/05/14/finding-all-unused-public-methods-in-java/comment-page-1/#comment-13</link>
		<dc:creator>murphee</dc:creator>
		<pubDate>Wed, 14 May 2008 15:12:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kriskemper.com/2008/05/14/finding-all-unused-public-methods-in-java/#comment-13</guid>
		<description>Script your task - either checkout EclipseMonkey, or use the interactive EclipseShell:
http://eclipse-shell.sourceforge.net/
 (which gives you a choice of JRuby/Beanshell/Rhino).

Basically: I guess what you could do is use the functionality of &quot;Find all References&quot;, and simply do that for all methods (you just get the CompilationUnit for the class, and that allows you to get classes and their members).</description>
		<content:encoded><![CDATA[<p>Script your task &#8211; either checkout EclipseMonkey, or use the interactive EclipseShell:<br />
<a href="http://eclipse-shell.sourceforge.net/" rel="nofollow">http://eclipse-shell.sourceforge.net/</a><br />
 (which gives you a choice of JRuby/Beanshell/Rhino).</p>
<p>Basically: I guess what you could do is use the functionality of &#8220;Find all References&#8221;, and simply do that for all methods (you just get the CompilationUnit for the class, and that allows you to get classes and their members).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

