Branch Coverage

lib/Decl/Semantics/Macro.pm
Criterion Covered Total %
branch 12 40 30.0


line true false branch
53 3 4 if ($self->code or $self->bracket)
57 2 5 if ($self->is('define'))
58 1 4 if ($self->is('<='))
59 0 4 if ($self->is('express'))
94 4 1 unless defined $definition
95 0 5 unless $definition
108 5 0 if ($$definition{'owncode'})
115 0 0 if ($definition->hasbody)
124 0 0 if ($_->is('yield') or $_->is('setup')) { }
0 0 elsif ($_->is('parameter')) { }
125 0 0 if $_->is('setup') and $$definition{'instantiated'}
126 0 0 if ($$_{'owncode'}) { }
0 0 elsif ($_->hasbody) { }
139 0 0 unless (defined $value)
140 0 0 if (my $child = $self->first($parameter)) { }
0 0 elsif (defined $_->label) { }
0 0 elsif ($$_{'callable'} eq 1) { }
141 0 0 if ($child->label) { }
0 0 elsif ($$child{'callable'} eq 1) { }
209 5 0 if ($$self{'owncode'} and $$self{'sub'}) { }