Branch Coverage

blib/lib/KelpX/Sweet.pm
Criterion Covered Total %
branch 6 30 20.0


line true false branch
26 0 1 unless (ref $route_names eq 'ARRAY')
35 0 1 if ($@)
63 0 1 if (scalar keys %$configs > 0)
70 0 1 if ($$config{'models'})
74 0 0 unless (ref $$config{'models'} eq 'HASH')
83 0 0 if ($@)
88 0 0 if (my $ret = $mod->build(@args)) { }
89 0 0 if (ref $ret) { }
96 0 0 if (grep {$_ eq 'DBIx::Class::Schema';} @{mro::get_linear_isa($dbref);})
97 0 0 if ($dbref->can('sources'))
115 0 0 if (scalar keys %{$$self{'_models'};} > 0)
123 0 1 if ($$route{$url}{'bridge'}) { }
0 1 elsif ($$route{$url}{'type'} eq 'any') { }
142 0 0 if ($fullpath =~ /.+::(.+)$/)
146 0 0 if ($name)