Branch Coverage

blib/lib/Logic/Easy.pm
Criterion Covered Total %
branch 29 38 76.3


line true false branch
33 4 3 @vars ? :
36 1 6 if ($where =~ /^\s*\{/) { }
0 6 elsif ($where) { }
62 4 6 if ($glob ne 'ANON')
69 38 0 if ($MULTI{$name}) { }
73 38 19 if (eval { do { if ($wantarray) { @rets = &$code(@_); } else { $ret = &$code(@_); } ; 1 } })
74 19 38 if ($wantarray) { }
82 13 25 if ($wantarray) { }
90 19 0 if ($@ =~ /Logic::/) { }
119 125 72 ref $_[0] ? :
129 72 52 if (@_ and ref $_[-1] eq 'CODE') { }
131 48 24 if ($stack->run)
137 12 41 unless (eval { do { $_[-1]->(); 1 } })
142 12 0 if ($@ =~ /Logic::/) { }
143 5 7 if ($stack->backtrack) { }
158 1 30 if (defined wantarray) { }
179 0 0 if ($_[0] eq 'Logic::Easy' or ref $_[0] eq 'Logic::Easy') { }
196 0 12 if (@_) { }
248 0 0 unless ref $code eq 'CODE'