Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
18 Views

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 Retired Employee
18 Views

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

 

0 Kudos