Branch Coverage

lib/XML/Compile/Util.pm
Criterion Covered Total %
branch 18 24 75.0


line true false branch
40 1250 9311 !(defined $_[0] && length $_[0]) ? :
0 10561 if (@_ == 1) { }
46 10005 2216 $_[0] =~ /^\{(.*?)\}(.*)$/ ? :
55 741 741 $i++ % 2 ? :
56 320 320 if ($i++ % 2) { }
60 0 1355 unless my $node = shift()
78 0 18 unless my $stamp = shift()
80 0 18 unless $stamp =~ /$duration/
83 1 17 $1 eq '-' ? :
95 0 8 unless my $stamp = shift()
98 0 8 unless $stamp =~ /$duration/
101 1 7 $1 eq '-' ? :