blib/lib/Dancer/Plugin/Apache/Solr.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 16 | 56.2 |
line | true | false | branch |
---|---|---|---|
17 | 4 | 1 | unless (defined $name) |
18 | 1 | 3 | if (keys %$cfg == 1) { } |
3 | 0 | elsif (keys %$cfg) { } | |
27 | 0 | 5 | if $servers->{$name} |
29 | 2 | 3 | unless my $options = $cfg->{$name} |
31 | 0 | 3 | if (my $alias = $options->{'alias'}) |
32 | 0 | 0 | unless $options = $cfg->{$alias} |
34 | 0 | 0 | if $servers->{$alias} |