Branch Coverage

blib/lib/XML/Directory/SAX.pm
Criterion Covered Total %
branch 6 36 16.6


line true false branch
4 1 0 if $] >= 5.006
17 0 1 $#_ == 0 ? :
19 1 0 unless $$options{'path'}
20 0 1 unless $$options{'details'}
21 1 0 unless defined $$options{'depth'}
23 0 1 if $$options{'path'} eq '.'
47 0 0 unless $dir
51 0 0 if ($$parse_options{'Handler'} or $$parse_options{'ContentHandler'} or $$parse_options{'DocumentHandler'}) { }
102 0 0 if ($$self{'doctype'})
128 0 0 unless $qname
130 0 0 if $prefix
145 0 0 unless $qname
147 0 0 if $prefix
161 0 0 if $value
171 0 0 if (not $$self{'catch_error'} && $$self{'ErrorHandler'}) { }
189 0 0 if ($$self{'ns_enabled'} and $$self{'ns_prefix'})
199 0 0 if ($$self{'ns_enabled'} and $$self{'ns_uri'})
211 0 0 if ($$self{'details'}) { }