Commit d5461bed by Bob Duff Committed by Pierre-Marie de Rodat

[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
parent 605d8166
2019-12-12 Bob Duff <duff@adacore.com>
* doc/gnat_ugn/gnat_utility_programs.rst: Update gnatmetric
documentation for average lengths
2019-12-12 Ed Schonberg <schonberg@adacore.com> 2019-12-12 Ed Schonberg <schonberg@adacore.com>
* sem_ch3.adb (Constrain_Access): Remove obsolete comments and * sem_ch3.adb (Constrain_Access): Remove obsolete comments and
......
...@@ -2022,8 +2022,7 @@ Alternatively, you may run the script using the following command line: ...@@ -2022,8 +2022,7 @@ Alternatively, you may run the script using the following command line:
and/or format effectors (blank lines) and/or format effectors (blank lines)
* the average number of code lines in subprogram bodies, task bodies, * the average number of code lines in subprogram bodies, task bodies,
entry bodies and statement sequences in package bodies (this metric entry bodies and statement sequences in package bodies
is only computed across the whole set of the analyzed units)
``gnatmetric`` sums the values of the line metrics for all the files ``gnatmetric`` sums the values of the line metrics for all the files
being processed and then generates the cumulative results. The tool 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: ...@@ -2098,8 +2097,7 @@ Alternatively, you may run the script using the following command line:
:switch:`--lines-average` :switch:`--lines-average`
Report the average number of code lines in subprogram bodies, task bodies, Report the average number of code lines in subprogram bodies, task bodies,
entry bodies and statement sequences in package bodies. The metric is entry bodies and statement sequences in package bodies.
reported for the whole set of processed Ada sources only.
:switch:`--no-lines-average` :switch:`--no-lines-average`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment