Condition Coverage

blib/lib/Genealogy/Wills/DB.pm
Criterion Covered Total %
condition 3 80 3.7


and 3 conditions

line !l l&&!r l&&r condition
163 0 0 0 defined $slurp_file and -r $slurp_file
181 0 0 0 defined $slurp_file and -r $slurp_file
321 0 0 0 scalar keys %params == 0 and $self->{'data'}
336 0 0 0 $self->{'type'} eq "CSV" and not $self->{'no_entry'}
411 0 0 0 $c and wantarray
442 0 0 0 $self->{'type'} eq "CSV" and not $self->{'no_entry'}
570 0 0 0 wantarray and not delete $params{'distinct'}
571 0 0 0 $self->{'type'} eq "CSV" and not $self->{'no_entry'}
578 0 0 0 $self->{'type'} eq "CSV" and not $self->{'no_entry'}
612 0 0 0 scalar @args and $args[0]
628 0 0 0 defined $^V and $^V ge "v5.14.0"

or 2 conditions

line l !l condition
87 0 0 $args{'no_entry'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
73 0 0 0 ref $proto || $proto
79 0 0 0 $directory or $args{'directory'}
87 0 0 0 $args{'logger'} || $logger
0 0 0 $args{'directory'} || $directory
0 0 0 $args{'cache'} || $cache
95 0 1 0 $directory ||= $args{'directory'}
96 0 0 1 $logger ||= $args{'logger'}
97 0 0 1 $cache ||= $args{'cache'}
129 0 0 0 $self->{'table'} || ref $self
140 0 0 0 $self->{'directory'} || $directory
316 0 0 0 $self->{'table'} || ref $self
430 0 0 0 $self->{'table'} || ref $self
518 0 0 0 $self->{'table'} || ref $self
561 0 0 0 $self->{'table'} || ref $self
618 0 0 0 $self->{$table}->prepare($query) || 'Error::Simple'->throw($query)