Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
1 View

Finding connected code

I have a solution with two projects which has undergone an overhaul.  None of the original code for the project has been deleted, but there would appear to be code which is superfluous.  Are there any tools, Intel or third party, which would let me know which code is connected to the PROGRAM within each project?

0 Kudos
1 Reply
Highlighted
Black Belt
1 View

The Code Coverage tool, when

The Code Coverage tool, when the program is run with a test input, would highlight unused code. Some of it may be legitimate (error cases, etc.) but it would help you identify code not in use. You can read about it at https://software.intel.com/en-us/fortran-compiler-developer-guide-and-reference-code-coverage-tool

 

Steve (aka "Doctor Fortran") - https://stevelionel.com/drfortran
0 Kudos