Condition Coverage

blib/lib/Data/Printer.pm
Criterion Covered Total %
condition 34 48 70.8


and 3 conditions

line !l l&&!r l&&r condition
66 1 9 1 $ref eq 'REF' and ref ${$_[0];} eq 'REF'
89 42 0 0 $printer->colored eq 'auto' and $printer->return_value eq 'dump'
42 0 0 $printer->colored eq 'auto' and $printer->return_value eq 'dump' and $want_value
94 19 16 1 $ref eq 'REF' and ref ${$_[0];} eq 'REF'
116 3 0 1 not ref $_[0] and @_ == 1
128 4 0 0 $printer->colored eq 'auto' and $printer->return_value eq 'dump'
4 0 0 $printer->colored eq 'auto' and $printer->return_value eq 'dump' and $want_value
133 2 0 0 $ref eq 'REF' and ref(defined $item ? $item : ${$_[0];}) eq 'REF'
217 16 0 0 exists $rc_arguments->{$caller} and exists $rc_arguments->{$caller}{$key}

or 3 conditions

line l !l&&r !l&&!r condition
66 1 1 11 $ref eq 'ARRAY' or $ref eq 'HASH'
2 1 10 $ref eq 'ARRAY' or $ref eq 'HASH' or $ref eq 'REF' and ref ${$_[0];} eq 'REF'
94 3 3 36 $ref eq 'ARRAY' or $ref eq 'HASH'
6 1 35 $ref eq 'ARRAY' or $ref eq 'HASH' or $ref eq 'REF' and ref ${$_[0];} eq 'REF'
133 1 1 2 $ref eq 'ARRAY' or $ref eq 'HASH'
2 0 2 $ref eq 'ARRAY' or $ref eq 'HASH' or $ref eq 'REF' and ref(defined $item ? $item : ${$_[0];}) eq 'REF'
152 6 1 30 $printer->return_value eq 'void' or not $wantarray