Branch Coverage

lib/XML/Validate.pm
Criterion Covered Total %
branch 5 14 35.7


line true false branch
32 0 2 unless ($args{'Type'})
36 1 1 unless ($args{'Type'} =~ /^\w+$/)
41 0 1 if ($args{'Type'} eq 'BestAvailable') { }
43 0 0 unless my $type = $self->_best_available($list)
49 1 0 if $@
76 0 0 unless $$self{'backend'}->can('version')
86 0 0 if $@