14

I want a tool to analyse my code quality and after a bit of googling I think I understand that Cyclomatic Complexity could be something to start with here. I have tried to get several tools working but without success (found out that most are developed for Java). My requirements are:

  • Should work on C code
  • Should work on Ubuntu (12.04)
  • Should be free
  • (Optional) Plugin for eclipse

I would be grateful for any help

Olppah
  • 790
  • 1
  • 10
  • 21
  • Have looked to other questions like [this](http://stackoverflow.com/questions/125898/tool-for-calculating-cyclomatic-complexity) – Alexander Dzyoba Mar 19 '14 at 09:20
  • I have read that and tried some of them but most are for other languages. But I actually went back there now and found one called [lizard](https://github.com/terryyin/lizard) that actually does what I want but I think it would be better to have a GUI or Eclipse plugin. – Olppah Mar 19 '14 at 10:01

1 Answers1

3

There is Eclipse metriculator plugin.

There is also cccc - an open source program to analyze code.

BЈовић
  • 62,405
  • 41
  • 173
  • 273