Condition Coverage

blib/lib/YAML/Dump.pm
Criterion Covered Total %
condition 11 18 61.1


and 3 conditions

line !l l&&!r l&&r condition
30 3 0 1 @retval == 1 and ref $retval[0]
54 1 0 5 ref $element eq 'SCALAR' and defined $$element
1 0 5 ref $element eq 'SCALAR' and defined $$element and ref(my $bo = B::svref_2object($element)) eq 'B::IV'
112 0 0 19 ref $self and @$self

or 3 conditions

line l !l&&r !l&&!r condition
181 0 1 14 $is_key or $has_string_flag
197 1 0 18 $string =~ /(?:^[~!\@#%&*|>?:,'"`{}\[\]]|^-+$|\s|:\z)/ or $QUOTE{$string}