| blib/lib/Template/Caribou/Role.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 15 | 22 | 68.1 |
| line | true | false | branch |
|---|---|---|---|
| 43 | 5 | 14 | if ($self) |
| 45 | 2 | 3 | unless $self->can_add_templates |
| 52 | 0 | 17 | if $class->can('get_all_method_names') and &any(sub { $name eq $_; } , $class->get_all_method_names) |
| 53 | 0 | 17 | if $class->name->can($name) |
| 58 | 13 | 3 | if (defined wantarray) { } |
| 71 | 0 | 1 | unless @_ >= 1 |
| 94 | 6 | 143 | if $Template::Caribou::IN_RENDER |
| 98 | 6 | 143 | if $Template::Caribou::IN_RENDER |
| 103 | 0 | 149 | unless @_ >= 2 |
| 109 | 0 | 149 | unless (ref $method) |
| 110 | 0 | 0 | unless $method = $self->can($method) |