blib/lib/HTML/Tiny.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 16 | 75.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
484 | 0 | 54 | 36 | @$obj and "SCALAR" eq ref $obj->[0] |
673 | 2434 | 112 | 112 | $closed && $self->_xml_mode |
687 | 0 | 0 | 1 | UNIVERSAL::can($obj, "can") and $obj->can("TO_JSON") |
line | l | !l | condition |
---|---|---|---|
145 | 189 | 4 | $params{'mode'} || 'xml' |
597 | 18 | 1 | shift() || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
147 | 97 | 96 | 0 | $mode eq "xml" or $mode eq "html" |