Branch Coverage

blib/lib/Template/Caribou/Role.pm
Criterion Covered Total %
branch 13 18 72.2


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 {
53 0 17 if $class->name->can($name)
58 13 3 if (defined wantarray) { }
94 6 143 if $Template::Caribou::IN_RENDER
98 6 143 if $Template::Caribou::IN_RENDER
109 0 149 unless (ref $method)
110 0 0 unless $method = $self->can($method)