Branch Coverage

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


line true false branch
66 0 5 unless my $hash_id = $_[1]
67 0 5 unless my $context = &rhash_init(scalar $hash_id)
80 3 0 if $self->{'context'}
98 1 2 if (defined $start)
99 0 1 unless seek $fd, scalar $start, 0
103 1 2 if (defined $size) { }
105 1 0 $left < 8192 ? :
0 1 unless $res = read($fd, $data, $left < 8192 ? $left : 8192)
117 3 0 defined $res ? :
123 0 2 unless open my $fd, '<', $file
213 0 0 if $field =~ /^(rhash_|raw2)/
214 0 0 unless @_
215 0 0 unless defined $self
217 0 0 unless $type = ref $self and $type eq $pkg
218 0 0 exists $self->{$field} ? :
228 0 1 &is_base32($hash_id) ? :