Example of CTC++ Untested Code Listing

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

Symbol file(s) used   : MON.sym (Wed Nov 23 13:07:08 2016)
Data file(s) used     : MON.dat (Wed Nov 23 13:08:23 2016)
Listing produced at   : Wed Nov 23 13:15:18 2016
Coverage view         : As instrumented
       
MONITORED SOURCE FILE : F:\ctcwork\v81\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\v81\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.