Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse metrics plugin for C++ [closed]

Does anyone know a good metrics plugin for Eclipse that works with C++ ?

I'm looking for lines of code mainly. Thanks.

like image 749
tree-hacker Avatar asked Dec 08 '10 21:12

tree-hacker


2 Answers

Eclipse Metrics is very powerful but only works for Java unfortunately.
Project Code Meter is a professional, comprehensive, but also expensive tool.
cccc is an awful, hacked command line tool for Windows only.
However Code Analyzer is a simple, free graphics tool that works great with C and C++.

It took a look at the help to get started though, you need to:

  • select an extension set from the Tools->Extension Set->Select menu (I chose the C set)
  • right click on the "New" Code Set icon and do "Add Branch", then navigate to your source root folder
  • click run, and here you go:

enter image description here

like image 116
CuriousMarc Avatar answered Oct 28 '22 07:10

CuriousMarc


As far as i know there is no code metrics plugin for C++/CDT, but you can use cccc

But i guess you already knew about it :)

Good luck!

like image 28
zhengtonic Avatar answered Oct 28 '22 08:10

zhengtonic