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)