Branch Coverage

blib/lib/MouseX/NativeTraits/MethodProvider/HashRef.pm
Criterion Covered Total %
branch 37 70 52.8


line true false branch
11 0 14 if (@_ != 1)
23 0 1 if (@_ != 1)
35 0 12 if (@_ != 1)
47 0 12 if (@_ != 1)
60 0 10 if (@_ != 1)
72 0 52 if (@_ != 1)
84 0 20 if (@_ != 1)
97 0 22 if (@_ != 2)
100 0 22 unless defined $key
113 0 12 if (@_ != 2)
116 0 12 unless defined $key
129 0 42 if (@_ < 2)
135 0 92 unless defined $key
140 12 30 if (@_ == 1) { }
162 0 70 if (@_ < 2)
170 0 88 unless defined $key
176 67 0 if defined $constraint
179 10 41 if defined $trigger
181 10 41 wantarray ? :
197 22 34 if (@_ == 2) { }
24 10 elsif (@_ == 3) { }
198 0 22 unless defined $key
204 0 24 unless defined $key
210 23 0 if defined $constraint
212 4 19 if defined $trigger
226 0 10 if (@_ != 1)
240 0 21 if (@_ < 2)
246 5 16 if defined $trigger
247 10 11 wantarray ? :
259 0 0 if (@_ != 2)
263 0 0 unless Mouse::Util::TypeConstraints::CodeRef($block)
283 0 0 if (@_ != 2)
287 0 0 unless Mouse::Util::TypeConstraints::CodeRef($block)
307 0 0 if (@_ != 2)
311 0 0 unless Mouse::Util::TypeConstraints::CodeRef($block)