computer motherboard

Profiling the Sample Application #1

This tutorial demonstrates launching the sample application, closing the application and inspecting the coverage results.

  • Launch the sample application. Click on the launch icon on the toolbar.
    Coverage Validator launch icon
  • The Launch application wizard is displayed.
    Coverage Validator launch wizard
  • Select the sample application nativeExample.exe using the Browse… button.
  • Click the Next button to move to the 2nd page of the wizard.
    Coverage Validator launch wizard
  • Leave the settings as the default settings.
  • Click the Next button to move to the 3rd page of the wizard.
    Coverage Validator launch wizard
  • Leave the settings as the default settings.
  • Click the Next button to move to the 4th page of the wizard.
    Coverage Validator launch wizard
  • Click the Start Application button to launch the application.
  • The nativeExample.exe application is started.
    Coverage Validator native example application
  • Whilst Coverage Validator is instrumenting the application various progress dialogs are displayed. The display of Coverage Validator updates to show the names of source code files and statistics about each file.
    Coverage Validator coverage display
  • Close nativeExample.exe using the File menu Exit command. The application closes. Coverage Validator processes any remaining data and displays the final results.
  • The coverage results are displayed on the SummaryCoverageFunctions and Files and Lines tabs.
    • The Summary tab displays overall coverage information for the application.
    • The Coverage tab displays information relating to the coverage of each source file. Selecting a source file causes the source code for the file to be displayed in the right-hand pane of the splitter window.
    • The Functions tab displays information relating to each class and/or function in the application. Selecting a method causes the source code for the method to be displayed in the right-hand pane of the splitter window.
    • The Files and Lines tab displays information relating to the coverage of each file and line. This allows more detailed analysis than the Coverage tab. Selecting a source file causes the source code for the file to be displayed in the right-hand pane of the splitter window.

    The source code display indicates the lines that are instrumented by highlighting the background colour of the line according to its visited, non-visited, or non-instrumentable status. Visit counts are displayed to the left handside of the source code (and optionally in tooltips for each line). A red cross indicates a line that could not be instrumented, a green tick indicates an instrumented line that has been visited.

Fully functional, free for 30 days