Open nuthanmunaiah opened 9 years ago
We could use C Preprocessor to preprocess all C files and then have Scitools Understand scan the files to compute SLOC per function.
Using LocMetrics to compute source lines of code per function instead of Scitools Understand. LocMetrics works around preprocessor directives. LocMetrics does not handle constant replacement in function names. We may have to work around this limitation manually.
Scitools Understand appears to be excluding functions decorated with
ifdef
define
Manually verify the missing functions to identify a pattern for manual corrective action. Preprocess FFmpeg (or any other program being measured) to remove these directives using a script.