Condition Coverage

blib/lib/XML/TMX/Reader.pm
Criterion Covered Total %
condition 26 43 60.4


and 2 conditions

line l !l condition
258 0 9 $_ = $resto . $_ and $resto = ""

and 3 conditions

line !l l&&!r l&&r condition
121 1 4 0 $orig and ref $orig ne "HASH"
122 0 5 0 $new and ref $new ne "HASH"
175 26 16 17 not $outputingTMX and $ans
42 17 0 not $outputingTMX and $ans and ref $ans eq "HASH"
184 22 17 20 $ans and ref $ans eq "HASH"
186 20 0 0 $v and ref $v eq "HASH"
261 60 0 0 $conf->{'-verbose'} and not $i % 10
262 40 19 1 defined $conf->{'proc_tu'} and $i > $conf->{'proc_tu'}
263 53 6 0 defined $conf->{'gen_tu'} and $gen > $conf->{'gen_tu'}
273 0 0 0 $ok &&= $textli =~ /$patli/
302 0 5 4 $conf->{'-header'} and $outputingTMX

or 2 conditions

line l !l condition
76 10 0 $XML::TMX::Reader::v{'type'} ||= "_"
110 7 5 $orig //= []
208 118 0 $XML::TMX::Reader::v{'lang'} || $XML::TMX::Reader::v{'xml:lang'} || '_'
210 105 0 $XML::TMX::Reader::v{'type'} || '_'