EnglishFrenchSpanish

OnWorks favicon

gnatmetric - Online in the Cloud

Run gnatmetric in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gnatmetric that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


gnatmetric - Ada metrics tool

SYNOPSIS


gnatmetric [options] {filename | -files filename} [gcc_switches]

DESCRIPTION


gnatmetric takes a set of compilable Ada sources as input, computes for them various
programming metrics and generates the output. Argument Ada sources may be provided as
command line arguments, or you can place the names of the Ada sources to compute the
metrics for into a textual file and to provide the name of this file as the parameter of
-files option.

Documentation about the ASIS tools may be found in /usr/share/doc/asis-doc/ if the
asis-doc package is installed.

OPTIONS


-v verbose mode

-q quiet mode

-dv generate debug output

-dd generate string to be used as input for progress indicator

-nocc do not compute the McCabe Cyclomatic Complexity

-noec do not compute the Essential Complexity

-nonl do not compute maximal loop nesting level

-ne do not consider exit statements as gotos when computing Essential Complexity

-nolocal
do not compute detailed metrics for local program units

Line metrics
When not specified explicitly, all line metrics are set on, otherwise only specified
metrics are computed:

-la the number of all lines

-lcode the number of code lines

-lcomm the number of comment lines

-leol the number of code lines also containing comments

-lb the number of blank lines

Element metrics
When not specified explicitly, all element metrics are set on, otherwise only specified
metrics are computed:

-ed the total number of declarations

-es the total number of statements

-eps the number of public subprograms in a compilation unit

-eas the number of all the subprograms in a compilation unit

-ept the number of public types in a compilation unit

-eat the number of all the types in a compilation unit

-enu the maximal program unit nesting level

-ec the maximal construct nesting level

Output file control
-d dirname
put files with detailed metrics into dirname

-x generate the XML output

-nt do not generate the output in text form, implies '-x'

-o file-suffix
the suffix for the file to put the detailed metrics for a source file (file-suffix
should begin with a dot)

-og filename
the name of the file to put the global metrics info into (if not set, this info is
sent to Stdout)

-ox filename
the name of the file to put the XML output into, implies '-x'

-sfn use short source file name in the output

Input files
filename
the name of the Ada source file for which metrics should be computed. Wildcards are
allowed.

-files filename
the name of the text file containing a list of Ada source files for which metrics
should be computed.

GCC switches
gcc_switches
Passed to gnatgcc as "-cargs gcc_switches".

Use gnatmetric online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 2
    gMKVExtractGUI
    gMKVExtractGUI
    A GUI for mkvextract utility (part of
    MKVToolNix) which incorporates most (if
    not all) functionality of mkvextract and
    mkvinfo utilities. Written in C#NET 4.0,...
    Download gMKVExtractGUI
  • 3
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 4
    Frappe Books
    Frappe Books
    Frappe Books is a free and open source
    desktop book-keeping software that's
    simple and well-designed to be used by
    small businesses and freelancers. It'...
    Download Frappe Books
  • 5
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • 6
    CMU Sphinx
    CMU Sphinx
    CMUSphinx is a speaker-independent large
    vocabulary continuous speech recognizer
    released under BSD style license. It is
    also a collection of open source tools ...
    Download CMU Sphinx
  • More »

Linux commands

crm
crm
Use crm online using onworks.net
services. ...
Run crm
  • 4
    crmgr
    crmgr
    crmgr - administration utility for QDBM
    Curia ...
    Run crmgr
  • 5
    gappletviewer
    gappletviewer
    gappletviewer - Load and runs an applet
    ...
    Run gappletviewer
  • 6
    gaps
    gaps
    mummer - package for sequence alignment
    of multiple genomes ...
    Run gaps
  • s-processed="true">
    g15stats
    g15stats - A CPU/Memory/Swap usage
    meter for G15Daemon DESCRIPTION: The
    packages provides the following usage
    meter for LCD on some Logitech
    keyboards, usind g...
    Run g15stats
  • More »
  • Ad