Question

Are there any good code measuring tools available?

I found code measure pretty useful and interesting, but I don't think I can pay $1K/year for just using the measuring tool.

I imagine there might be a tool that is/can

  • open source software
  • language independent
  • OS independent
  • measure the metrics from different categories : LOC, LOC without blank lines, Number of functions ...
Was it helpful?

Solution

For basic line-count metrics like the ones you describe, try cloc.

My 2c-worth: code metrics are generally worse than useless. The only value I've ever gotten out of them is to measure the efficiency of one language against another.

OTHER TIPS

Sonar is a Java based server side application for code measurement. It is mostly targeting Java, but support for other languages is available via plugins.

With 82 code metrics supported NDepend is the code metrics Roll's Royce tooling for .NET developers.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top