Man page for betawc


NAME

     betawc - BETA fragment analyser


SYNOPSIS

     betawc [--help] [--all] [--conflict] [--full] [--exclude] [-
     -include] [--list] file...


AVAILABILITY

     The Mjolner BETA fragment analyzer is available as  part  of
     the Mjolner BETA System from Mjolner Informatics.


DESCRIPTION

     betawc is a BETA fragment analyzer.  betawc is used to  find
     out  how  many fragment groups, how many fragment forms, how
     many lines of code, how many words, and how many  characters
     are in the dependency graph of the specified fragment.

     Furthermore, betawc tries to evaluate  which  libraries  are
     used in the specified fragment (either directly or indirect-
     ly throughout the entire  dependency  graph),  and  gives  a
     listing  of all fragment groups found during the analysis of
     the dependency graph of the specified fragment.

     During the analysis of  the  dependency,  betawc  will  give
     proper warnings of suspicious library versions, in the sense
     that there seems to be two versions of the same  library  in
     use in the same dependency graph.

     betawc works by traversing the dependency graph of the frag-
     ment graph, following ORIGIN, INCLUDE, BODY and MDBODY frag-
     ment links, starting at the fragment specified in  the  file
     given  as argument to betawc. During this traversal (identi-
     cal to the dependency analysis conducted by  the  BETA  com-
     piler),  betawc  selects the fragments to be included in the
     further analysis (count of fragment forms, etc.).

     The different betawc options may be used to control the part
     of  the dependency graph that are analysed, and the types of
     analysis conducted (see below).


OPTIONS

     --all
          same as --conflict --full --list
     --conflict
          check for conflicts
     --full
          include standard files (files located in /users/beta)
     --exclude str
          exclude all files containing str. Note, that str may be
          any egrep(1) pattern
     --include str
          include all files containing str. Note, that str may be
          any egrep(1) pattern
     --list
          list the fragment groups in the dependency graph.
     --help
          Print this help info

ENVIRONMENT

     betawc recognizes the environment variable $BETALIB.  Please
     note that this variable is given default value in the Bourne
     Shell script $BETALIB/configuration/r4.0/env.sh
     BETALIB
          Specifies where ~beta is located.  If not set, beta  is
          assumed  to  be  a  username,  and ~beta being the home
          directory of that user.  Is used by many tools  in  the
          Mjolner BETA System.


SEE ALSO

     beta(1) - BETA Compiler

     valhalla(1) - Mjolner BETA Source-Level Debugger

     betatar(1) - BETA tar(1) front-end

     betafs(1) - Mjolner BETA Fragment Structure Lister

     sif(1) - Hyper-Structure Editor

AUTHORS

     The BETA fragment analyzer is developed by Mjolner Informat-
     ics as part of the Mjolner BETA System.

     Questions,   bug-reports,   etc.   may   be   directed    to
     support@mjolner.dk  if the local support organization cannot
     find solutions to the problems.

     For more information of the Mjolner BETA System, please con-
     tact  Mjolner Informatics, Science Park Aarhus, Gustav Wieds
     Vej 10, DK-8000 Aarhus C, Denmark, phone: +45 86 20  20  00,
     fax: +45 86 20 12 22, e-mail: info@mjolner.dk.