line |
true |
false |
branch |
20
|
4 |
21 |
if ($data)
|
21
|
0 |
4 |
unless 'HASH' eq ref $data
|
24
|
25 |
0 |
if $_config
|
26
|
0 |
0 |
if (-f 'config.yaml') { }
|
|
0 |
0 |
elsif (-f 'config.yml') { }
|
40
|
10 |
11 |
unless (defined $name)
|
41
|
5 |
5 |
if (keys %$cfg == 1) { }
|
|
5 |
0 |
elsif (keys %$cfg) { }
|
50
|
11 |
10 |
if $$_schemas{$name}
|
52
|
3 |
7 |
unless my $options = $$cfg{$name}
|
53
|
2 |
5 |
if (my $alias = $$options{'alias'})
|
54
|
1 |
1 |
unless $options = $$cfg{$alias}
|
56
|
1 |
0 |
if $$_schemas{$alias}
|
60
|
0 |
5 |
$$options{'connect_info'} ? :
|
62
|
0 |
5 |
if (exists $$options{'pass'})
|
69
|
5 |
0 |
if (my $schema_class = $$options{'schema_class'}) { }
|
72
|
0 |
5 |
if $@
|
73
|
0 |
5 |
if (my $replicated = $$options{'replicated'}) { }
|
79
|
0 |
0 |
if defined $value
|
90
|
0 |
0 |
if $@
|