Branch Coverage

blib/lib/Pulp.pm
Criterion Covered Total %
branch 5 74 6.7


line true false branch
27 0 1 if ($opts{'-v2'})
43 0 1 if ($opts{'extends'})
47 0 1 if ($opts{'-auto'} or $opts{'extends'})
57 0 0 if (@in_mods)
69 0 0 if $auto
73 0 0 unless (ref $route_names eq 'ARRAY')
82 0 0 if ($@)
110 0 0 if (scalar keys %$configs > 0)
117 0 0 if ($$config{'models'})
121 0 0 unless (ref $$config{'models'} eq 'HASH')
130 0 0 if ($@)
135 0 0 if (my $ret = $mod->build(@args)) { }
136 0 0 if (ref $ret) { }
139 0 0 if (ref $ret eq 'HASH') { }
141 0 0 if (ref $$ret{$key})
153 0 0 if (grep {$_ eq 'DBIx::Class::Schema';} @{mro::get_linear_isa($dbref);})
154 0 0 if ($dbref->can('sources'))
161 0 0 if ($use_api)
208 0 0 if (scalar keys %{$$self{'_models'};} > 0)
216 0 0 if ($$route{$url}{'bridge'}) { }
0 0 elsif ($$route{$url}{'type'} eq 'any') { }
235 0 0 if ($fullpath =~ /.+::(.+)$/)
239 0 0 if ($name)
240 0 0 if $ENV{'KELPX_SWEET_DEBUG'}
246 1 0 unless ($caller->can('has'))
253 1 0 unless ($caller->can('around'))
274 0 0 if (%attrs)
275 0 0 if ($attrs{'is'} eq 'ro')
276 0 0 if ($attrs{'required'})
277 0 0 if ($attrs{'default'})
279 0 0 if ($df)
280 0 0 unless ref $df eq 'CODE'
289 0 0 if ($rq and not $df)
290 0 0 unless ($_[0]{$acc} or $_[1])
295 0 0 if ($df)
297 0 0 if (@_ == 2)
298 0 0 if $ro