Branch Coverage

blib/lib/Cache/Historical.pm
Criterion Covered Total %
branch 15 22 68.1


line true false branch
30 0 2 unless (-d $cache_dir)
31 0 0 unless mkpath([$cache_dir])
39 2 0 unless (-f $$self{'sqlite_file'})
72 2 1 unless ($$self{'dbh'})
132 8 2 if $interpolate
143 4 6 if (@$values)
177 1 0 if defined $key
197 2 2 if defined $key
205 4 0 if (@$values)
220 2 0 if (defined $date)
262 1 1 if (defined $key)