Branch Coverage

blib/lib/WebAPI/DBIC/RouteMaker.pm
Criterion Covered Total %
branch 0 24 0.0


line true false branch
36 0 0 unless my $names_r = join('|', map({quotemeta $_;} @_))
44 0 0 if ($ENV{'WEBAPI_DBIC_DEBUG'})
59 0 0 if %opts
75 0 0 unless ($key_fields)
99 0 0 if $set->result_class eq 'TestSchema::Result::Artist'
107 0 0 if $methods and @$methods
139 0 0 if $methods and @$methods
169 0 0 if (ref $route_spec eq 'HASH')
176 0 0 if (not ref $route_spec) { }
0 0 elsif ($route_spec->does('WebAPI::DBIC::Resource::Role::Route')) { }
177 0 0 unless my $schema = $self->schema
185 0 0 unless (&blessed($route_spec) and $route_spec->isa('DBIx::Class::ResultSet'))