| blib/lib/Mouse.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 16 | 93.7 |
| line | true | false | branch |
|---|---|---|---|
| 48 | 1 | 504 | if @_ % 2 |
| 51 | 3 | 501 | ref $name ? : |
| 91 | 1 | 15 | if defined $SUPER_PACKAGE and $SUPER_PACKAGE ne caller() |
| 92 | 1 | 14 | unless defined $SUPER_BODY |
| 106 | 12 | 9 | if (my $body = $INNER_BODY{$pkg}) { } |
| 128 | 0 | 571 | unless my $class = $args{'for_class'} |
| 139 | 551 | 20 | unless $meta->superclasses |
| 143 | 556 | 15 | unless Mouse::Util::TypeConstraints::find_type_constraint($class) |