Branch Coverage

blib/lib/vsDB.pm
Criterion Covered Total %
branch 0 142 0.0


line true false branch
27 0 0 unless defined $keyValues{'delimiter'}
28 0 0 unless defined $keyValues{'delimiter'}
80 0 0 if (defined $newValue) { }
92 0 0 if (defined $newValue) { }
93 0 0 if $newValue > $this->PageCount
96 0 0 if $newValue == 1
112 0 0 if $$this{'absolutePosition'} == 1
115 0 0 if $activePage > $this->PageCount
124 0 0 if (defined $newValue) { }
125 0 0 if int $newValue > 0
136 0 0 if (int $count < $count)
145 0 0 if ($newVal)
177 0 0 if $this->RecordCount < 1
191 0 0 unless defined $fieldNumber
194 0 0 if (defined $newValue) { }
196 0 0 if ($$this{'absolutePosition'} <= $$this{'originalCount'})
215 0 0 unless (defined $newField)
230 0 0 if (defined $$this{'row'}[$fieldNumber]) { }
246 0 0 unless $$this{'isOpen'}
257 0 0 unless $$this{'isOpen'}
294 0 0 unless $$this{'isOpen'}
295 0 0 if $$this{'EOF'}
308 0 0 unless $$this{'isOpen'}
309 0 0 if $$this{'absolutePosition'} < 2
322 0 0 unless $$this{'isOpen'}
335 0 0 unless $$this{'isOpen'}
348 0 0 unless $$this{'isOpen'}
349 0 0 if $$this{'recordCount'} < 1
350 0 0 if $$this{'EOF'}
352 0 0 if ($$this{'absolutePosition'} <= $$this{'originalCount'})
367 0 0 unless $$this{'isOpen'}
393 0 0 unless defined $defaultValue
409 0 0 if ($nextField > 0)
429 0 0 if (not $alpha) { }
430 0 0 if ($curVal ne '')
431 0 0 if (int $curVal > int $maxVal)
434 0 0 if ((lc $curVal cmp lc $maxVal) > 0)
454 0 0 if ($alpha) { }
455 0 0 if ($curVal ne '')
456 0 0 if (int $curVal < int $minVal)
459 0 0 if ((lc $curVal cmp lc $minVal) < 0)
477 0 0 unless defined $criteria
491 0 0 if ($filterOr and not $$this{'filterArray'}[$absolutePosition]) { }
0 0 elsif (not $filterOr and $$this{'filterArray'}[$absolutePosition]) { }
0 0 elsif ($operator eq 'eq' and $this->FieldValue($fieldName) ne $criteria) { }
0 0 elsif ($operator eq 'ne' and not $this->FieldValue($fieldName) ne $criteria) { }
0 0 elsif ($operator eq 'like' and not index(lc $this->FieldValue($fieldName), lc $criteria, 0) + 1) { }
0 0 elsif ($operator eq '>' and not $this->FieldValue($fieldName) > $criteria) { }
0 0 elsif ($operator eq '<' and not $this->FieldValue($fieldName) < $criteria) { }
513 0 0 if ($$this{'filterArray'}[$absolutePosition]) { }
514 0 0 unless $filterSetting
548 0 0 unless ($$this{'isDirty'})
550 0 0 if ($$this{'appendOnly'}) { }
553 0 0 unless (open OUTPUTFILE, ">>$fileName")
557 0 0 if $useFlock
564 0 0 unless (open OUTPUTFILE, ">$fileName")
568 0 0 if $useFlock
570 0 0 if ($this->NoFieldNames) { }
581 0 0 if $useFlock
616 0 0 if ($sortMode eq '1') { }
0 0 elsif ($sortMode eq '2') { }
0 0 elsif ($sortMode eq '3') { }
657 0 0 if (not -e $fileName) { }
0 0 elsif (not -r $fileName) { }
666 0 0 if (open THISFILE, "$fileName") { }
675 0 0 if ($this->NoFieldNames)
683 0 0 if $dummyDelim eq '\\|'
740 0 0 unless $$this{'isOpen'}
743 0 0 if $$this{'absolutePosition'} < 1
744 0 0 if ($$this{'absolutePosition'} > $$this{'recordCount'})
767 0 0 if (defined $newValue) { }