Branch Coverage

blib/lib/Crypt/Rhash.pm
Criterion Covered Total %
branch 13 32 40.6


line true false branch
65 0 5 unless my $hash_id = $_[1]
66 0 5 unless my $context = &rhash_init(scalar $hash_id)
79 3 0 if $self->{'context'}
97 1 2 if (defined $start)
98 0 1 unless seek $fd, scalar $start, 0
102 1 2 if (defined $size) { }
104 1 0 $left < 8192 ? :
0 1 unless $res = read($fd, $data, $left < 8192 ? $left : 8192)
116 3 0 defined $res ? :
122 0 2 unless open my $fd, '<', $file
212 0 0 if $field =~ /^(rhash_|raw2)/
213 0 0 unless @_
214 0 0 unless defined $self
216 0 0 unless $type = ref $self and $type eq $pkg
217 0 0 exists $self->{$field} ? :
227 0 1 &is_base32($hash_id) ? :