Branch Coverage

blib/lib/MooX/Prototype.pm
Criterion Covered Total %
branch 19 28 67.8


line true false branch
20 0 22 unless my $left = shift()
21 0 22 unless my $right = shift()
25 0 22 unless 'HASH' eq ref $right
28 4 39 if ('HASH' eq ref $val) { }
2 37 elsif ('ARRAY' eq ref $val) { }
32 0 6 'HASH' eq ref $_ ? :
50 19 1 if defined $value
65 13 0 $modern ? :
68 0 13 if $@
78 8 0 ref $class ? :
82 8 0 $base->isa($common) ? :
92 0 8 unless 'CODE' eq ref $value
108 7 19 if $val and $is_code
109 1 18 ref $val ? :