-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
Linemetrics
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
Elementmetrics
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
Outputfilecontrol-ddirname
put files with detailed metrics into dirname-x generate the XML output
-nt do not generate the output in text form, implies '-x'
-ofile-suffix
the suffix for the file to put the detailed metrics for a source file (file-suffix should begin
with a dot)
-ogfilename
the name of the file to put the global metrics info into (if not set, this info is sent to Stdout)
-oxfilename
the name of the file to put the XML output into, implies '-x'
-sfn use short source file name in the output
Inputfilesfilename
the name of the Ada source file for which metrics should be computed. Wildcards are allowed.
-filesfilename
the name of the text file containing a list of Ada source files for which metrics should be
computed.
GCCswitchesgcc_switches
Passed to gnatgcc as "-cargsgcc_switches".