blib/lib/Role/RunAlone.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 20 | 20 | 100.0 |
line | true | false | branch |
---|---|---|---|
58 | 93 | 63 | unless defined $args{$_} |
61 | 1 | 38 | if scalar keys %args != scalar keys %default_lock_args |
66 | 10 | 61 | unless $args{$_} =~ /^[1-9]$/ |
76 | 2 | 77 | if $args{'verbose'} |
77 | 4 | 75 | if $ret = $proto->_runalone_lock |
79 | 1 | 74 | if $args{'verbose'} |
81 | 51 | 24 | if $args{'attempts'} |
84 | 4 | 24 | if ($ret) { } |
5 | 19 | elsif (not $args{'noexit'}) { } | |
85 | 1 | 3 | if $args{'verbose'} |