Branch Coverage

blib/lib/SmartMatch/Sugar.pm
Criterion Covered Total %
branch 12 34 35.2


line true false branch
55 0 0 if defined $_[1] and not ref $_[1]
66 1 0 if defined $_[1] and not ref $_[1]
75 2 2 if defined $_[1]
82 0 0 if blessed($_[1])
88 0 0 if blessed($_[1])
96 1 3 if not ref $_[1]
105 0 0 if blessed($_[1]) or defined $_[1] and not ref $_[1]
114 0 0 if blessed($_[1]) or defined $_[1] and not ref $_[1]
123 0 0 if blessed($_[1]) or defined $_[1] and not ref $_[1]
129 5 0 if ref $_[1]
135 5 0 if ref $_[1]
145 2 2 if ref $_[1] and ref $_[1] eq 'ARRAY'
153 0 0 if ref $_[1] and ref $_[1] eq 'HASH'
161 2 1 if ref $_[1] and ref $_[1] eq 'ARRAY'
172 0 0 if ref $_[1] and ref $_[1] eq 'ARRAY'
184 0 0 if ref $_[1] and ref $_[1] eq 'HASH'
191 6 0 unless (looks_like_number $length and $length >= 0 and int $length == $length)