blib/lib/Data/RoundRobinShared.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 10 | 50.0 |
line | true | false | branch |
---|---|---|---|
20 | 0 | 1 | if @_ % 2 |
21 | 0 | 1 | unless exists $params{'data'} |
22 | 0 | 1 | unless ref $params{'data'} eq 'ARRAY' |
30 | 0 | 1 | unless tie $$self{'data'}, 'IPC::Shareable', $params{'key'}, {%options} |
32 | 1 | 0 | if (not $$self{'data'} or ref $$self{'data'} eq 'ARRAY' and scalar @{$$self{'data'};} != scalar @{$params{'data'};} and $params{'simple_check'}) |