| blib/lib/Metrics/Any/Adapter/Routable.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 14 | 16 | 87.5 |
| line | true | false | branch |
|---|---|---|---|
| 115 | 7 | 2 | unless ref $categories eq "ARRAY" |
| 126 | 2 | 4 | if exists $categories->{$package} |
| 129 | 2 | 3 | if exists $$categories{"${package}::*"} |
| 130 | 2 | 1 | unless $package =~ s/::[^:]+$//u |
| 162 | 0 | 5 | if @errs |
| 170 | 0 | 5 | unless my $category = $self->{'metric_category'}{$handle} |
| 177 | 4 | 11 | unless &any(sub { $_ eq $category; } , @$categories) |
| 186 | 1 | 4 | if @errs |