Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
crap4j
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Philip Johnson  
View profile  
 More options Oct 6 2007, 4:28 am
From: Philip Johnson <john...@hawaii.edu>
Date: Fri, 05 Oct 2007 22:28:07 -1000
Local: Sat, Oct 6 2007 4:28 am
Subject: crap4j
This is simultaneously funny and serious:

The Code C.R.A.P. Metric Hits the Fan - Introducing the crap4j
Plug-in:
<http://www.artima.com/weblogs/viewpost.jsp?thread=215899>

We've just got to support this in Hackystat.  JavaNCSS provides
complexity, and we can combine that with Emma coverage.

Crap Telemetry Streams?

Philip


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Austen Ito  
View profile  
 More options Oct 7 2007, 4:45 am
From: "Austen Ito" <austen....@gmail.com>
Date: Sat, 6 Oct 2007 22:45:30 -1000
Local: Sun, Oct 7 2007 4:45 am
Subject: Re: [hackystat-dev] crap4j
Yay XmlData's methods have a CRAPpy percentage of 3.94%, which is
below the 5% threshold mark of module crappiness.  My work project
must be really crappy because I couldn't get the report to show up
after running the tool.

austen

On 10/5/07, Philip Johnson <john...@hawaii.edu> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hongbing Kou  
View profile  
 More options Oct 7 2007, 1:04 pm
From: "Hongbing Kou" <hongb...@gmail.com>
Date: Sun, 7 Oct 2007 10:04:36 -0700
Local: Sun, Oct 7 2007 1:04 pm
Subject: Re: [hackystat-dev] Re: crap4j

Hi, Austen,

I think the lower the better (ideally to be less than 5%). It means that
XmlData is not crappy.  I tried it on
Eclipse Sensor plugin and got an overwhelming 11.35%.

Cheers,
Hongbing

On 10/7/07, Austen Ito <austen....@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Philip Johnson  
View profile  
 More options Oct 7 2007, 1:49 pm
From: Philip Johnson <john...@hawaii.edu>
Date: Sun, 07 Oct 2007 07:49:43 -1000
Local: Sun, Oct 7 2007 1:49 pm
Subject: Re: [hackystat-dev] Re: crap4j
I tried running this on the SensorBase, and it didn't complete the
unit tests.  The Agitar auto-JUnit runner bombs with our unit tests,
even though our unit tests run fine using the regular Eclipse JUnit
interface.

For sensorshell I also had bogus JUnit errors, but got a 1.6% of
CRAP.

Kind of a cool metric, actually.  The problem I see with Agitar's
implementation is (a) it's only supported in Eclipse and (b) it
requires their internal coverage, unit testing, and complexity
mechanism, which as we are noticing is not robust.

The calculation of CRAP is quite simple, so I think the way we should
proceed is to write a DPD CRAP analysis that computes it based upon
Coverage data and FileMetric data (where the FileMetric data includes
cyclomatic complexity, which would be included for example by
JavaNCSS reports.)  That makes our calculation of the metric
independent of the environment (Eclipse) as well as the specific
coverage/complexity tool.

It also makes it easy for us to experiment with extensions to the
formula.  For example, they talk about introducing dependency
information, which is a good idea.  Once we have CRAP at the DPD
level, it's a very simple matter to augment the formula with
dependency data.

Maybe I can get a student next semester to work on a crappy master's
thesis.

Cheers,
Philip

--On October 6, 2007 10:45:30 PM -1000 Austen Ito


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google