Branch Coverage

blib/lib/Mojolicious/Plugin/NoIndex.pm
Criterion Covered Total %
branch 27 32 84.3


line true false branch
18 2 17 unless ($config and %{$config;})
28 9 10 unless $config->{'routes'}
30 10 4 if $value eq '1'
32 4 10 if ($route_name =~ /\A(.*?)\#\#\#(.*)/msx)
43 14 5 unless $config->{'by_value'}
46 0 6 unless $config->{'by_value'}{$value}
47 2 5 if ($route_name =~ /\A(.*?)\#\#\#(.*)/msx)
63 0 418 unless $format
64 0 418 if $format ne 'html'
69 142 276 if ($routes{$route})
73 94 324 if ($routes_special{$route})
77 0 94 unless $routes_special{$route}{'conditions'}
78 0 94 unless $conditions
79 37 63 unless ($c->param($param) =~ /$conditions->{$param}/)
89 11 407 if ($config->{'all_routes'} and not $value)
93 208 210 unless $value