Java Source Code Metrics Tools

E

Edward Berard

I am looking for tools that will analyze Java source code:

-> I am primarily looking for metrics tools, e.g., tools
that will tell me things like

- Total lines of code

- Total blank lines of code

- Total commented lines of code

- Total/average lines of code per class

- Total/average lines of code per method

- McCabe's complexity (cyclomatic complexity) per
method

- Average depth of inheritance hierarchy

- Halstead's metrics

- Strength and kind of object coupling

- Object cohesiveness

- any other project/product/people metrics that you may have found
useful

-> I am most keenly interested in tools that are interoperable with
the Eclipse environment, but I have a general interest as well

-> If you have any Java/Java-metrics "war stories" please feel free
to pass them on as well.

Thank you for any time and consideration.

-- Ed
 
L

Lisa

Edward Berard said:
I am looking for tools that will analyze Java source code:

-> I am primarily looking for metrics tools, e.g., tools
that will tell me things like

- Total lines of code

- Total blank lines of code

- Total commented lines of code

- Total/average lines of code per class

- Total/average lines of code per method

- McCabe's complexity (cyclomatic complexity) per
method

- Average depth of inheritance hierarchy

- Halstead's metrics

- Strength and kind of object coupling

- Object cohesiveness

- any other project/product/people metrics that you may have found
useful

-> I am most keenly interested in tools that are interoperable with
the Eclipse environment, but I have a general interest as well

-> If you have any Java/Java-metrics "war stories" please feel free
to pass them on as well.
http://www.verifysoft.com/en_cmtjava.html
 
E

Edward Berard

Lisa said:

Twenty years ago, I proposed and designed the Complexity
Measures Tool (CMT) for Ada. I then managed, and consulted
on, the development effort. (My (then) company was
EVB Software Engineering, Inc.)

We delivered the final product to the U.S. Air Force.

I realize that JavaCMT is not exactly the same product,
e.g., it works with Java source code, not Ada source
code. However, it is interesting to see what others have
done with our original product.

Thanks for the tip. :)

-- Ed
 
Joined
Aug 2, 2010
Messages
1
Reaction score
0
Java Cohesion Metrics

Any body can help me to pass me the link to measure the following metrics for java source code:
1. No of Public, Private & Protected Methods
2. No. of Public Private & Protected Attributes
3. DIT
4. No. of Child
5. LCOM5 or Coh (Cohesion Metrics)

This will be a great help for me if some body have a tool to measure this.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top