Branch Coverage

web/cgi-bin/yatt.lib/YATT/LRXML.pm
Criterion Covered Total %
branch 15 28 53.5


line true false branch
30 0 0 if (ref $filename) { }
33 0 0 unless open $fh, '<', $filename
53 0 635 unless $path->readable
58 1818 635 unless @match = $value =~ /$pat/
67 156 0 unless defined $pos
68 0 156 unless @{$path->{'cf_array'};}
69 0 156 unless defined(my $tok = $path->{'cf_array'}[$pos])
76 1450 0 if (defined $pos)
80 0 1450 if (not defined $path->{'cf_linenum'}) { }
112 323 0 if @_
119 323 0 if @_
141 0 64 unless (defined $self->{'cf_endtag'})
146 1 63 unless ($tagname eq $self->{'cf_endtag'})
163 11 5 unless ($self->{'is_switched'})