PAL CARD CATALOG ENTRY

SHORT DESCRIPTION

Count Ada statements (semicolon) and lines (CR/LF)


MOVEMENT WITHIN THE PAL CARD CATALOG
Move to top-level taxonomy
Move to keyword list

ASSET PROFILE

UNIT NAME
FILE_CHECKER
VERSION
1.4
REVIEW CODE
CS (VMS/DEC Ada, Sun/Verdix Ada); ES; AR; C1 1.0 B
INET ADDRESS
RCONN at SIMTEL20
AUTHOR
Richard Conn
MACA (work originally done for TI Ada Technology Branch)
RIGHTS
PUBLIC DOMAIN
COPYRIGHT
(c) 1985, 1986, 1987, 1988, 1989 Richard Conn
DATE CREATED
15 Feb 85
DATE RELEASED
15 Feb 85
DATE LAST UPDATED
6 Jan 89
LOCATION
ASR
PAL
AdaNET
ENVIRONMENT
DG MV 10000, ROLM ADE
DEC VAX 11/780, DEC Ada
SUN 3/260, Verdix Ada
LIMITATIONS
Not documented in PAL database
CERTIFICATION
Ada System Certifier_1 1.0
Date/Time of Processing: Thursday  26 May       1994 02:27:33Am
Overall Assessment of System: OK
Classification of System: B
Basis of Classification --
Syntax Errors                               PASS
Completeness                                PASS
Independence from External Libraries        PASS
Independence from a Specific Ada Compiler   FAIL

Explanations for failures --
System contains compiler-specific pragmas or uses Machine_Code

Number of ...
Files               3
Library Units       4
Lines             880
Statements        296
Comments          400

FILE LISTING

Directory Display


languages/ada/asr/tools/fcheck:
  File Name                 Size
  ---------                 ----
  fcheck.zip              11,427


Totals
  ==============  ==============
    1 Files               11,427

ABSTRACT

FILE_CHECKER counts the number of Ada statements (terminated by
semicolons), the number of lines of code, and a checksum of the
non-space (excludes tabs, CR, LF, FF, HT, and spaces) characters in a
group of files.

FILE_CHECKER asks for one file name after another; the user terminates
his input by striking RETURN to the file name prompt.  FILE_CHECKER
then gives a summary report of this data on all files listed.  Include
files may be specified along with other file names.

Ada components used by FILE_CHECKER include GENERIC_LIST and CAS3.
CHARACTER_SET is used by CAS3.  These components were extracted from
the COMPONENTS subdirectory in the Ada Software Repository and some
unnecessary code was removed.

Compilation instructions are presented as Ada comments at the front of
the FCHECK.SRC file.


REVISION HISTORY

DATE         VERSION AUTHOR                  HISTORY
2/15/85      1.0     Richard Conn            Initial Release
4/9/85       1.1     Richard Conn            Add Include Files, CAS3
9/25/85      1.2     Richard Conn            Add Output File, Misc
12/2/85      1.3     Richard Conn            Add Count Summary
1/6/89       1.4     Richard Conn            Create composite SRC
                                             file and optimize


RELEASE NOTICE

This prologue must be included in all copies of this software.

This software is copyright by the author.

This software is released to the Ada community.
This software is released to the Public Domain (note:
  software released to the Public Domain is not subject
  to copyright protection).
Restrictions on use or distribution:  NONE


DISCLAIMER

	This software and its documentation are provided "AS IS" and
without any expressed or implied warranties whatsoever.  No warranties
as to performance, merchantability, or fitness for a particular
purpose exist.
	The user is advised to test the software thoroughly before
relying on it.  The user must assume the entire risk and liability of
using this software.  In no event shall any person or organization of
people be held responsible for any direct, indirect, consequential or
inconsequential damages or lost profits.