Branch Coverage

blib/lib/Hub/Data/Handlers.pm
Criterion Covered Total %
branch 23 44 52.2


line true false branch
15 17 2 if @{$$result{'not_found'};}
26 6 1 if @{$$result{'not_found'};}
27 5 2 if @{$$result{'not_found'};}
50 0 0 if @{$$result{'not_found'};}
51 0 0 if @{$$result{'not_found'};}
63 4 0 if @{$$result{'not_found'};}
74 54 0 isa($_[0], 'HASH') ? :
0 54 $_[1] =~ /^\{(.*)\}$/ ? :
0 54 ref $_[0] eq 'ARRAY' && $_[1] =~ /^\d+$/ ? :
0 54 Hub::is_bipolar($_[0]) ? :
105 0 7 if (ref $_[0] eq 'ARRAY' and $_[1] =~ /^\d+$/) { }
7 0 elsif (isa($_[0], 'HASH')) { }
122 0 0 if ($_[1] =~ /^\d+$/ and ref $_[0] eq 'ARRAY') { }
0 0 elsif (isa($_[0], 'HASH')) { }
140 0 5 if (@$not_found)
142 0 0 $$not_found[0] =~ /^\d+$/ ? :
161 38 0 @nodes ? :
165 35 19 unless defined $ptr
190 7 16 $base ? :
191 15 8 if (-e $path) { }
201 8 15 if (@{$$result{'not_found'};}) { }
219 0 0 if ($_[0] =~ /\.(dat|hf|metadata)$/)