Discover for Delphi

 

What is Discover?

Discover is an analysis tool that allows you to measure how thoroughly your programs have been tested.

Discover shows interactively and directly in the source code which basic-blocks (code sequences that always execute sequentially) have been executed at least once and which have never been executed.

Using this information, you can perform actions or run specific tests to eliminate these uncovered areas. Discover helps you identify untested code, so you can be sure you've checked your entire application, not just part of it.

Discover displays the coverage data in real time, ie when your application is still running.

Discover can export coverage data.

Discover comes with a companion DLL that allows third parties applications to read the raw coverage information allowing to generate any kind of reports, even source code listings of uncovered code.

Discover can be started from the command line. Coverage data to be collected in automated processes. The results of several sessions can be merged, even if the source changed between sessions.

No source code modifications are required.

Discover works with D2 to D7, BDS2006 and D2007.

Discover is extremely simple and easy to use. Just compile your project with a detailed map file, load it into Discover and run your application.

 

 

Routines view

For each routine, Discovers displays the corresponding unit, the number of coverage points and the coverage in percent.

The routines may be sorted by coverage allowing to identify the routines that has never been activated.

A coverage point is a position in a routine that represents a basic-block, ie a code sequence that always executes sequentially. 

 

 

Units view

For each unit, Discover shows the size, the number of routines, the number of routines with 0% coverage, the number of routines with 100% coverage and the unit's coverage in percent.

 

 

 

Overview

 

The graphical overview of the application's coverage reveals those routines that are hard to reach and therefore take more effort to test. Each small square represents a routine. Its color depends on the routine's coverage.

 

 

 

Summary view

Here are displayed the coverage figures of the whole application.

 

 

 

Selecting a routine in the routines view or the unit view, display its source code and its coverage points.
 

Download (~900 Kb)

You may register Discover here. The price is EUR 49 (1 licence)

If you have already registered Discover 1.xx then ask for a 50% discount coupon code. Please, send the Registered to: information as it appears in the about dialog.

 

cyamon software
route de l'Eglise 5
1376 Goumoens-la-Ville
Switzerland
Home