Branch Coverage

blib/lib/Config/Constants/XML/SAX/Handler.pm
Criterion Covered Total %
branch 28 34 82.3


line true false branch
30 15 41 if ($tag_name eq 'config') { }
8 33 elsif ($tag_name eq 'include') { }
14 19 elsif ($tag_name eq 'module') { }
19 0 elsif ($tag_name eq 'constant') { }
31 8 7 unless $$self{'_config'}
35 0 8 unless -e $path
37 1 7 unless $$self{'_include_depth'} < $self->MAX_INCLUDE_DEPTH
45 12 2 unless exists $$self{'_config'}{$$self{'_current_module'}}
50 16 3 if (defined $self->_get_value($el, 'value')) { }
67 25 19 unless lc $$el{'Name'} eq 'constant'
68 16 3 unless $$self{'_constant_deferred'}
69 0 3 unless $$self{'_current_text'}
81 64 3 if $data =~ /^\s+$/
82 3 0 if ($$self{'_expected_type'}) { }
84 0 3 if $@
85 0 3 unless UNIVERSAL::isa($value, $$self{'_expected_type'})
97 3 76 unless exists $$el{'Attributes'}{'{}' . $key}