Condition Coverage

blib/lib/SmartMatch/Sugar.pm
Criterion Covered Total %
condition 10 45 22.2


and 3 conditions

line !l l&&!r l&&r condition
55 0 3 1 defined $_[1] and not ref $_[1]
66 0 0 0 defined $_[1] and not ref $_[1]
105 0 0 0 defined $_[1] and not ref $_[1]
114 0 0 0 defined $_[1] and not ref $_[1]
123 0 0 0 defined $_[1] and not ref $_[1]
145 0 0 0 ref $_[1] and ref $_[1] eq 'ARRAY'
153 0 2 2 ref $_[1] and ref $_[1] eq 'HASH'
161 0 0 0 ref $_[1] and ref $_[1] eq 'ARRAY'
172 0 0 1 ref $_[1] and ref $_[1] eq 'ARRAY'
184 6 0 1 ref $_[1] and ref $_[1] eq 'HASH'
191 0 0 6 looks_like_number $length and $length >= 0
0 0 4 looks_like_number $length and $length >= 0 and int $length == $length

or 3 conditions

line l !l&&r !l&&!r condition
105 0 0 0 blessed($_[1]) or defined $_[1] and not ref $_[1]
114 0 0 0 blessed($_[1]) or defined $_[1] and not ref $_[1]
123 6 0 0 blessed($_[1]) or defined $_[1] and not ref $_[1]