Branch Coverage

blib/lib/Process/Results.pm
Criterion Covered Total %
branch 29 46 63.0


line true false branch
222 1 15 if ($opts{'results'})
223 1 0 if (UNIVERSAL::isa($opts{'results'}, 'Process::Results'))
229 1 14 if ($opts{'json'}) { }
239 1 14 if (exists $opts{'success'})
240 0 1 $opts{'success'} ? :
367 9 9 if (defined $results->{'success'}) { }
368 4 5 $results->{'success'} ? :
375 4 5 if ($errs and UNIVERSAL::isa($errs, 'ARRAY')) { }
376 4 0 if (@$errs) { }
403 2 2 $_[0]->success ? :
481 0 1 if (defined $calc{'success'})
483 0 0 $calc{'success'} ? :
533 2 2 if (UNIVERSAL::isa($object, 'HASH')) { }
1 1 elsif (UNIVERSAL::isa($object, 'ARRAY')) { }
0 1 elsif (UNIVERSAL::isa($object, 'JSON::Tiny::_Bool')) { }
0 1 elsif (ref $object) { }
544 0 0 if ($object) { }
596 0 2 if ($idx < @keys - 1)
632 0 4 if (exists $all{$first})
677 0 1 if ($idx < @$array - 1)
700 0 3 unless (defined $val)
704 0 3 if (is_number($val))
755 0 0 if B::svref_2object(\$value)->FLAGS & 12288 and 0 + $value eq $value and $value * 0 == 0