| blib/lib/Alien/Build/Plugin.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 16 | 18 | 88.8 |
| line | true | false | branch |
|---|---|---|---|
| 19 | 35 | 2912 | @_ == 1 ? : |
| 31 | 23 | 680 | ref $prop->{$name} eq 'CODE' ? : |
| 340 | 703 | defined $args{$name} ? : | |
| 56 | 83 | 531 | if $class ne "Alien::Build::Plugin" |
| 78 | 0 | 1 | unless eval { do { $class->can("new") } } |
| 88 | 2948 | 566 | if ref $class |
| 106 | 0 | 35 | unless ($self->{'default'}) |
| 115 | 97 | 351 | if $single |
| 120 | 75 | 1482 | if defined $new |