Branch Coverage

blib/lib/Tie/Hash/Cache/MRU.pm
Criterion Covered Total %
branch 15 74 20.2


line true false branch
36 1 1 unless defined $obj[4]
41 2 0 unless defined $obj[10]
52 3 11 if ($_[0][4])
54 1 2 if (exists $_[0][2]{$_[1]} and time - $_[0][2]{$_[1]} > $_[0][4])
60 1 0 &{$_[0][9];}($_[1]) ? :
66 3 11 if (exists $_[0][0]{$_[1]})
67 0 3 if $_[0][0]{$_[1]} eq \$NOTEXIST
71 0 11 if (exists $_[0][1]{$_[1]})
72 0 0 if $_[0][1]{$_[1]} eq \$NOTEXIST and $_[0][0]{$_[1]} = \$NOTEXIST
80 1 10 if (%{$_[0][0];} > $_[0][3])
81 0 1 if ($_[0][4])
96 0 0 if (%{$_[0][0];} > $_[0][3])
97 0 0 if ($_[0][4])
106 0 0 if $_[0][4]
111 0 0 if ($_[0][4])
113 0 0 if (exists $_[0][2]{$_[1]} and time - $_[0][2]{$_[1]} > $_[0][4])
119 0 0 &{$_[0][9];}($_[1]) ? :
124 0 0 if (exists $_[0][0]{$_[1]})
125 0 0 if $_[0][0]{$_[1]} eq \$NOTEXIST
130 0 0 if (exists $_[0][1]{$_[1]})
133 0 0 if $_[0][0]{$_[1]} eq \$NOTEXIST
138 0 0 if (%{$_[0][0];} > $_[0][3])
139 0 0 if ($_[0][4])
148 0 0 if (&{$_[0][9];}($_[1])) { }
160 0 0 if $_[0][4]
166 0 0 if defined $_[0][11]
168 0 0 if $t
175 0 0 if defined $_[0][12]
177 0 0 if $t
184 0 0 if $_[0][4]
187 0 0 if ref($_[0][10]) =~ /CODE/
192 0 0 if defined $_[0][13]
203 0 0 if ($_[0][4])
213 0 0 if $$obj[4]
221 0 0 if (exists $$obj[0]{$k})
226 0 0 if (exists $$obj[1]{$k})
232 0 0 if ($$obj[4])