Is it possible to extract features from program dependency graph ?

1 view (last 30 days)
Hi,
I am a bignner in matlab. I have to extract features/metrics from program dependency graphs generated by using a tool. These program dependency graphs are generated from c code. I would like to know, is it possible or is any way to extract features/metrics from these program dependency graphs by using MATLAB.
Features like
number of Assign- ments that come after Declarations,
number of Declarations coming after Control (e.g. i < count, for, while, if, switch etc.),
numbers of times nested iterations occur,
numbers of times nested selections occur
If is it possible then please guid me!
  1 Comment
Walter Roberson
Walter Roberson on 18 Jul 2019
It is probably possible. How easy it is would depend on the format of the files being analyzed.

Sign in to comment.

Answers (0)

Categories

Find more on Graphics Objects in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!