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
77 2 1 1154 $mask and ref $mask
3 1 1153 $mask and ref $mask and &reftype($mask) eq 'HASH'
90 1 0 134 $shift =~ /^\d+$/ and $shift >= 0
95 0 0 520 $hide =~ /^\d+$/ and $hide >= 0
108 1 14 0 $delta and ref $delta || !($delta =~ /^-?\d+$/)
125 1 89 3 $sub and not ref $sub
127 3 0 90 $sub and ref $sub
3 1 89 $sub and ref $sub and &reftype($sub) eq 'CODE'
143 1 3 4 $sub and not ref $sub
145 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
138 2 7 $file ||= '*'
139 1 8 $line ||= '*'

or 3 conditions

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