• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

A.39.3 Predicate reference
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • The SWI-Prolog library
        • library(prolog_coverage): Coverage analysis tool
          • Predicate reference
            • coverage/1
            • coverage/2
            • show_coverage/1
            • report_hook/2
            • cov_save_data/2
            • cov_load_data/2
            • cov_reset/0
            • cov_property/1
    • Packages
Availability::- use_module(library(prolog_coverage)).(can be autoloaded)
Source[semidet]coverage(:Goal, +Options)
Collect and optionally report coverage by Goal. Goal is executed as in once/1. Options processed:
show(+Boolean)
When true (default), call show_coverage/1 passing Options to show the collected coverage data and reset the data. When false, collect the data but do not reset it. If there is already existing data the new data is added.
ClioPatria (version V3.1.1-51-ga0b30a5)