| blib/lib/Catalyst/ComponentRole/PathFrom.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 19 | 24 | 79.1 |
| line | true | false | branch |
|---|---|---|---|
| 53 | 1 | 9 | $proto[0] eq '' ? : |
| 57 | 10 | 0 | if ($self->has_extension) |
| 69 | 0 | 10 | if ($proto->isa('Catalyst::Action')) { } |
| 74 | 1 | 9 | if (defined $proto2 and ref \$proto2 eq 'SCALAR') { } |
| 83 | 1 | 8 | if (defined $action) { } |
| 104 | 0 | 13 | ref $_ ? : |
| 105 | 4 | 9 | defined $template_args{$_} ? : |
| 113 | 3 | 5 | unless defined $proto |
| 121 | 2 | 2 | unless $action->attributes->{$self->action_attribute} |
| 122 | 2 | 2 | unless defined $proto |
| 124 | 0 | 2 | if @more |
| 132 | 0 | 2 | unless defined $action |