Branch Coverage

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


line true false branch
74 0 5 unless scalar @_ > 0
77 0 5 if (not scalar $id or (scalar $id & 2147483647) != $id)
81 0 5 unless my $context = &rhash_init($hash_id)
94 3 0 if $self->{'context'}
112 1 2 if (defined $start)
113 0 1 unless seek $fd, scalar $start, 0
117 1 2 if (defined $size) { }
119 1 0 $left < 8192 ? :
0 1 unless $res = read($fd, $data, $left < 8192 ? $left : 8192)
131 3 0 defined $res ? :
137 0 2 unless open my $fd, '<', $file
227 0 0 if $field =~ /^(rhash_|raw2)/
228 0 0 unless @_
229 0 0 unless defined $self
231 0 0 unless $type = ref $self and $type eq $pkg
232 0 0 exists $self->{$field} ? :
242 0 1 &is_base32($hash_id) ? :