Condition Coverage

blib/lib/Rex/Dondley/ProcessTaskArgs.pm
Criterion Covered Total %
condition 15 21 71.4


and 3 conditions

line !l l&&!r l&&r condition
21 0 27 7 ref $_[0] and ref $_[0][0] ne 'HASH'
33 38 23 72 $_ and $_ ne '1'
44 6 26 2 exists $valid_args[1] and not $valid_args[1] =~ /^0|1$/
96 34 0 0 $passed_params{$key} eq '1' and $valid_keys{$key}

or 3 conditions

line l !l&&r !l&&!r condition
16 0 0 34 not $_[0] or ref $_[0] ne 'ARRAY'
44 2 5 27 exists $valid_args[1] and not $valid_args[1] =~ /^0|1$/ or scalar @valid_args == 1
88 10 0 13 not exists $passed_params{$rkey} or $passed_params{$rkey} eq '1'