PROGRESS-PLUS logo
Documentation home
Create a Project
PRO4m Parameters
Source Code Scanner
Project Resources brws
Project Report Gen.
Database Browser
- Table Data Inspector
- Data Export
- Join Tables
DB Data Copier
Program Header Gen.
AutoStart Scheduler
 
PRO4m Installation
PRO4m Registration
Check for new release
Add to PRO*Tools
Prolint integration
VSS integration
Error Messages
 
PRO4m FAQ

Source Code Scanner window

** Double-click on image to enlarge, click once to minimize again.

PreScan Procedure Read-only field. Shows the file name defined in the Project properties Optional section.
Project Files Total and by type (*.w, *.p, *.i) amounts of files found in the Project source code location folder. This counts all the files including the files with nonstandard Progress extensions, defined in Project properties. Clicking the flat buttons there shows the files lists.
Refresh Reread the Project source code location folder and recalculate the numbers.
Autorefresh Applies Refresh automatically when you open the window.
Scan Parameters: Whole project scan, or Changes only.
Whole project Does the whole project source code scan, overwriting all the previous data stored in <project-name>.dat and <project-name>Ext.dat data files.
Changes only Applies scan only to the modified files. File size is used do decide has this file been modified since last project scan or not.
Skip compile

Debug mode options. Allows you to skip the compilation process even if nothing has been compiled yet. Use for the debug purpose only.

 

Options Opens the Project Source Code Scan Options window. See description below.
START Starts the source code compilation and parsing process.
Open Logfile Opens the source code scan logfile in Notepad.
Options (top menu) Window top menu. Includes two options: Ignore comments (recommended to be allays ON), and Debug mode (recommended to be ON only when testing the user-defined parser or PRO4m when it is not able to complete parsing for some reason and/or stops/kills the session) See modScal.log file for the last parsed file debugger information.

top

Source Code Scanner Options

PRO4m Options:

** Double-click on image to enlarge, click once to minimize again.
 

Internal Procedures Scan for the internal procedures used and defined. Mandatory option.
Internal Functions Scan for the internal functions used and defined. Mandatory option.
External Procedures Scan for the external procedures used. Mandatory option.
Includes Used Scan for the include files used. Mandatory option.
Input/Output parameters Scan for the procedures' input/output parameters.
OS Programs Used Scan for the external (non-Progress) procedures calls.
Shared Resources Scan for the all shared resources defined in a procedure or include file.
DB Tables used Scan for the database tables usage statistics.
Fields usage statistics Scan for the database fields usage statistics.
No table lock definition Scan for the SHARE-LOCK and where a LOCK option is not defined in FIND/FOR/QUERY statements.
PUBLISH/SUBSCRIBE Scan for the PUBLISH/SUBSCRIBE statements.

top

Prolint Options:

** Double-click on image to enlarge, click once to minimize again.

Use User-defined prescan procedure Start the user-defined prescan procedure (if available). Starts on click of "Refresh" button.
Prescan Procedure Read only field. Prescan procedure (4GL) file name. The procedure name can be modified from the Project properties window.
Use Prolint Output Do Prolint code analysis (if available).
Use Profile Read only field. Profile name (PRO4m) is preconfigured in Prolint and is shown here just as information. Still can be changed by manual modification of 'ProlintProfile' parameter of the <project-name>.prj file.
Use User-defined Parser Start the user-defined parser procedure.
User-defined Parser Read only field. User-defined parser procedure name. See usrParser.p for more information about this. The procedure name can be modified from the Project properties window.

top


Tips and Tricks
  • Save your project when the source code scan is completed, especially if it took quite long time to do;
  • Use "Options" -> "Debug mode" when having a trouble parsing a project;

Last updated: November 9, 2003 11:23 AM
© 2001-2003 PROGRESS PLUS SOLUTIONS