<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Grayger &#187; Findbugs</title>
	<atom:link href="http://www.grayger.com/tag/findbugs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.grayger.com</link>
	<description>In the pursuit of effectiveness</description>
	<lastBuildDate>Sat, 02 Jul 2011 16:38:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>My 2007 as a developer</title>
		<link>http://www.grayger.com/uncategorized/my-2007-as-a-developer/</link>
		<comments>http://www.grayger.com/uncategorized/my-2007-as-a-developer/#comments</comments>
		<pubDate>Mon, 07 Jan 2008 13:29:53 +0000</pubDate>
		<dc:creator>grayger</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Anthill]]></category>
		<category><![CDATA[Findbugs]]></category>
		<category><![CDATA[JavaRanch]]></category>
		<category><![CDATA[JProfiler]]></category>
		<category><![CDATA[PMD]]></category>
		<category><![CDATA[Pygame]]></category>
		<category><![CDATA[UISpec4J]]></category>

		<guid isPermaLink="false">http://www.grayger.com/wp/?p=26</guid>
		<description><![CDATA[I listed up what I did last year as a developer.

Analysis: One of my research areas during graduate years was software analysis in design phases. Last year, I took a deep interest in code-level analysis, even runtime analysys. PMD and FindBugs were my friends. They are open-source projects and I added some rules (Checking is [...]]]></description>
			<content:encoded><![CDATA[<p style="margin: 0in; font-family: Verdana; font-size: 10pt">I listed up what I did last year as a developer.</p>
<ol>
<li>Analysis: One of my research areas during graduate years was software analysis in design phases. Last year, I took a deep interest in code-level analysis, even runtime analysys. PMD and FindBugs were my friends. They are open-source projects and I added some rules (Checking is performed based on pre-defined rules) for my project at company. Performance is our main concern; I investigated our products with JProfiler. I compared Java profilers: JProbe, Yourkit Java Profiler, Eclipse TPTP, and JProfiler. Being friendly with these tools takes longer than expected. IMHO, JProfiler is the winner. To fully understand and utilize Profilers, I studied Java memory model and Java concurrency deeply.</li>
<li>Python again : I met python in 2000, but hadn&#8217;t used it for several years. Last year, I met it again. I made some simple games using <a href="http://www.pygame.org/">pygame</a> library, and made very convinient tools for testing. It generates simulation input data and extract meaningful output from logs and then export them to MS excel or XML files.</li>
<li>PHP: PHP is the only language I newly learned in 2007. I have to use it because my personal project (at home) is on a hosting service that provides only PHP. The project depends on PHP <a href="http://www.php.net/gd">GD</a> library.</li>
<li>Javascript modules: I like YUI. YUI code is my mentor regarding JavaScript. <a href="http://www.prototypejs.org/">Prototype</a> is not bad.</li>
<li>GUI unit test: If somebody argues that GUI is not suitable for automatic test, I can say he/she is wrong. I used <a href="http://www.uispec4j.org/">UISpec4j</a> for Java GUI testing and the result was satisfactory.</li>
<li>Coverage: I compared coverage tools: Clover, JProbe coverage, <a href="http://emma.sourceforge.net">Emma</a>. Clover is better than others, and I used it. Coverge goal in my project is over 90% of line coverage, I could meet the goal with the help of test harness including UISpec4j.</li>
<li>Continuous integration: I constructed continuous intergation environment at company. <a href="http://www.anthillpro.com/html/products/anthillos/default.html">Anthill OS</a> is a open-source CI tool. I changed it to add features such as unit testing/coverage/static analysis reporting intergation.</li>
<li>Books: The 3 books I loved most in 2007 are Effective Java, Java concurrency in practice, Ajax in action.</li>
<li>Community: I joined (or started activities) some developer&#8217;s communities such as JavaRanch, JavaLobby, and Artima. Especially in JavaRanch, there are many gurus I really appreciated. I posted comments and sometimes helped others resolve problems. I started my own <a href="http://www.grayger.com/wp/">blog</a>.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.grayger.com/uncategorized/my-2007-as-a-developer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is AOP the only way to do it?</title>
		<link>http://www.grayger.com/uncategorized/is-aop-the-only-way-to-do-it/</link>
		<comments>http://www.grayger.com/uncategorized/is-aop-the-only-way-to-do-it/#comments</comments>
		<pubDate>Mon, 17 Dec 2007 13:20:36 +0000</pubDate>
		<dc:creator>grayger</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[AOP]]></category>
		<category><![CDATA[Findbugs]]></category>
		<category><![CDATA[Swing]]></category>

		<guid isPermaLink="false">http://www.grayger.com/wp/?p=24</guid>
		<description><![CDATA[Some criticize AOP for its lack of application area. It is difficult to find useful AOP examples except very limited functions such as logging and transaction. Furthermore AOP is a not unique solution for the specific functions and we have done well without AOP.
Surprisingly, I found an assertion saying that &#8220;AOP is the only way [...]]]></description>
			<content:encoded><![CDATA[<p>Some criticize AOP for its lack of application area. It is difficult to find useful AOP examples except very limited functions such as logging and transaction. Furthermore AOP is a not unique solution for the specific functions and we have done well without AOP.</p>
<p>Surprisingly, I found an assertion saying that &#8220;AOP is the only way to do it&#8221; from <a href="http://developers.sun.com/learning/javaoneonline/j1sessn.jsp?sessn=TS-3833&amp;yr=2007&amp;track=2">&#8220;Debugging and Optimizing Swing Applications&#8221;</a> appeared in JavaOne 2007 technical session. If it is true, it is a very good news for AOP evangelists (including me!) who seek really useful AOP applications. Unfortunately, I can say it is not true. The author argues AOP can detect Swing threading violation: Code that affects GUI components should be executed within event-dispatch thread. But A rule <a href="http://findbugs.sourceforge.net/bugDescriptions.html#SW_SWING_METHODS_INVOKED_IN_SWING_THREAD">SW_SWING_METHODS_INVOKED_IN_SWING_THREAD</a> of Findbugs, static Java code analyzer, also can help check the violation. In fact, static checking is more appropriate than dynamic checking for those violation because the violation stems from location of specific code lines.</p>
<p>I really anticipate the day when someone will find a really useful and unique solution that uses AOP for a specific problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.grayger.com/uncategorized/is-aop-the-only-way-to-do-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

