Branch Coverage

blib/lib/Rose/DB/Cache.pm
Criterion Covered Total %
branch 5 58 8.6


line true false branch
31 0 16 $_[0] ? :
16 0 if @_
39 0 0 $_[0] ? :
0 0 if @_
41 0 0 if (defined $self->{'use_cache_during_apache_startup'}) { }
58 0 0 if ($entry->created_during_apache_startup)
61 0 0 if $Debug
65 0 0 if $Debug
80 0 16 $ENV{'MOD_PERL'} && !$ENV{'MOD_PERL_API_VERSION'} ? :
81 0 16 $ENV{'MOD_PERL'} && $ENV{'MOD_PERL_API_VERSION'} == 2 ? :
82 0 16 $INC{'Apache/DBI.pm'} || $Apache::DBI::VERSION ? :
90 0 0 unless $self->{'cache'}
91 0 0 unless $self->{'cache'}
0 0 wantarray ? :
97 0 0 unless $self->{'cache'}
98 0 0 unless $self->{'cache'}
0 0 wantarray ? :
107 0 0 if (my $entry = $self->{'cache'}{$key})
109 0 0 if (my $db = $entry->db)
202 0 0 if $Debug
211 0 0 if (@_)
213 0 0 $_[0] ? :
216 0 0 if defined $Apache_Has_Started
271 0 0 if $Debug
272 0 0 if $db
273 0 0 if $entry
337 0 0 if $Debug
338 0 0 if $db
339 0 0 if $entry