4

does anyone knows about a (free) java library that can calculate different software metrics given the source code? Thank you in advance.

Elvis
  • 817
  • 1
  • 7
  • 19
  • My comment is running a few years behind... but did you manage to find a library? I'm also looking for one. – Klerisson Jul 04 '16 at 17:25

2 Answers2

1

If you're using Eclipse, give the Eclipse Metrics Plugin a try. PMD also has a set of rules relating to metrics. There are a number of others; search StackOverflow for other questions about metrics tools.

mergeconflict
  • 8,156
  • 34
  • 63
  • Thank you for your quick replay. I don't need a tool to calculate metrics for a certain project. I am writing a tool that will perform Software Engineering related works, so I need a java library that I can use in my project to gather metrics (programmatically) from other target projects that my application will be processing. – Elvis Oct 27 '11 at 01:38
0

CodePro analytix from Google. This is just a eclipse plugin.

Aravind Yarram
  • 78,777
  • 46
  • 231
  • 327
  • Thank you for your quick replay. I don't need a tool to calculate metrics for a certain project. I am writing a tool that will perform Software Engineering related works, so I need a java library that I can use in my project to gather metrics (programmatically) from other target projects that my application will be processing – Elvis Oct 27 '11 at 01:41