From d5461bed9a1b19840030d47c5ce9b685cd1206c5 Mon Sep 17 00:00:00 2001 From: Bob Duff Date: Thu, 12 Dec 2019 10:02:05 +0000 Subject: [PATCH] [Ada] Update gnatmetric documentation for average lengths 2019-12-12 Bob Duff gcc/ada/ * doc/gnat_ugn/gnat_utility_programs.rst: Update gnatmetric documentation for average lengths From-SVN: r279282 --- gcc/ada/ChangeLog | 5 +++++ gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst | 6 ++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index c71233d6cbf..57df9a2a3aa 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2019-12-12 Bob Duff + + * doc/gnat_ugn/gnat_utility_programs.rst: Update gnatmetric + documentation for average lengths + 2019-12-12 Ed Schonberg * sem_ch3.adb (Constrain_Access): Remove obsolete comments and diff --git a/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst b/gcc/ada/doc/gnat_ugn/gnat_utility_programs.rst index 56d48695a2e..6e836a72d80 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` -- 2.30.2