Example of CTC++ Untested Code Listing

*****************************************************************************
*           CTC++, Test Coverage Analyzer for C/C++, Version 9.0            *
*                                                                           *
*                          UNTESTED CODE LISTING                            *
*                                                                           *
*                    Copyright (c) 1993-2013 Testwell Oy                    *
*             Copyright (c) 2013-2018 Verifysoft Technology GmbH            *
*****************************************************************************

Symbol file(s) used   : MON.sym (Fri May 04 09:56:54 2018)
Data file(s) used     : MON.dat (Fri May 04 09:57:15 2018)
Listing produced at   : Fri May 04 10:03:09 2018
Coverage view         : As instrumented
       
MONITORED SOURCE FILE : F:\ctcwork\v90\doc\examples\io.c
INSTRUMENTATION MODE  : multicondition
 HITS/TRUE      FALSE    LINE DESCRIPTION
=============================================================================
         4                  5 FUNCTION io_ask()
         0          4 -    11   if (( amount = scanf ( "%u" , & val ) ) <= 0)
-----------------------------------------------------------------------------      
       
MONITORED SOURCE FILE : F:\ctcwork\v90\doc\examples\calc.c
INSTRUMENTATION MODE  : multicondition
 HITS/TRUE      FALSE    LINE DESCRIPTION
=============================================================================
         3                  4 FUNCTION is_prime()
         1          2       8   if (val == 1 || val == 2 || val == 3)
         0            -     8     1: T || _ || _
         0            -     8     3: F || F || T
         0          1 -    12   for (;divisor < val / 2;)
         0          0 -    14     if (val % divisor == 0)
         0            -    15       return 0
-----------------------------------------------------------------------------      
       
SUMMARY
=======
Source files       : 3
Headers extracted  : 0
Functions          : 4
Source lines       : 59
TER                : 76 % (22/29) multicondition
TER                : 88 % (21/24) statement

The Untested Code Listing is similar to Execution Profile Listing, but only the lines that in the Execution Profile Listing had a '-' marking are listed here (and some context lines to make the listing more understandable).

A more convenient way to view the untested code locations is the HTML report form.