Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Source Code Metrics

acar
Beginner
758 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
758 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
758 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
758 Views
I used cloc (on sourceforge), it seemed like it had all the options that were of interest to me.
0 Kudos
acar
Beginner
758 Views
Thanks Jeremy, I'll give that a go.
0 Kudos
Reply