Condition Coverage

blib/lib/HTML/Tiny.pm
Criterion Covered Total %
condition 12 16 75.0


and 3 conditions

line !l l&&!r l&&r condition
484 0 54 36 @$obj and "SCALAR" eq ref $obj->[0]
673 2466 96 96 $closed && $self->_xml_mode
687 0 0 1 UNIVERSAL::can($obj, "can") and $obj->can("TO_JSON")

or 2 conditions

line l !l condition
145 189 4 $params{'mode'} || 'xml'
597 18 1 shift() || {}

or 3 conditions

line l !l&&r !l&&!r condition
147 97 96 0 $mode eq "xml" or $mode eq "html"