blib/lib/MooseX/Declare/Context/WithOptions.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 14 | 85.7 |
line | true | false | branch |
---|---|---|---|
30 | 2 | 26 | unless (defined $key) |
31 | 1 | 1 | if keys %ret |
36 | 0 | 26 | unless $key =~ /^(extends|with|is)$/ |
40 | 2 | 24 | unless (defined $val) |
41 | 2 | 0 | if (defined($val = $self->strip_proto)) { } |
50 | 2 | 24 | ref $val ? : |
59 | 5 | 18 | $key eq 'is' ? : |