Branch Coverage

lib/App/MtAws/TreeHash.pm
Criterion Covered Total %
branch 31 40 77.5


line true false branch
64 0 0 if (not defined $r) { }
0 0 elsif ($r > 0) { }
77 637 486 ref $_[1] eq '' ? :
81 35 1088 if ($n <= $mb) { }
96 2384 0 ref $_[1] eq '' ? :
99 1754 630 if (defined $self->{'buffer'}) { }
104 375 2009 if (length $self->{'buffer'} == $mb) { }
1560 449 elsif (length $self->{'buffer'} > $mb) { }
121 0 200 unless $th->isa('App::MtAws::TreeHash')
124 198 2 $cnt ? :
136 5429 91569 ref $_[1] eq '' ? :
139 1 96997 if ($self->{'last_chunk'})
142 0 96997 if (length $$dataref > $self->{'unit'}) { }
1215 95782 elsif (length $$dataref < $self->{'unit'}) { }
155 417 1322 if defined $self->{'buffer'} and length $self->{'buffer'}
165 54459 2928 if ($len - $i > 1) { }
192 81663 117 if (defined $a) { }
193 40890 40773 if ($a == $b) { }
207 0 40773 if $x == 0
223 0 1756 if (defined $self->{'treehash_recursive_tree'}) { }