mirror of
https://github.com/AdaCore/gnatcoverage.git
synced 2026-02-12 12:44:55 -08:00
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
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
Languages
Ada
70.9%
Python
22.3%
C
2.2%
TeX
1.5%
Alloy
1.2%
Other
1.9%