Using Static Graphs

10 Using Static Graphs

SoftBench Static Analyzer includes four Static graphs to help you visualize your program structure.

Call Graph

Displays call relationships between

 

functions.

SoftBench Class Graph/Editor

Displays inheritance, friendship,

 

containment, template

 

instantiations, base class, and

 

derived class relationships between

 

classes. You can edit the C++ classes

 

in your program using the SoftBench

 

Class Graph/Editor. This graph is

 

part of C++ SoftBench only. See

 

Chapter 5, “Using SoftBench Class

 

Graph/Editor,” on page 133 for more

 

information.

File Graph

Displays #include relationships

 

between source files.

Query Graph

Provides a general purpose graph

 

that can be used to keep a history of

 

queries used to solve a particular

 

problem. The Query Graph provides

 

the graphical equivalent of the

 

textual queries on the main

 

SoftBench Static Analyzer window.

 

The Query Graph is free format and

 

the results of each query appear to

 

the right of the previous results.

 

SoftBench Static Analyzer implies no

 

relationship between one query's

 

results and the next.

The Call Graph, Class Graph/Editor, and File Graph are specialized graphs associated with functions, classes, and files. These graphs provide visual detail of program structure at different levels and help you perform the following tasks:

Chapter 10

283