Condition Coverage

lib/MARC/Loader.pm
Criterion Covered Total %
condition 27 42 64.2


and 3 conditions

line !l l&&!r l&&r condition
24 0 0 1 defined $$data{'ldr'} and $$data{'ldr'} ne ''
77 0 0 17 $k =~ /^((.*)##)?(\D)(\d{3})$/ and ref $v eq 'HASH'
80 7 0 1 $4 < 10 and defined $v
7 0 1 $4 < 10 and defined $v and $v ne ''
87 0 0 7 defined $v and $v ne ''
94 0 1 16 defined $v and $v ne ''
108 0 0 2 defined $$v{$k} and $$v{$k} ne ''
124 0 2 44 defined $$v{$k} and $$v{$k} ne ''
2 43 1 defined $$v{$k} and $$v{$k} ne '' and ref $$v{$k} eq 'ARRAY'
0 2 43 defined $$v{$k} and $$v{$k} ne ''
158 0 0 4 $5 =~ /1|2/ and $v =~ /\d|\|/

or 3 conditions

line l !l&&r !l&&!r condition
37 1 1 30 $k eq 'ldr' or $k eq 'orderfields'
2 1 29 $k eq 'ldr' or $k eq 'orderfields' or $k eq 'ordersubfields'
2 1 28 $k eq 'ldr' or $k eq 'orderfields' or $k eq 'ordersubfields' or $k eq 'cleannsb'