Condition Coverage

blib/lib/Data/Prepare.pm
Criterion Covered Total %
condition 26 29 89.6


and 3 conditions

line !l l&&!r l&&r condition
46 28 22 26 defined $matchto and not $to_row->[$i] =~ /$matchto/
47 26 22 2 defined $matchfrom and not $from_row->[$i] =~ /$matchfrom/
195 47 0 745 keys %{$pk_col2pk_value2count{$_};} == 1 && $pk_col2pk_value2count{$_}{$best}

or 2 conditions

line l !l condition
39 6 4 $spec->{'fromspec'} || ''
40 4 6 $spec->{'tospec'} || ''
89 4613 2153 $col_non_empty[$_] ||= 0
152 595 263 $pk_val2from->{$this_pk_val} || ''

or 3 conditions

line l !l&&r !l&&!r condition
45 47 19 10 $from_row->[$i] || $kept
79 176 0 20 defined $pkv or not $fb
136 2730 182 812 $exact_match ||= @match_codes_yes
191 15 14 0 $pk_val2count{$b} <=> $pk_val2count{$a} or length $pk_val2from{$a} <=> length $pk_val2from{$b}