Condition Coverage

blib/lib/CBOR/PP/Encode.pm
Criterion Covered Total %
condition 8 9 88.8


and 3 conditions

line !l l&&!r l&&r condition
133 65 2 152 not tr[0-9][\000-/:-\377]c and 0 != rindex($_, '0', 0)
228 12 0 2 $_[1] and $_[1]{'canonical'}

or 3 conditions

line l !l&&r !l&&!r condition
133 6 208 11 not $_ or not tr[0-9][\000-/:-\377]c and 0 != rindex($_, '0', 0)