Branch Coverage

blib/lib/Tie/Hash/ReadonlyStack.pm
Criterion Covered Total %
branch 32 44 72.7


line true false branch
11 4 2 if (@keys) { }
14 4 3 if (exists $$self{'compiled'}{$k})
15 4 0 if exists $$self{'compiled'}{$k}
19 3 1 if $count
31 1 4 if $name eq 'readonly_hash'
32 2 2 if exists $$self{'hashes'}{$name}
41 3 0 if (not tied %{$hr;}) { }
46 0 0 if (exists $$self{'compiled'}{$key})
57 1 2 if $name eq 'readonly_hash'
58 1 1 if exists $$self{'hashes'}{$name}
66 1 4 if $name eq 'readonly_hash'
67 1 3 if $only_if_exists and not exists $$self{'hashes'}{$name}
72 1 4 if (exists $$self{'compiled'}{$key}{'found_in'} and $$self{'compiled'}{$key}{'found_in'} eq $name)
82 1 2 !exists($$self{'compiled'}{$_}{'found_in'}) ? :
102 0 2 unless exists $$self{'compiled'}{$key}
115 0 0 if $hash_name eq 'readonly_hash'
116 0 0 if tied $$self{'hashes'}{$hash_name}
124 1 4 if exists $$self{'compiled'}{$key} and exists $$self{'compiled'}{$key}{'value'}
127 0 4 if exists $$self{'hashes'}{$hash_name}{$key}
136 12 8 if exists $$self{'compiled'}{$key} and exists $$self{'compiled'}{$key}{'value'}
139 8 3 if (exists $$self{'hashes'}{$hash_name}{$key})
167 0 0 if tied $$self{'hashes'}{$hash_name}