home *** CD-ROM | disk | FTP | other *** search
-
- To build the McCabe tool:
-
- 1. Compile all the abstractions into a program library (see READ.ME in
- abstractions directory for details).
-
- 2. Compile everything named in the MCCABE.CO file into the program library
- containing the abstractions or a sublibrary whose parent library contains
- all the abstractions. MCCABE.CO lists file names in the correct
- compilation order.
-
- 3. Link McCabe with the program library where everything was compiled.
- To do this using the DEC Ada compiler type:
-
- $ acs link mccabe
-
- To run the tool on VMS:
-
- 1. Define logical symbol for the executables of the McCabe tool.
- For example,
-
- MCCABE :== $DRB1:[NOSC.TOOLS.MCCABE]MCCABE.EXE
-
- NOTE: The full path name of the executable is required in the
- definition of the symbol. The pathname given here is just an
- example and will be different on your system.
-
- 2. Enter a command with appropriate parameters. For example,
-
- MCCABE ("myfile");
-
- Entering the command with no parameters gives a brief description
- of how to use the tool.
-
- Files contained in the MCCABE directory:
-
- MCCABE.CO -- Compilation order for McCabe sources
- MCCABE.EXE -- VMS 4.0 McCabe executable
- MCCABE.CNT -- Ada source statement count
- READ.ME -- This file
-
- The [.SOURCE] subdirectory contains most of the sources that make up the
- McCabe tool. Other sources are contained in the abstractions directory.
-
- Files in [.SOURCE]:
-
- The source files which make up the McCabe tool are as follows:
-
- MCCGRMCON.SPC -- Grammar constants spec (generated from grammar)
- MCCPTBLS.SPC -- Parser tables spec (generated from grammar)
- MCCLEXIDV.SPC -- Lex ID Values (generated from grammar)
- MCCPDECLS.SPC -- Parser Declarations spec (generated from grammar)
- MCCLEX.SPC -- Lexer spec (generated from grammar)
- MCCLEX.BDY -- Lexer body (generated from grammar)
- MCCWRITEL.SUB -- Lexer subunit to list a source line -- this is a null
- procedure for mcCabe
- MCCPTBLS.BDY -- Parser tables body (generated from grammar)
- MCCSTATES.SPC -- Parser state stack spec (generated from grammar)
- MCCSTATES.BDY -- Parser state stack body (generated from grammar)
- MCCPDECLS.BDY -- Parser declarations body (generated from grammar)
- MCCPARSES.SPC -- Parse stack spec (generated from grammar)
- MCCPARSES.BDY -- Parse stack body (generated from grammar)
- MCCLEXIDV.BDY -- Lexer ID values body (generated from grammar)
- MCCGRMCON.BDY -- Grammar constants body (generated from grammar)
- MCCDEFS.SPC -- McCabe global definitions
- GETNEXT.SUB -- Comment filter
- MCCPARSER.SPC -- Parser spec (generated from grammar)
- MCCSTK.SPC -- McCabe stack spec
- PARSE.BDY -- Parser body
- FLOWGRAPH.SPC -- McCabe flow graph handling package (spec)
- STATEMENT.SPC -- Ada statement processing (spec)
- MCCAPPLY.SUB -- Grammar action routines (generated from grammar)
- STATEMENT.BDY -- Statement processing (body)
- MCCSTK.BDY -- McCabe stack body
- FLOWGRAPH.BDY -- McCabe flow graph handling package (body)
- MCCABE.ADA -- McCabe driver program
-
- The [.TEST] subdirectory contains tests used in testing the mccabe tool.
-
- Files in [.TEST]:
-
- TMCCABE.COM -- COM file to run all test for McCabe tool
- CHECKOUT.COM -- COM file to compare old result with the new
- (after running TMCCABE.COM)
- CLEANUP.COM -- COM file to clean the [.TEST] directory
-
- Files with file type .TST are inputs to the McCabe test.
-
- EXCEPT.TST LABS.TST LABS2.TST LABS4.TST LABS5.TST
- LABS6.TST LOOP.TST MLABS.TST MLABS5.TST MLABS6.TST
- SELECT.TST SELECT1.TST SELECT3.TST TEST1.TST TEST10.TST
- TEST10A.TST TEST11A.TST TEST12.TST TEST13.TST TEST17.TST
- TEST18.TST TEST2.TST TEST21.TST TEST22.TST TEST23.TST
- TEST24.TST TEST3.TST TEST4.TST TEST5.TST TEST6.TST
- TEST7.TST TEST7A.TST TEST8.TST TEST9.TST
-
- Files with file type .RPT are expected results of the McCabe test.
-
- EXCEPT.RPT LABS.RPT LABS2.RPT LABS4.RPT LABS5.RPT
- LABS6.RPT LOOP.RPT MLABS.RPT MLABS5.RPT MLABS6.RPT
- SELECT.RPT SELECT1.RPT SELECT3.RPT TEST1.RPT TEST10.RPT
- TEST10A.RPT TEST11A.RPT TEST12.RPT TEST13.RPT TEST17.RPT
- TEST18.RPT TEST2.RPT TEST21.RPT TEST22.RPT TEST23.RPT
- TEST24.RPT TEST3.RPT TEST4.RPT TEST5.RPT TEST6.RPT
- TEST7.RPT TEST7A.RPT TEST8.RPT TEST9.RPT
-
- The [.DOC] subdirectory contains the documentation for the McCabe tool.
-
- Files in [.DOC]:
-
- MCCABE.MEM -- McCabe tool user's manual
- MCCABE.RNO -- Runoff input for McCabe tool user's manual
- MCCGRM.LIS -- Listing of requirements reference grammar. The rule
- numbers in this file may be used to make changes to the
- case statement in the MCC_APPLY_ACTIONS subunit.
- RELEASE.NTS -- Release notes
-
-