Branch Coverage

blib/lib/Brackup/StoredChunk.pm
Criterion Covered Total %
branch 26 34 76.4


line true false branch
44 23 0 unless $range
48 0 0 unless my($from, $to) = $range =~ /^(\d+)-(\d+)$/
82 163 30 unless $$self{'compfrom'} or $$self{'compto'}
99 74 181 $self->root->gpg_rcpts ? :
118 372 48 if defined $$self{'backlength'}
126 248 22 if $$self{'backdigest'}
135 15 55 if (my $cchunk = $$self{'compchunk'})
141 0 55 if $self->encrypted
151 33 55 if ($$self{'_chunkref'})
157 0 55 if $self->encrypted
160 0 55 if $$self{'lite'}
170 0 33 unless $self->encrypted
171 0 33 if $$self{'backlength'} or $$self{'backdigest'}
182 11 81 unless $$self{'_chunkref'}
193 19 93 if (my $range = $self->range_in_composite) { }
214 10 102 if ($self->encrypted and $self->file->chunks > 1)
230 11 70 if (my $range = $self->range_in_composite)