[ITK] Need help to find loc accessed from the ITK source code by the examples

Matt McCormick matt.mccormick at kitware.com
Mon Mar 13 09:58:45 EDT 2017


Hi Swati,

You can find the code used by running the
computeCodeCoverageLocallyForOneTest.sh script:

  https://github.com/InsightSoftwareConsortium/ITK/blob/60f7ca49521c7e16c3700cdf1f5633245147759c/Utilities/Maintenance/computeCodeCoverageLocallyForOneTest.sh

See the output of --help on the script to learn more about its usage.
Each example has a test associated with it.

Hope this helps,
Matt

On Mon, Mar 13, 2017 at 8:58 AM, Dženan Zukić <dzenanz at gmail.com> wrote:
> Hi Swati,
>
> in documentation of each class (e.g. ImageFileReader), there is an
> information to which module does it belong (e.g. Module ITKIOImageBase).
> From the module name and version number you can infer the resulting library
> (e.g. C:\Dev\ITK-2015\lib\Release\ITKIOImageBase-4.11.lib). Also, from the
> module's page you can see which other modules (libraries) it depends on
> (e.g. ITKCommon).
>
> If you go through the list of includes in each example you can construct the
> list of libraries it depends on.
>
> Regards,
> Dženan
>
> On Mon, Mar 13, 2017 at 7:51 AM, Swati Rathi <swatirathi at cse.iitb.ac.in>
> wrote:
>>
>> Hello,
>>
>> I am performing an analysis to test the virtual functions under the
>> ITK/Examples subdirectory.
>>
>> There are many static libraries created while building the ITK. These are
>> then used to build the examples. However all the static libraries are linked
>> while building the examples.
>>
>> I am interested to know the lines of code accessed from the ITK source
>> code by each of these examples.
>>
>> Is this data easily accessible? Or is there a list of files which are
>> accessed by these examples?
>>
>> Thank you.
>>
>> Regards,
>> Swati
>> _______________________________________________
>> Community mailing list
>> Community at itk.org
>> http://public.kitware.com/mailman/listinfo/community
>
>
>
> _______________________________________________
> Community mailing list
> Community at itk.org
> http://public.kitware.com/mailman/listinfo/community
>


More information about the Community mailing list