Branch Coverage

blib/lib/Catalyst/View/HTML/Mason.pm
Criterion Covered Total %
branch 20 32 62.5


line true false branch
124 2 11 if ($self->has_encoding)
127 0 4 if $old_func
136 13 0 if (my $meta = Class::MOP::class_of($self)) { }
144 10 0 &blessed($_) ? :
157 20 3 if (@values) { }
168 0 10 $args ? :
192 0 10 if &blessed($comp) and $comp->isa('Path::Class')
195 0 10 if &blessed($comp)
198 0 10 if ref $comp and ref $comp eq 'ARRAY'
201 10 0 unless $comp =~ m[^/]
205 0 10 unless $component
208 0 10 if defined $method
221 5 5 if (defined $comp)
222 0 5 if not ref $comp and $self->always_append_template_extension
238 0 3 if ($prefix eq '$') { }
1 2 elsif ($prefix eq '@') { }