<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments for Crap4j News</title>
	<link>http://www.crap4j.org/news</link>
	<description>Keep up with Crap4j</description>
	<pubDate>Wed, 08 Sep 2010 01:13:32 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3</generator>
		<item>
		<title>Comment on IE 6 &#8212; Blecchhh! by bob</title>
		<link>http://www.crap4j.org/news/?p=26#comment-22</link>
		<dc:creator>bob</dc:creator>
		<pubDate>Tue, 27 Nov 2007 21:23:01 +0000</pubDate>
		<guid>http://www.crap4j.org/news/?p=26#comment-22</guid>
		<description>Yawn. It's kind of hard to receive your criticisms, even the valid ones, given your loving tone. Sorry it seems like you're having quite a crappy day.

Your snipes might have  hurt if we made websites for a living -- I honestly slapped the whole site together in about 3 days just to make the tool available. 

We gave the site the smoke test on the most popular browsers *current* versions: IE 7, Firefox 1.5 and 2, and Safari 2 and Safari 3, oh and OmniWeb 5 since it's so pretty. They looked acceptable. I have no idea why anyone would still use IE 6, and I don't really care. I have queued up some tasks for making it look nice on IE 6 anyway -- but it's kind of low on my list of priorities. Once again, IE 7 has been out for over a year!

Now as to standards compliant HTML, here you have a complaint I appreciate. It's almost redeeming. 

I checked out the HTML validator on the w3c site, &lt;a href="http://validator.w3.org/check?uri=http%3A%2F%2Fcrap4j.org%2F&#038;charset=%28detect+automatically%29&#038;doctype=Inline&#038;ss=1&#038;outline=1&#038;group=1" rel="nofollow"&gt;Crap4j.org&lt;/a&gt;. Incidentally, there's a tool that needs a rewrite. Here's what I found. First the garbage stuff, then the valid things

GARBAGE:
* The validator did not recognize the dtd which when I look at the source is &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;. Looks ok to me.
* Lots of old-style br tags in blog entries. OK, simple enough, nothing any browser doesn't handle.
* Some complaints about urls with parameter passing, confused as entities by the tool, i.e. the &#38; in an url mistaken as an entity.
* No short tag endings on img tags, aka the old-style html img tags. Rendered correctly by all browsers.
* It says there is no attribute "onload" for the img tag. Yet, here is a link to the onload tag that works for the img tag: &lt;a href="http://www.w3schools.com/jsref/jsref_onload.asp" rel="nofollow"&gt;Here&lt;/a&gt;. Nice.
* Put quotes around border=0 in an img tag.

VALID:

Ooops!

And as to bleeding-edge tags. None. Hmm. If anything, some old-style html tags.

I also checked the CSS, using the w3c validator, some problems with units on padding and margins, but that's it. 

The only thing that is problematic is the transparent pngs --which we already knew. However, they are much nicer to work with than transparent gifs and did I mention IE 7 has been out for a year and supports them. 

Have a nice day! 

Bob</description>
		<content:encoded><![CDATA[<p>Yawn. It&#8217;s kind of hard to receive your criticisms, even the valid ones, given your loving tone. Sorry it seems like you&#8217;re having quite a crappy day.</p>
<p>Your snipes might have  hurt if we made websites for a living &#8212; I honestly slapped the whole site together in about 3 days just to make the tool available. </p>
<p>We gave the site the smoke test on the most popular browsers *current* versions: IE 7, Firefox 1.5 and 2, and Safari 2 and Safari 3, oh and OmniWeb 5 since it&#8217;s so pretty. They looked acceptable. I have no idea why anyone would still use IE 6, and I don&#8217;t really care. I have queued up some tasks for making it look nice on IE 6 anyway &#8212; but it&#8217;s kind of low on my list of priorities. Once again, IE 7 has been out for over a year!</p>
<p>Now as to standards compliant HTML, here you have a complaint I appreciate. It&#8217;s almost redeeming. </p>
<p>I checked out the HTML validator on the w3c site, <a href="http://validator.w3.org/check?uri=http%3A%2F%2Fcrap4j.org%2F&#038;charset=%28detect+automatically%29&#038;doctype=Inline&#038;ss=1&#038;outline=1&#038;group=1" rel="nofollow">Crap4j.org</a>. Incidentally, there&#8217;s a tool that needs a rewrite. Here&#8217;s what I found. First the garbage stuff, then the valid things</p>
<p>GARBAGE:<br />
* The validator did not recognize the dtd which when I look at the source is < !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br />
<html xmlns="http://www.w3.org/1999/xhtml">. Looks ok to me.<br />
* Lots of old-style br tags in blog entries. OK, simple enough, nothing any browser doesn&#8217;t handle.<br />
* Some complaints about urls with parameter passing, confused as entities by the tool, i.e. the &amp; in an url mistaken as an entity.<br />
* No short tag endings on img tags, aka the old-style html img tags. Rendered correctly by all browsers.<br />
* It says there is no attribute &#8220;onload&#8221; for the img tag. Yet, here is a link to the onload tag that works for the img tag: <a href="http://www.w3schools.com/jsref/jsref_onload.asp" rel="nofollow">Here</a>. Nice.<br />
* Put quotes around border=0 in an img tag.</p>
<p>VALID:</p>
<p>Ooops!</p>
<p>And as to bleeding-edge tags. None. Hmm. If anything, some old-style html tags.</p>
<p>I also checked the CSS, using the w3c validator, some problems with units on padding and margins, but that&#8217;s it. </p>
<p>The only thing that is problematic is the transparent pngs &#8211;which we already knew. However, they are much nicer to work with than transparent gifs and did I mention IE 7 has been out for a year and supports them. </p>
<p>Have a nice day! </p>
<p>Bob</html></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on IE 6 &#8212; Blecchhh! by Scuba Steve</title>
		<link>http://www.crap4j.org/news/?p=26#comment-21</link>
		<dc:creator>Scuba Steve</dc:creator>
		<pubDate>Tue, 27 Nov 2007 20:08:00 +0000</pubDate>
		<guid>http://www.crap4j.org/news/?p=26#comment-21</guid>
		<description>...or you could write HTML that is standards-compliant...and HTML that doesn't include the most bleeding-edge, browser-specific tags...given that the resultant site is fairly simple.

Or you could actually test.  I suggest keep abreast of the latest browser statistics:

http://www.w3schools.com/browsers/browsers_stats.asp

...and testing accordingly.



The irony could not be stronger.</description>
		<content:encoded><![CDATA[<p>&#8230;or you could write HTML that is standards-compliant&#8230;and HTML that doesn&#8217;t include the most bleeding-edge, browser-specific tags&#8230;given that the resultant site is fairly simple.</p>
<p>Or you could actually test.  I suggest keep abreast of the latest browser statistics:</p>
<p><a href="http://www.w3schools.com/browsers/browsers_stats.asp" rel="nofollow">http://www.w3schools.com/browsers/browsers_stats.asp</a></p>
<p>&#8230;and testing accordingly.</p>
<p>The irony could not be stronger.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Master Thesis on the CRAP metric? by Ki Toy Johnson</title>
		<link>http://www.crap4j.org/news/?p=10#comment-12</link>
		<dc:creator>Ki Toy Johnson</dc:creator>
		<pubDate>Sun, 18 Nov 2007 15:10:03 +0000</pubDate>
		<guid>http://www.crap4j.org/news/?p=10#comment-12</guid>
		<description>Hey!...I Googled for philip johnson, but found your page about A Master Thesis on the CRAP metric?...and have to say thanks. nice read.</description>
		<content:encoded><![CDATA[<p>Hey!&#8230;I Googled for philip johnson, but found your page about A Master Thesis on the CRAP metric?&#8230;and have to say thanks. nice read.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Crap4j 1.1.4 Release w/ Ant Task by bob</title>
		<link>http://www.crap4j.org/news/?p=21#comment-11</link>
		<dc:creator>bob</dc:creator>
		<pubDate>Thu, 15 Nov 2007 23:53:02 +0000</pubDate>
		<guid>http://www.crap4j.org/news/?p=21#comment-11</guid>
		<description>Hi Mike,

The ant version doesn't require Eclipse. I had suggested an easy way to get the build.xml was to generate it in Eclipse, but it isn't necessary at all. 

The ant task can be better indeed, and that is a focus for the next release 1.1.6. It does take ANT_HOME as passed in by the environment, and additional libraries the same way. (You can also add additional libraries to the taskdef.)

As for forking, the agitar test runner task already requires forking to run tests, and then the complexity and crap calculation are pretty quick, but you are correct that the running of the whole computation is not currently forkable.

As for passing in jvm args, that is also something useful to do. I am wondering, if it might be better to actually have the crap4j task dependent on some other testrunner task that generates coverage, specified separately in the ant file, and possibly also a component for complexity to be pluggable as well. Then it would just focus on computing the crap score from the work of those two components. How does this sound to you?

Please feel free to file requests and bugs on the bug system at http://trac.crap4j.org/. I look forward to hearing more detail about how you want to use it.

Thanks for trying it,
Bob</description>
		<content:encoded><![CDATA[<p>Hi Mike,</p>
<p>The ant version doesn&#8217;t require Eclipse. I had suggested an easy way to get the build.xml was to generate it in Eclipse, but it isn&#8217;t necessary at all. </p>
<p>The ant task can be better indeed, and that is a focus for the next release 1.1.6. It does take ANT_HOME as passed in by the environment, and additional libraries the same way. (You can also add additional libraries to the taskdef.)</p>
<p>As for forking, the agitar test runner task already requires forking to run tests, and then the complexity and crap calculation are pretty quick, but you are correct that the running of the whole computation is not currently forkable.</p>
<p>As for passing in jvm args, that is also something useful to do. I am wondering, if it might be better to actually have the crap4j task dependent on some other testrunner task that generates coverage, specified separately in the ant file, and possibly also a component for complexity to be pluggable as well. Then it would just focus on computing the crap score from the work of those two components. How does this sound to you?</p>
<p>Please feel free to file requests and bugs on the bug system at <a href="http://trac.crap4j.org/." rel="nofollow">http://trac.crap4j.org/.</a> I look forward to hearing more detail about how you want to use it.</p>
<p>Thanks for trying it,<br />
Bob</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Crap4j 1.1.4 Release w/ Ant Task by Mike Colegrove</title>
		<link>http://www.crap4j.org/news/?p=21#comment-9</link>
		<dc:creator>Mike Colegrove</dc:creator>
		<pubDate>Tue, 13 Nov 2007 04:36:13 +0000</pubDate>
		<guid>http://www.crap4j.org/news/?p=21#comment-9</guid>
		<description>The ant version still has dependencies on an Eclipse like environment.  I have not been able to get the coverage report include in with the class distribution to properly calculate the crap score.

We want to run this in an continuous build cycle and not all users will be using Eclipse or possibly even an IDE to do the analysis.

The ant implementation could be done better to allow you to pass in jvm arguments, allow forking, and pass in ant home and additional libraries.

However, this is a great concept and I am looking forward to the refined result.</description>
		<content:encoded><![CDATA[<p>The ant version still has dependencies on an Eclipse like environment.  I have not been able to get the coverage report include in with the class distribution to properly calculate the crap score.</p>
<p>We want to run this in an continuous build cycle and not all users will be using Eclipse or possibly even an IDE to do the analysis.</p>
<p>The ant implementation could be done better to allow you to pass in jvm arguments, allow forking, and pass in ant home and additional libraries.</p>
<p>However, this is a great concept and I am looking forward to the refined result.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on IE 6 &#8212; Blecchhh! by bob</title>
		<link>http://www.crap4j.org/news/?p=26#comment-7</link>
		<dc:creator>bob</dc:creator>
		<pubDate>Fri, 09 Nov 2007 23:24:02 +0000</pubDate>
		<guid>http://www.crap4j.org/news/?p=26#comment-7</guid>
		<description>Haha. Indeed! There's a tool I would love to have.</description>
		<content:encoded><![CDATA[<p>Haha. Indeed! There&#8217;s a tool I would love to have.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on IE 6 &#8212; Blecchhh! by funny guy</title>
		<link>http://www.crap4j.org/news/?p=26#comment-6</link>
		<dc:creator>funny guy</dc:creator>
		<pubDate>Fri, 09 Nov 2007 19:35:47 +0000</pubDate>
		<guid>http://www.crap4j.org/news/?p=26#comment-6</guid>
		<description>Crap4HTML? 

:)</description>
		<content:encoded><![CDATA[<p>Crap4HTML? </p>
<p> <img src='http://www.crap4j.org/news/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What people are saying about Crap4j by Venkat Reddy Chintalapudi</title>
		<link>http://www.crap4j.org/news/?p=12#comment-3</link>
		<dc:creator>Venkat Reddy Chintalapudi</dc:creator>
		<pubDate>Tue, 23 Oct 2007 10:24:30 +0000</pubDate>
		<guid>http://www.crap4j.org/news/?p=12#comment-3</guid>
		<description>It's really cool and we don't need to rely on many tools and frameworks now. I have built a similar Test Framework using some of the open source Static Analysis and Dynamic Analysis tools and i would say this is out standing.


Check more here
http://venkatreddy.in/2007/10/22/crap4j-for-java-code-quality/</description>
		<content:encoded><![CDATA[<p>It&#8217;s really cool and we don&#8217;t need to rely on many tools and frameworks now. I have built a similar Test Framework using some of the open source Static Analysis and Dynamic Analysis tools and i would say this is out standing.</p>
<p>Check more here<br />
<a href="http://venkatreddy.in/2007/10/22/crap4j-for-java-code-quality/" rel="nofollow">http://venkatreddy.in/2007/10/22/crap4j-for-java-code-quality/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on A Master Thesis on the CRAP metric? by admin</title>
		<link>http://www.crap4j.org/news/?p=10#comment-2</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 20 Oct 2007 21:46:43 +0000</pubDate>
		<guid>http://www.crap4j.org/news/?p=10#comment-2</guid>
		<description>We are very near to having an ant version and a commandline version working as well. Stay tuned.</description>
		<content:encoded><![CDATA[<p>We are very near to having an ant version and a commandline version working as well. Stay tuned.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
