Quantify
Помимо классических оконных отчетов, ведет несколько логов, из которых можно получить информацию о числе проектных DLL-библиотек, а также о среде тестирования:
(1) Общий отчет "Details":
Program Name: C:\projects\aa\Debug\aa.exe Program Arguments: Working Directory: C:\projects\aa\Debug User Name: Alex Product Version: 2002.05.00 4113 Host Name: ALEX-GOLDER Machine Type: Intel Pentium Pro Model 8 Stepping 10 # Processors: 1 Clock Rate: 847 MHz O/S Version: Windows NT 5.1.2600 Physical Memory: 382 MBytes PID: 0xfbc Start Time: 24.04.2002 14:17:38 Stop Time: 24.04.2002 14:17:52 Elapsed Time: 13330 ms # Measured Cycles: 191748 (0 ms) # Timed Cycles: 2489329 (2 ms) Dataset Size (bytes): 0x4a0001.
(2) "Log"
Quantify for Windows, Copyright (C) 1993-2001 Rational Software Corporation All rights reserved. Version 2002.05.00; Build: 4113; WinNT 5.1 2600 Uniprocessor Free Instrumenting: Far.exe 620032 bytes ADVAPI32.DLL 549888 bytes ADVAPI32.DLL 549888 bytes USER32.DLL 561152 bytes USER32.DLL 561152 bytes SHELL32.DLL 8322560 bytes SHELL32.DLL 8322560 bytes WINSPOOL.DRV 131584 bytes WINSPOOL.DRV 131584 bytes MPR.DLL 55808 bytes MPR.DLL 55808 bytes RPCRT4.DLL 463872 bytes RPCRT4.DLL 463872 bytes GDI32.DLL 250880 bytes GDI32.DLL 250880 bytes MSVCRT.DLL 322560 bytes MSVCRT.DLL 322560 bytes SHLWAPI.DLL 397824 bytes SHLWAPI.DLL 397824 bytes
Purify просто перечисляет в лог-файле найденные ошибки:
[I] Starting Purify'd hello.exe at 27.08.2002 16:52:01 Instrumented executable: D:\xp\Rational\Purify\cache\hello$Purify_D_xp_Rational_Purify_Samples.exe Working directory: D:\xp\Rational\Purify\Samples Command line arguments: <none> Process ID: 0xaec Thread ID: 0xf74 [I] Starting main [W] UMR: Uninitialized memory read in strlen {1 occurrence} Reading 1 byte from 0x00384220 (1 byte at 0x00384220 uninitialized) Address 0x00384220 is argument #1 of strlen Address 0x00384220 is at the beginning of a 10 byte block Address 0x00384220 points to a malloc'd block in heap 0x00380000 Thread ID: 0xf74 Error location strlen [strlen.obj] WinMain [hello.c:30] WinMainCRTStartup [wincrt0.obj] Allocation location malloc [malloc.obj] WinMain [hello.c:28] WinMainCRTStartup [wincrt0.obj]
PureCoverage выдает статистику по модулям, а также описывает число исполнений каждой строки в модуле:
SourceLines D:\xp\Rational\Coverage\Samples\hello.c D:\xp\Rational\Coverage\Samples\hello.exe LineNumber LineCoverage 18.1 2 23.1 2 26.1 2 26.1 2 27.1 2 27.1 1 27.1 1 30.1 1 32.1 2 36.1 1