Condition Coverage

blib/lib/Tiny/YAML.pm
Criterion Covered Total %
condition 4 12 33.3


and 3 conditions

line !l l&&!r l&&r condition
145 6 0 0 utf8::is_utf8($string) and not utf8::valid($string)
217 0 0 6 ref $self and @$self

or 3 conditions

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