aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/doc
diff options
context:
space:
mode:
authorBob Duff <duff@adacore.com>2019-12-12 10:02:05 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2019-12-12 10:02:05 +0000
commitd5461bed9a1b19840030d47c5ce9b685cd1206c5 (patch)
tree6392efe219900665c217c7df3805c9130a0a35ae /gcc/ada/doc
parent605d816615bf239b9ca6627b18b861b0ff12eac0 (diff)
downloadgcc-d5461bed9a1b19840030d47c5ce9b685cd1206c5.zip
gcc-d5461bed9a1b19840030d47c5ce9b685cd1206c5.tar.gz
gcc-d5461bed9a1b19840030d47c5ce9b685cd1206c5.tar.bz2
[Ada] Update gnatmetric documentation for average lengths
2019-12-12 Bob Duff <duff@adacore.com> gcc/ada/ * doc/gnat_ugn/gnat_utility_programs.rst: Update gnatmetric documentation for average lengths From-SVN: r279282
Diffstat (limited to 'gcc/ada/doc')
-rw-r--r--gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst b/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst
index 56d4869..6e836a7 100644
--- a/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst
+++ b/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst
@@ -2022,8 +2022,7 @@ Alternatively, you may run the script using the following command line:
and/or format effectors (blank lines)
* the average number of code lines in subprogram bodies, task bodies,
- entry bodies and statement sequences in package bodies (this metric
- is only computed across the whole set of the analyzed units)
+ entry bodies and statement sequences in package bodies
``gnatmetric`` sums the values of the line metrics for all the files
being processed and then generates the cumulative results. The tool
@@ -2098,8 +2097,7 @@ Alternatively, you may run the script using the following command line:
:switch:`--lines-average`
Report the average number of code lines in subprogram bodies, task bodies,
- entry bodies and statement sequences in package bodies. The metric is
- reported for the whole set of processed Ada sources only.
+ entry bodies and statement sequences in package bodies.
:switch:`--no-lines-average`