Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Good code measuring tools?

Tags:

code-metrics

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 ...
like image 530
prosseek Avatar asked Jun 25 '10 13:06

prosseek


People also ask

Which tools help in process measurement of code?

❓ Which tools help in process measurements of the code? Collaborator, Visual Assist, and Embold are popular code review tools for continuously inspecting the code quality, guiding development teams during code reviews.

How are codes measured?

You can understand code quality by measuring the Halstead complexity, including program vocabulary, program length, Calculated program length, Volume, Difficulty, and Effort. This is estimated to assess the computational complexity of the code.

Which tool in DevOps is used for code quality check?

Tools to monitor and improve code qualityJenkins has evolved to become the most successful open-source standard for managing the dev side of DevOps, from source code management to delivering code to production. Jenkins provides automated continuous integration (CI) and continuous delivery (CD) solutions.


1 Answers

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.

like image 64
Marcelo Cantos Avatar answered Nov 10 '22 00:11

Marcelo Cantos