Code count plugin?

Is there a plugin to calculate project size? Or perhaps something built into IDEA?

Key metrics would be:

Number of classes/files
Number of lines
Number of methods
Number of bytes
Number of members

Thanks..

3 comments


All of those (except for number of bytes, which goes on the my TODO list) are available via the MetricsReloaded plugin. You should be able to get the 0.4 version from the Settings/IDE Settings/Plugins. Over 200 other metrics are also available. It's beta, so be sure to let me know what you think.

--Dave Griffith

0

Dave,

Great plugin!

I had to install it twice before it actually showed up though, not sure if I was doing something wrong or the installer is goofy. I'm using build 2239.

Couple suggestions:

Change the description in the idea plugin installer window to include a few examples. I never would have guessed thats what the plugin did! Also talk about where to find the new menu under analyze, I had to google a bit before I found it.

The actual functionality of the plugin is perfect! My only other desire would be for a fancy HTML report of all the metrics.

Thanks for writing and sharing such a great tool!

0


>Great plugin!

I'm glad you like it. It's been great fun to do.

>I had to install it twice before it actually showed up though.

I'll look into it.

Couple suggestions:

>Change the description in the idea plugin installer window to include a few examples. I never would have guessed thats what the plugin did! Also talk about where to find the new menu under analyze, I had to google a bit before I found it.

Good ideas, they'll be in the next version.

>The actual functionality of the plugin is perfect! My only other desire would be for a fancy HTML report of all the metrics.

Fancy HTML output is in plan, but not for the next version. Until then, XML is available for those whose XSLT skills are up to the task (which mine aren't, yet).

--Dave Griffith

0

Please sign in to leave a comment.