PAL CARD CATALOG ENTRY

SHORT DESCRIPTION

Counts Ada statements, Ada comments, and lines in files


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

ASSET PROFILE

UNIT NAME
ASC
VERSION
1
REVIEW CODE
CS (VMS/DEC Ada,Sun/Verdix Ada,MSDOS/Meridian Ada);ES;AR;C1 1.0 B
INET ADDRESS
rconn@wsmr-simtel20.army.mil
AUTHOR
Richard Conn
RIGHTS
PUBLIC DOMAIN
COPYRIGHT
Not documented in PAL database
DATE CREATED
12 April 1990
DATE RELEASED
12 April 1990
DATE LAST UPDATED
12 April 1990
LOCATION
ASR
PAL
AdaNET
ENVIRONMENT
SUN 3/260 (SunOS 4.0.3), VADS 5.5t
VAX 11/785 (VMS 4.5), DEC Ada 1.3-24
MSDOS 3.3, IntegrAda 4.0.1
MSDOS 3.3, Meridian Ada 3.x
LIMITATIONS
Not documented in PAL database
CERTIFICATION
Ada System Certifier_1 1.0
Date/Time of Processing: Tuesday   24 May       1994 07:57:22Pm
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              13
Library Units      17
Lines            2432
Statements        738
Comments         1022

FILE LISTING

Directory Display


languages/ada/asr/tools/asc:
  File Name                 Size
  ---------                 ----
  asc.zip                 12,193

languages/ada/asr/components/cli2:
  File Name                 Size
  ---------                 ----
  cli2.zip                 7,922


Totals
  ==============  ==============
    2 Files               20,115

ABSTRACT

ASC counts the number of lines (terminated by newlines),
Ada statements (indicated by stand-alone semicolons, i.e.,
semicolons not in strings, quotes, or parentheses), and Ada
comments (which are on lines by themselves).  ASC supports
include file processing, an arbitrary number of arguments on
the command line, and the following options:

     -L  Toggle line-count-only mode, where only line counts
         are displayed (this mode is for counting lines in
         text documents, as opposed to Ada code segments)
     -S  Print subtotals of all files since the start of the
         program or since the last -S option; the subtotal
         counters are reset
     -T  Print running totals; no counters are reset

MIL-HDBK-1804 PDL is used for internal documentation.  See this
PDL in the source code for more documentation and usage instructions.


REVISION HISTORY

DATE         VERSION	AUTHOR                  HISTORY
12 Apr 90       1    Richard Conn            Initial Release


RELEASE NOTICE

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

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.