Condition Coverage

blib/lib/Genealogy/ObituaryDailyTimes/DB.pm
Criterion Covered Total %
condition 6 85 7.0


and 3 conditions

line !l l&&!r l&&r condition
191 0 0 0 defined $slurp_file and -r $slurp_file
209 0 0 0 defined $slurp_file and -r $slurp_file
347 0 0 0 scalar keys %params == 0 and $self->{'data'}
364 0 0 0 $self->{'type'} eq "CSV" and not $self->{'no_entry'}
448 0 0 0 $c and wantarray
479 0 0 0 $self->{'type'} eq "CSV" and not $self->{'no_entry'}
607 0 0 0 wantarray and not delete $params{'distinct'}
608 0 0 0 $self->{'type'} eq "CSV" and not $self->{'no_entry'}
615 0 0 0 $self->{'type'} eq "CSV" and not $self->{'no_entry'}
649 0 0 0 scalar @args and $args[0]
665 0 0 0 defined $^V and $^V ge "v5.14.0"

or 2 conditions

line l !l condition
124 0 0 $args{'cache_duration'} || $cache_duration || '1 hour'
0 0 $args{'no_entry'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
85 2 2 0 $directory ||= $args{'directory'}
86 0 0 4 $logger ||= $args{'logger'}
87 0 0 4 $cache ||= $args{'cache'}
88 2 2 0 $cache_duration ||= $args{'cache_duration'}
109 0 0 0 ref $proto || $proto
115 0 0 0 $directory or $args{'directory'}
124 0 0 0 $args{'logger'} || $logger
0 0 0 $args{'directory'} || $directory
0 0 0 $args{'cache'} || $cache
157 0 0 0 $self->{'table'} || ref $self
168 0 0 0 $self->{'directory'} || $directory
344 0 0 0 $self->{'table'} || ref $self
467 0 0 0 $self->{'table'} || ref $self
555 0 0 0 $self->{'table'} || ref $self
598 0 0 0 $self->{'table'} || ref $self
655 0 0 0 $self->{$table}->prepare($query) || 'Error::Simple'->throw($query)