Branch Coverage

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


line true false branch
70 0 5 unless my $hash_id = $_[1]
71 0 5 unless my $context = &rhash_init(scalar $hash_id)
84 3 0 if $self->{'context'}
102 1 2 if (defined $start)
103 0 1 unless seek $fd, scalar $start, 0
107 1 2 if (defined $size) { }
109 1 0 $left < 8192 ? :
0 1 unless $res = read($fd, $data, $left < 8192 ? $left : 8192)
121 3 0 defined $res ? :
127 0 2 unless open my $fd, '<', $file
217 0 0 if $field =~ /^(rhash_|raw2)/
218 0 0 unless @_
219 0 0 unless defined $self
221 0 0 unless $type = ref $self and $type eq $pkg
222 0 0 exists $self->{$field} ? :
232 0 1 &is_base32($hash_id) ? :