Condition Coverage

blib/lib/XML/Tiny.pm
Criterion Covered Total %
condition 19 21 90.4


and 3 conditions

line !l l&&!r l&&r condition
219 47 46 111 $params{'fatal_declarations'} and $file =~ /

or 3 conditions

line l !l&&r !l&&!r condition
187 0 2 220 not defined $file or $file =~ /^\s*$/
208 8 1 205 $file =~ /]]>/ or $file =~ //s
9 1 204 $file =~ /]]>/ or $file =~ //s or grep {/--/ if $_;} $file =~ /^\s+||\s+$/gs
226 5 1 527 $token =~ /<\?$regexps{'name'}.*?\?>/is or $token =~ /^
250 10 2 228 $attribs_raw =~ /\S/ or grep {/
281 0 1 39 $#{$$elem{'content'};} == -1 or $$elem{'content'}[0]{'type'} ne 'e'