Branch Coverage

blib/lib/App/AutoCRUD.pm
Criterion Covered Total %
branch 16 24 66.6


line true false branch
84 1 2 if -d $path
101 0 1 if $msgs
147 17 0 if (my $source_name = $context->extract_path_segments(1)) { }
148 16 1 if (my $datasource = $self->datasource($source_name)) { }
166 0 17 unless my $controller_class = $self->find_class("Controller::$controller_name")
186 49 54 if $class
208 0 54 if not $_ =~ /^Can't locate(?! object method)/
270 0 104 if not defined $path0 and @path
271 20 84 unless defined $path0
272 25 59 unless defined $root
273 59 0 if &does($root, 'HASH')
274 0 0 if &does($root, 'ARRAY')