| line |
true |
false |
branch |
|
57
|
1 |
0 |
unless $dsl1->redis_serialization |
|
60
|
0 |
0 |
if (my $serialization_module = delete $dsl1->redis_serialization->{'module'}) |
|
61
|
0 |
0 |
unless $serialization_module =~ /^Dancer2::Session::Redis::Serialization::/ |
|
63
|
0 |
0 |
unless $serialization_module =~ /^Dancer2::Session::Redis::Serialization::[a-zA-Z][a-zA-Z0-9_]*$/ |
|
66
|
0 |
0 |
unless eval "require $serialization_module" |
|
84
|
1 |
0 |
if ($dsl2->redis_test_mock) |
|
90
|
0 |
0 |
$dsl2->redis_server ? : |
|
|
0 |
0 |
$dsl2->redis_sock ? : |
|
|
0 |
0 |
$dsl2->redis_password ? : |
|
|
0 |
0 |
$dsl2->redis_reconnect ? : |
|
|
0 |
0 |
$dsl2->redis_every ? : |
|
|
0 |
0 |
$dsl2->redis_name ? : |
|
|
0 |
0 |
$dsl2->redis_debug ? : |
|
101
|
0 |
0 |
if $opts{'sock'} |
|
102
|
0 |
0 |
if $opts{'server'} |
|
103
|
0 |
0 |
if exists $opts{'password'} and !defined($opts{'password'}) || $opts{'password'} eq '' |
|
104
|
0 |
0 |
unless $opts{'name'} |
|
107
|
0 |
0 |
if (exists $opts{'reconnect'} || exists $opts{'every'} and not $opts{'reconnect'} && $opts{'every'}) |
|
114
|
0 |
0 |
if ($dsl2->redis_on_connect) |
|
115
|
0 |
0 |
if (not $dsl2->redis_on_connect) { } |
|
125
|
0 |
0 |
unless $opts{'server'} or $opts{'sock'} |
|
127
|
0 |
0 |
unless $dsl2->has_session_duration |
|
140
|
0 |
2 |
if (my $serialization = $dsl->_serialization) |
|
151
|
0 |
2 |
if (my $serialization = $dsl->_serialization) |