blib/lib/MooX/Role/RunAlone.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 17 | 18 | 94.4 |
line | true | false | branch |
---|---|---|---|
59 | 1 | 21 | if scalar keys %args != scalar keys %default_lock_args |
64 | 10 | 27 | unless $args{$_} =~ /^[1-9]$/ |
74 | 2 | 17 | if $args{'verbose'} |
75 | 4 | 15 | if $proto->_runalone_lock($args{'noexit'}) |
77 | 1 | 14 | if $args{'verbose'} |
78 | 8 | 7 | if ($args{'attempts'}) { } |
1 | 6 | elsif ($args{'noexit'}) { } | |
79 | 8 | 0 | if $args{'attempts'} |
89 | 1 | 4 | if $args{'verbose'} and $ret |