For code inspection and walk through, users often prefer to having the code of a class/function diagrammed with the original source code locations (line numbers) shown before preprocessing. Panorama C/C++/OO-Browser and Panorama C/C++/OO-Diagrammer provide the logic and control flow diagrams of a class/function, with or without MACRO definition, before preprocess, thus to satisfy these users’ requirements.
For code test coverage analysis, users often want to have the code being diagrammed after preprocessing and have the unexecuted logic elements highlighted. Panorama C/C++/OO-Test provides the control flow diagram of the class/function after preprocessing with the unexecuted elements highlighted, thus to satisfy those users’ demands.
If in the case that the existence of some macro functions in the code makes it hard to identify the corresponding program logic before preprocessing, a group of lines of the code with Macro functions used will be merged into one block in the diagrams.