blib/lib/DDLock/Client/Daemon.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 22 | 22.7 |
line | true | false | branch |
---|---|---|---|
17 | 3 | 0 | unless ref $self |
42 | 0 | 0 | unless my $sock = $$self{'client'}->get_sock($addr) |
57 | 3 | 0 | unless my $sock = $$self{'client'}->get_sock($addr) |
62 | 0 | 0 | unless $res =~ /^ok\b/i |
67 | 3 | 0 | unless @addrs |
80 | 0 | 0 | if (@_) { } |
91 | 0 | 3 | if (my $hook = $$self{'hooks'}{$hookname}) |
94 | 0 | 0 | if $@ |
123 | 3 | 0 | unless my $sockets = $$self{'sockets'} |
129 | 0 | 0 | unless my $sock = $$self{'client'}->get_sock_onlycache($addr) |
140 | 0 | 0 | if ($res and not $res =~ /ok\b/i) |