object
cobertura_report
Intercepts unit test execution messages and generates a cobertura.xml file with code coverage results.
Availability:
logtalk_load(lgtunit(loader))Author: Paulo Moura
Version: 1:0:0
Date: 2026-03-13
Compilation flags:
static, context_switching_callsRemarks:
Usage: Simply load this object before running your tests using the goal
logtalk_load(lgtunit(cobertura_report)).
Inherited public predicates:
(none)
Public predicates
(no local declarations; see entity ancestors if any)
Protected predicates
(no local declarations; see entity ancestors if any)
Private predicates
timestamp_/6
Test start date and time.
Compilation flags:
dynamicTemplate:
timestamp_(Year,Month,Day,Hours,Minutes,Seconds)Mode and number of proofs:
timestamp_(?integer,?integer,?integer,?integer,?integer,?integer) - zero_or_oneclass_/5
Table of entity coverage data.
Compilation flags:
dynamicTemplate:
class_(Entity,File,Line,Covered,Total)Mode and number of proofs:
class_(?entity_identifier,?atom,?integer,?integer,?integer) - zero_or_moremethod_/7
Table of predicate coverage data.
Compilation flags:
dynamicTemplate:
method_(Entity,Predicate,Line,Covered,Total,Percentage,Clauses)Mode and number of proofs:
method_(?entity_identifier,?predicate_indicator,?integer,?integer,?integer,?float,?list) - zero_or_morelines_covered_/1
Counter for total covered lines.
Compilation flags:
dynamicTemplate:
lines_covered_(Covered)Mode and number of proofs:
lines_covered_(?integer) - zero_or_onelines_total_/1
Counter for total lines.
Compilation flags:
dynamicTemplate:
lines_total_(Total)Mode and number of proofs:
lines_total_(?integer) - zero_or_onesummary_/2
Coverage summary with covered and total entity counts.
Compilation flags:
dynamicTemplate:
summary_(Covered,Total)Mode and number of proofs:
summary_(?integer,?integer) - zero_or_oneOperators
(none)