line |
true |
false |
branch |
46
|
0 |
3 |
if (my $serialization_module = delete $conf->{'serialization'}{'module'}) |
47
|
0 |
0 |
unless $serialization_module =~ /^Dancer2::Plugin::Redis::Serialization::/ |
49
|
0 |
0 |
unless $serialization_module =~ /^Dancer2::Plugin::Redis::Serialization::[a-zA-Z][a-zA-Z0-9_]*$/ |
52
|
0 |
0 |
unless eval "require $serialization_module" |
71
|
3 |
0 |
if ($conf->{'test_mock'}) |
80
|
0 |
0 |
if exists $conf->{$_} |
84
|
0 |
0 |
if $opts{'sock'} |
85
|
0 |
0 |
if $opts{'server'} |
86
|
0 |
0 |
if exists $opts{'password'} and !defined($opts{'password'}) || $opts{'password'} eq '' |
87
|
0 |
0 |
unless $opts{'name'} |
90
|
0 |
0 |
if (exists $opts{'reconnect'} || exists $opts{'every'} and not $opts{'reconnect'} && $opts{'every'}) |
97
|
0 |
0 |
if (exists $conf->{'on_connect'}) |
98
|
0 |
0 |
if (not exists &{$conf->{'on_connect'};}) { } |
108
|
0 |
0 |
unless $opts{'server'} or $opts{'sock'} |
132
|
0 |
5 |
unless $key |
134
|
0 |
5 |
if (my $serialization = $dsl->_serialization) |
148
|
0 |
0 |
unless scalar @keys |
150
|
0 |
0 |
if (my $serialization = $dsl->_serialization) |
164
|
0 |
3 |
unless $key |
165
|
0 |
3 |
if (my $serialization = $dsl->_serialization) |
179
|
0 |
0 |
unless scalar %key_data |
180
|
0 |
0 |
if (my $serialization = $dsl->_serialization) |
194
|
0 |
1 |
unless $key |
195
|
0 |
1 |
unless $timeout |
207
|
0 |
1 |
unless $key |