--- layout: fc_discuss_archives title: Message 18 from Frama-C-discuss on May 2016 ---
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] Cyclomatic complexity plugin and inlining of functions



Hello,

I am interested by the cyclomatic complexity number that can be 
calculated by frama-c.

However, I don't want a result broken down per function.
I'd like a number per possible entry point of the program.
And, for each entry point, all functions should be inlined
prior to computing the number.

Is it possible to do so using frama-c and how to do it ?

I know there are global metrics, but the problem is that
they take into account even code that I don't want to analyze
in a given file (given an enty point, there is some dead code).

I am ok if the procedure fails on recursive functions in the code.

-- 
Regards,
Francois.
"When in doubt, use more types"