8 Coverage analysis
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Packages
Prolog Unit Tests
Coverage analysis
show_coverage/1
Availability:
:- use_module(
library(test_cover)
).
(can be autoloaded)
show_coverage
(
:Goal
)
Run
Goal
and write a report on which percentage of the clauses in each file are used by the program and which percentage of the clauses always fail.