Condition Coverage

blib/lib/Trace/Mask/Util.pm
Criterion Covered Total %
condition 34 40 85.0


and 3 conditions

line !l l&&!r l&&r condition
78 2 1 1154 $mask and ref $mask
3 1 1153 $mask and ref $mask and &reftype($mask) eq 'HASH'
91 1 0 134 $shift =~ /^\d+$/ and $shift >= 0
96 0 0 520 $hide =~ /^\d+$/ and $hide >= 0
109 1 14 0 $delta and ref $delta || !($delta =~ /^-?\d+$/)
126 1 89 3 $sub and not ref $sub
128 3 0 90 $sub and ref $sub
3 1 89 $sub and ref $sub and &reftype($sub) eq 'CODE'
144 1 3 4 $sub and not ref $sub
146 3 0 5 $sub and ref $sub
3 1 4 $sub and ref $sub and &reftype($sub) eq 'CODE'

or 2 conditions

line l !l condition
139 2 7 $file ||= '*'
140 1 8 $line ||= '*'

or 3 conditions

line l !l&&r !l&&!r condition
109 1 1 12 ref $delta || !($delta =~ /^-?\d+$/)