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)).
Source[semidet,multifile]report_hook(+Succeeded, +Failed)
This hook is called after the data collection. It is passed a list of objects that have succeeded as well as a list of objects that have failed. The objects are one of
ClauseRef
The specified clause
call_site(ClauseRef, PC)
A call was make in ClauseRef at the given program counter.