Branch Coverage

blib/lib/MasonX/Request/ExtendedCompRoot.pm
Criterion Covered Total %
branch 0 68 0.0


line true false branch
29 0 0 $HTML::Mason::CGIHandler::VERSION ? :
0 0 $HTML::Mason::ApacheHandler::VERSION ? :
48 0 0 unless defined $path
53 0 0 if ($path eq 'SELF')
56 0 0 if ($path eq 'PARENT')
57 0 0 unless my $c = $self->current_comp->parent
61 0 0 if ($path eq 'REQUEST')
69 0 0 if (index($path, '=>') != -1)
77 0 0 if (index($path, ':') != -1)
86 0 0 if ($owner_path_with_comp_root =~ /^(SELF|PARENT|REQUEST)$/) { }
0 0 elsif (index($owner_path_with_comp_root, '=>') == -1) { }
96 0 0 unless $owner_comp
99 0 0 if $method_comp
101 0 0 if $owner_path eq $owner_path_with_comp_root
104 0 0 unless ($owner_comp)
105 0 0 unless ($method_comp)
115 0 0 unless ($path =~ m[/])
118 0 0 if (my $subcomp = $cur_comp->subcomps($path))
123 0 0 if ($cur_comp->is_subcomp and my $subcomp = $cur_comp->owner->subcomps($path))
132 0 0 unless substr($path, 0, 1) eq '/'
159 0 0 if (@comp_root)
174 0 0 unless @prefix_comp_root
182 0 0 if $seen{$$root[0]}
195 0 0 if ($$self{'store_comp_root'})
210 0 0 unless ($$self{'store_comp_root'})
227 0 0 if ($array_check eq 'ARRAY')
230 0 0 if ($inner_array_check =~ /ARRAY|HASH/s or index($check_comp_root[0][0], '=>') != -1)
243 0 0 unless ($ref_check =~ /ARRAY|HASH/)
246 0 0 if (index($string, '=>') != -1) { }
249 0 0 if ($root_split[2])
254 0 0 if ($ref_check =~ /HASH/)
263 0 0 unless 'File::Spec'->file_name_is_absolute($$_[1])
264 0 0 unless -d $$_[1]
265 0 0 if $seen{$$_[0]}++