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