Condition Coverage

lib/Spreadsheet/Engine/Functions.pm
Criterion Covered Total %
condition 28 77 36.3


and 3 conditions

line !l l&&!r l&&r condition
127 203 41 0 $want_args < 0 and $have_args < -$want_args
41 203 0 $want_args >= 0 and $have_args != $want_args
138 0 0 273 @$operand and $$operand[@$operand - 1]{'type'} eq 'start'
295 0 0 0 substr($tostype, 0, 1) eq 'e' and substr($resulttypesum, 0, 1) ne 'e'
445 0 0 0 $nrows == 1 and $ncols == 1
539 0 24 5 $rangetype ne 'coord' and $rangetype ne 'range'
544 0 0 24 $fname eq 'SUMIF' and $sumrangetype ne 'coord'
0 24 0 $fname eq 'SUMIF' and $sumrangetype ne 'coord' and $sumrangetype ne 'range'
569 4 0 0 substr($tostype2, 0, 1) eq 'e' and substr($resulttypesum, 0, 1) ne 'e'
663 0 0 0 substr($tostype, 0, 1) eq 'e' and substr($resulttype, 0, 1) ne 'e'
699 0 0 0 substr($tostype, 0, 1) eq 'e' and substr($resulttype, 0, 1) ne 'e'

or 2 conditions

line l !l condition
273 2840 0 $$criteriasheetdata{'valuetypes'}{$testcr} || 'b'
286 500 0 $tostype ||= 'b'
321 174 8 $resulttypesum ||= 'n'
329 7 0 $minval || 0
331 8 0 $maxval || 0
530 0 29 substr($criteriatype || '', 0, 1) || ''
580 20 4 $resulttypesum ||= 'n'

or 3 conditions

line l !l&&r !l&&!r condition
127 0 0 244 $want_args < 0 and $have_args < -$want_args or $want_args >= 0 and $have_args != $want_args
211 0 0 182 $dbrangetype ne 'range' or $criteriarangetype ne 'range'
312 326 174 0 $resulttypesum || $tostype
413 0 0 12 substr($tostype, 0, 1) ne 'n' or $rowindex < 0
420 0 0 12 substr($tostype, 0, 1) ne 'n' or $colindex < 0
436 0 0 12 $rowindex > $nrows or $colindex > $ncols
571 2 20 0 $resulttypesum || $tostype2
665 0 0 0 $resulttype || $tostype
701 0 0 0 $resulttype || $tostype
732 0 0 0 $fieldname <= 0 or $fieldname > $ncols