Condition Coverage

blib/lib/CFDI/Parser/XML.pm
Criterion Covered Total %
condition 0 78 0.0


and 3 conditions

line !l l&&!r l&&r condition
23 0 0 0 -e $file and -r _
29 0 0 0 -e $file and -r _
69 0 0 0 $buf eq '<' and not $cmntOpen
0 0 0 $t and $buf eq '>'
0 0 0 $t and $buf eq '>' and not $squote
0 0 0 $t and $buf eq '>' and not $squote and not $dquote
0 0 0 $t and $buf eq '>' and not $squote and not $dquote and !$cmntOpen || 5 <= length $_ && '--' eq substr($_, -2)
73 0 0 0 not $hasTags and /\S/
81 0 0 0 defined $1 and length $1
0 0 0 defined $4 and length $4
0 0 0 defined $5 and length $5
0 0 0 defined $6 and length $6
83 0 0 0 defined $attr and $attr =~ s/\s*($CFDI::Parser::XML::qr_na)\s*=\s*($CFDI::Parser::XML::qr_va)\s*//
90 0 0 0 defined $slsh and length $slsh
131 0 0 0 $_ eq '!-' and $buf eq '-'
0 0 0 $_ eq '!-' and $buf eq '-' and $t
132 0 0 0 $buf eq q['] and $t
0 0 0 $buf eq q['] and $t and not $dquote || $cmntOpen
133 0 0 0 $buf eq '"' and $t
0 0 0 $buf eq '"' and $t and not $squote || $cmntOpen
139 0 0 0 ref $_ eq 4 && $$_ =~ /S/

or 3 conditions

line l !l&&r !l&&!r condition
56 0 0 0 length $buffer2 or $char = sysread(XML, $buffer1, $BUFLEN)
0 0 0 length $buffer2 or $char = sysread(XML, $buffer1, $BUFLEN) or length $_
69 0 0 0 !$cmntOpen || 5 <= length $_ && '--' eq substr($_, -2)
132 0 0 0 $dquote || $cmntOpen
133 0 0 0 $squote || $cmntOpen