gbVisualDesigner Reports
gbVisualDesigner is a comprehensive programmers IDE whose customizable
user interface integrates a mouse-based visual designer, 5 source code editors, 4 source
code libraries, 25+ source code analysis reports and 7 different reference sources to provide unmatched
information and IDE options at the fingertips of a programmer!
This page documents the 25+ gbVisualDesigner reports.
Reports
Here's a list of the available reports, each of which can be created from
source code in any of the 4 gbVisualDesigner source code editors (File Code, Snippets,
Procedures and Scratch Pad).
Code Summary
This report provides some summary statistics for the source code listing.
Source Scan
This code returns quite a few sections of information. It's the output of the PBCodec
utility originally written by Borje Hagsten and then recently updated by Nathan Maddox.
Layout Controls
The Control List contains a line for each control in the layout, where each line
contains the caption, size, location and control type of the control. Controls which
are selected in the Layout Drawing area will also be checked in the Layout Control
List. Likewise, checking or unchecking an item in the Layout Control List will cause
the corresponding item in the layout to be selected/unselected.
Double-clicking on an item in the Layout Control List, or in the Layout Drawing area, will open a dialog
for editing the control properties.
It may also be used to edit the content of the Layout. Deleting a control from this
list deletes it from the Layout. Also, checking a control on this list selects
the control on the Layout. These features make it easy to select a control(s) with
the desired features.
Code Controls
This report can be applied to any source listing - generated, snippet, local or test.
It is used to get a quick view of the Controls which are contained in the source code.
It's generated by detecting all Control Add statements.
Last Compile Log
Whenever the Compile feature of gbVisualDesigner is used, the compiler is directed
to provide a compilation log to a temporary file location. This report displays
that log.
The log is generated when any of the source code listings are compiled.
Flow Diagram
This report generates a graphical representation of the procedural flow
in the selected source code listing.
** Not available at this time **. Until such time as I figure out
how to create a useful version of this report, I've put in a place-holder
image to give the user an idea of how I want the report to look.
Call Tree
This reports generates a TreeView listing of all procedures in the selected
source code listing. Procedures which call the procedure are displayed
as children of the procedure.
Called By Tree
This reports generates a TreeView listing of all procedures in the selected
source code listing. Procedures which the procedure calls are displayed
as children of the procedure.
API Tree
This report lists which API are used in an application and from which
procedures they are called.
The report can help programmer's identify where API are used.
Variables
This report creates a listing of all variable found in the selected source code listing.
Double-click on a line in the report to open the file where the variable is declared.
Strings
This report creates a listing of all strings found in the selected source code listing.
Any string containing a misspelled word is marked with "error". To see which word
is misspelled, right mouse click on the string.
Double-click on a line in the report to open the file where the string is found
Comments
This report creates a listing of all comments found in the selected source code listing.
Any comment containing a misspelled word is marked with "error". To see which word
is misspelled, right mouse click on the comment.
Double-click on a line in the report to open the file where the variable is found
Words (All)
All words in the source code are listed (sorted).
This report helps the programmer evaluate what statements are used in the
source code and to help identify unexpected content.
Words (Unique)
All unique words in the source code are listed (sorted).
The list allows the programmer to evaluate the procedures and variables
used in the source code.
Letters (Freq)
This report provides a word count and letter frequency plot.
It is used by the programmer to help assess the size of the source code.
Sorted Procedures
This report locates all procedures in the source code and sorts them
in alphabetical order of the procedure declaration line.
Application procedures are often added randomly - as the programmer needs them.
Sorting the procedures can make it easier/quicker to locate a function of interest.
Non-Procedure Code
All source code, except that found in procedures, is included in this report.
For maintenance reasons, a programmer may want to keep all such code together,
and usually at the start of the application source code listing.
Formatted Code
Programmers' often have personal preferences as to how their code looks.
This report gives a preview of how the built-in formatting will make the
source code look.
This lets the user see the results before applying them to their source code.
Left Justified
This report removes all leading spaces from the source code.
It can be use to provide a contrast between pre-formatted code (left justified)
and formatted code.
Sorted Lines
This report sorts all of the lines of code, as is.
Having lines sorted allows the programmer to examine code for common
handling of code constructs, or to look for specific constructs.
Sorted/Trimmed
Sorted/Trimmed
Before sorting, this report removes all spaces at the front of each line.
By removing the spaces, the programmer can see similar lines which might
differ only by their indentation levels.
Open Files
This report generates a listing of all lines of code in all open files
where the line contains the search term. The search term is entered in
the Search controls that are visible when any Library is displayed.
Double-click on a line in the report to select the open file and to scroll
to the matching line.
Snippets
This report generates a listing of all lines of code in the snippets library
where the line contains the search term. The search term is entered in
the Search controls that are visible when any Library is displayed.
Double-clicking on a line to open the snippets library to that snippet is
not yet supported.
Procedures
This report generates a listing of all lines of code in the local procedures library
where the line contains the search term. The search term is entered in
the Search controls that are visible when any Library is displayed.
Double-clicking on a line to open the local procedures library to that procedure is
not yet supported.
PreProcessed Code
This report accesses a user-supplied DLL which can modify the source
code before the code is sent to the compiler. The output of the
preprocessor DLL can also be displayed as a report so that the user can
evaluate the output of the DLL before actually compiling the results.
The DLL returns a modified source code listing, which gbVisualDesigner
displays in a source code editor.
Custom Code Generator
This report accesses a user-supplied DLL which typically replaces the
built-in source code generator. The output of the custom code generator
can also be displayed as a report so that the user can evaluate the output
of the DLL without affecting the original source code listing.
The DLL returns reports is a source code listing which gbVisualDesigner displays
in a source code editor.
Text Report
This report accesses a user-supplied DLL, which uses the selected source
code listing to generate a text report.
The returned report is a simple text string which gbVisualDesigner
displays in a simple textbox control.
Graphic Report
This report accesses a user-supplied DLL, which uses the selected source
code listing to generate a graphical report.
The returned report is a simple bitmap file (*.bmp) which gbVisualDesigner
displays.