Condition Coverage

blib/lib/Spreadsheet/Compare/Single.pm
Criterion Covered Total %
condition 59 93 63.4


and 3 conditions

line !l l&&!r l&&r condition
75 0 0 18 $readers and ref $readers eq 'ARRAY'
78 0 0 36 ref $r and $r->isa('Spreadsheet::Compare::Reader')
125 62 62 34 $done &&= $r->exhausted
128 9 1 1 $self->is_sorted && $self->fetch_size && $self->fetch_limit && ++$fetches >= $self->fetch_limit
139 62 0 17 $readers->[0]->exhausted and $readers->[1]->exhausted
195 3691 182 907 $self->is_sorted and not $last_pass
3873 907 0 $self->is_sorted and not $last_pass and $id eq $last_id_l || $id eq $last_id_r
244 449 2235 0 $diff->{'limit'} and $self->below_limit_is_equal
288 0 9 0 not $last_pass and $id eq $last_id_l || $id eq $last_id_r
446 11362 0 0 $self->ignore_strings and not $lorig =~ /$rxreal/u
11362 0 0 $self->ignore_strings and not $lorig =~ /$rxreal/u and not $rorig =~ /$rxreal/u
208 0 11154 $lorig =~ /$rxreal/u && $rorig =~ /$rxreal/u
513 0 1305 5956 $check and $below == $check
522 1633 441 2238 $all_check && $all_check == $all_below
550 461 2238 0 $diff->{'limit'} and $self->below_limit_is_equal
616 0 22284 24 $ds and $ds ne '\\.'

or 2 conditions

line l !l condition
171 18 4762 $look_r{$r->id} //= []
428 257589 0 $lrec->[$idx] // ''
429 257589 0 $rrec->[$idx] // ''

or 3 conditions

line l !l&&r !l&&!r condition
130 17 1 61 $done || $limit_reached
195 9 0 898 $id eq $last_id_l || $id eq $last_id_r
244 2087 0 2684 $diff->{'equal'} or $diff->{'limit'} and $self->below_limit_is_equal
288 9 0 0 $id eq $last_id_l || $id eq $last_id_r
494 9 36 7216 $rval == 0 || $lval == 0
550 2087 0 2699 $diff->{'equal'} or $diff->{'limit'} and $self->below_limit_is_equal
582 0 0 4 $labs->{'__default__'} // $def->{'limit_abs'}
14 0 0 $labs // $def->{'limit_abs'}
587 0 0 4 $lrel->{'__default__'} // $def->{'limit_rel'}
14 0 0 $lrel // $def->{'limit_rel'}
592 8 460 53 $labs->{$key} //= $limit_abs_def
593 8 460 53 $lrel->{$key} //= $limit_rel_def
612 22308 0 0 $force or $string =~ /^$rir$/u