Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Quick question about 408 project code
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
  1 message - 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 will appear after it is approved by moderators
 
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
 
David James  
View profile  
 More options Apr 5 2005, 10:01 pm
From: David James <jame...@gmail.com>
Date: Tue, 5 Apr 2005 22:01:07 -0400
Local: Tues, Apr 5 2005 10:01 pm
Subject: Re: Quick question about 408 project code
On Apr 5, 2005 2:12 PM, Gilbert Ho <gil...@hotmail.com> wrote:
> Hi, I just read through *.properties file for metrics that are located
> inside the src folder.  I'm just wondering, while there's a API page listing
> out all possible characters for raw source code matching, is there a similar
> one for java syntax?

> For example :
> http://java.sun.com/docs/books/jls/second_edition/html/syntax.doc.html  ?

Hi Gilbert,

Thanks for pointing out that link! That's the official grammar for Java.

JCVSReport uses PMD to parse Java source code. PMD creates a syntax
tree based on the source code. We then export this tree to text, and
run regular expressions on it. I don't think this text format is
documented anywhere, but we made good use of it anyway. If you want to
look deeply into how the format works, I'd recommend trying out the
PMD designer and looking at the PMD 2.3 source code.

The PMD 2.3 source code is available from my website at:
    http://www.cs.toronto.edu/~james/408/pmd-2.3.zip

Cheers,

David

P.S. PMD 3.0 is apparently quite different from PMD 2.3 -- I recommend
sticking with PMD 2.3 for this assignment.

--
http://www.cs.toronto.edu/~james


    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