Branch Coverage

blib/lib/WebDAO/Container.pm
Criterion Covered Total %
branch 0 52 0.0


line true false branch
87 0 0 $type == 1 ? :
0 0 $type == 0 ? :
101 0 0 $type == 1 ? :
0 0 $type == 0 ? :
107 0 0 ref $_ eq 'ARRAY' ? :
109 0 0 if ref $_
110 0 0 ref $_ eq 'ARRAY' ? :
111 0 0 unless @childs
112 0 0 if ($self->__parent)
172 0 0 unless (defined $res)
176 0 0 if (exists $routes{$method} and my $class = $routes{$method})
177 0 0 unless (UNIVERSAL::isa($class, 'WebDAO::Container'))
188 0 0 unless defined $res
189 0 0 if (ref $res eq 'ARRAY')
206 0 0 unless (scalar @_)
214 0 0 if (my $obj = $self->_get_obj_by_name($next_name)) { }
225 0 0 unless defined $res
226 0 0 if (UNIVERSAL::isa($res, 'WebDAO::Response')) { }
0 0 elsif (ref $res eq 'ARRAY') { }
240 0 0 if ($last_path)
241 0 0 if (ref $last_path eq 'ARRAY')
245 0 0 if (@rest_path)
250 0 0 if ($res and $src and $src eq $res and not UNIVERSAL::isa($src, 'WebDAO::Modal'))
253 0 0 if UNIVERSAL::isa($self, 'WebDAO::Modal')
261 0 0 unless defined $name
264 0 0 if ($obj->_obj_name eq $name)