Condition Coverage

blib/lib/Wikibase/Datatype/Print/Value/Quantity.pm
Criterion Covered Total %
condition 7 9 77.7


and 3 conditions

line !l l&&!r l&&r condition
29 4 2 1 exists $opts_hr->{'cb'} and not $opts_hr->{'cb'}->isa("Wikibase::Cache")
36 0 3 2 $opts_hr->{'print_name'} and exists $opts_hr->{'cb'}

or 3 conditions

line l !l&&r !l&&!r condition
37 1 1 0 $opts_hr->{'cb'}->get('label', $obj->unit) || $obj->unit