Pierre-Marie de Rodat 50efc7cf03 Merge branch 'mr/pmderodat/pragma-no-body-closure' into 'master'
instrument-projects.adb: fix handling of No_Body units as closure roots

See merge request eng/das/cov/gnatcoverage!1117

Units that contain only `pragma No_Body;` should be ignored when
computing an Ada source closure: LibGPR2 assigns them no name (so
gnatcov could crash with an assertion failure), and they cannot have
dependencies anyway.

For https://gitlab.adacore-it.com/eng/das/cov/gnatcoverage/-/issues/496
2026-02-12 09:38:19 +00:00
2026-02-06 12:47:56 +01:00
2010-10-22 14:17:04 +00:00
2012-02-08 15:27:44 +00:00
2026-01-16 09:31:34 +01:00
2024-02-27 13:40:05 +00:00
2017-04-05 12:49:57 +02:00

GNATcoverage

GNATcoverage is a tool to analyze and report program coverage.

Originally developed as part of the Couverture research project, GNATcoverage allows coverage analysis of both object code (instruction and branch coverage), and Ada or C language source code (Statement, Decision and Modified Condition/Decision Coverage - MC/DC).

Please refer to the dedicated README files for build instructions and for testing.

Documentation

The GNATcoverage User Manual is a Sphinx-formatted document and is tracked in this repository. In order to build the HTML view, install Sphinx and run the following command from the doc/ directory:

make doc.html

License

GNATcoverage is licensed under the terms of the GPLv3 (General Public License version 3). See COPYING3 for more information.

Description
No description provided
Readme 36 MiB
Languages
Ada 70.9%
Python 22.3%
C 2.2%
TeX 1.5%
Alloy 1.2%
Other 1.9%