Branch Coverage

blib/lib/Crypt/Rhash.pm
Criterion Covered Total %
branch 14 34 41.1


line true false branch
72 0 5 unless scalar @_ > 0
75 0 5 if (not scalar $id or (scalar $id & 536870911) != $id)
79 0 5 unless my $context = &rhash_init($hash_id)
92 3 0 if $self->{'context'}
110 1 2 if (defined $start)
111 0 1 unless seek $fd, scalar $start, 0
115 1 2 if (defined $size) { }
117 1 0 $left < 8192 ? :
0 1 unless $res = read($fd, $data, $left < 8192 ? $left : 8192)
129 3 0 defined $res ? :
135 0 2 unless open my $fd, '<', $file
225 0 0 if $field =~ /^(rhash_|raw2)/
226 0 0 unless @_
227 0 0 unless defined $self
229 0 0 unless $type = ref $self and $type eq $pkg
230 0 0 exists $self->{$field} ? :
240 0 1 &is_base32($hash_id) ? :