Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Source Code Metrics

acar
Beginner
746 Views
Just wondering whether one can extract information about the number of source lines etc from the IVF system?
0 Kudos
4 Replies
Steven_L_Intel1
Employee
746 Views
We don't keep track of line count. I know there are third-party tools that can report on lines of code (perhaps with comments and blank lines separated out.) Maybe someone has a Visual Studio macro that does this? Simply counting source lines is pretty easy.
0 Kudos
acar
Beginner
746 Views
Thanks for that - it was only curiousity really as this is information that is available to IVF it might as well spit it out to a file so that users can take a look. Not interested enough to purchase a third-party tool but if someone on the forum has a utility then I'd be interest.
0 Kudos
jeremy_h
New Contributor I
746 Views
I used cloc (on sourceforge), it seemed like it had all the options that were of interest to me.
0 Kudos
acar
Beginner
746 Views
Thanks Jeremy, I'll give that a go.
0 Kudos
Reply