Branch Coverage

blib/lib/Data/Object/Role/Syntax.pm
Criterion Covered Total %
branch 10 28 35.7


line true false branch
43 0 0 if (my $orig = $target->can('has'))
51 0 0 if @props % 2 != 0
67 0 0 if ($props{$code} and $props{$code} eq '1')
74 0 0 if (my $method = delete $props{'defaulter'})
75 0 0 if ($method eq '1')
86 0 0 $alt ? :
96 10 0 if (my $has = (caller)->can('has'))
97 0 10 ref $name ? :
98 10 0 if @_ = (map("+$_", @name), @props)
116 2 0 if @_ = ($name, 'default', $code, @props)
150 2 1 ref $type ? :
3 0 if @_ = ($name, ref $type ? &isa($type) : (), @props, @req)
169 2 1 ref $type ? :
3 0 if @_ = ($name, ref $type ? &isa($type) : (), @props, @req)