| blib/lib/Sub/Meta/Creator.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 14 | 14 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 14 | 1 | 13 | @args == 1 ? : |
| 16 | 1 | 13 | unless (exists $args{'finders'}) |
| 20 | 2 | 11 | unless (ref $args{'finders'} and ref $args{'finders'} eq 'ARRAY') |
| 24 | 10 | 1 | if ref $_ |
| 2 | 9 | unless (&List::Util::all(sub { ref $_ eq 'CODE' if ref $_; } , @{$args{'finders'};})) | |
| 39 | 3 | 3 | if defined $materials |
| 46 | 1 | 1 | if (my $materials = $self->find_materials($sub)) |