Branch Coverage

blib/lib/Spreadsheet/BasicReadNamedCol.pm
Criterion Covered Total %
branch 15 30 50.0


line true false branch
35 0 1 if @_ > 1
37 0 1 if (defined $args{'columns'})
39 0 0 unless (ref $args{'columns'} eq 'ARRAY')
47 0 1 if (defined $args{'skipHeadings'})
65 0 1 if (ref $cols[0] eq 'ARRAY') { }
81 0 0 $headingRow >= $$self{'ssSheet'}{'MinRow'} && $headingRow <= $$self{'ssSheet'}{'MaxRow'} ? :
91 0 4 unless defined $$self{'ssSheet'}
94 0 4 unless (defined $$self{'columns'})
117 12 0 unless $data[$x] =~ /^$/
121 0 4 if ($blank == 0)
134 0 12 unless defined $name and $name ne ''
140 12 12 if ($realColName =~ /^\Q$name\E/i)
151 0 12 unless ($found)
161 0 4 $$self{'skipHeadings'} ? :
182 7 10 if $$self{'isOrdered'} or not defined $data