Condition Coverage

lib/CSV/LINQ.pm
Criterion Covered Total %
condition 24 72 33.3


and 3 conditions

line !l l&&!r l&&r condition
9 5 0 0 $] < "5.006" and not defined &warnings::import
64 1 281 4 $pos < $len and substr($line, $pos, 1) eq "\""
71 1 3 2 $pos < $len and substr($line, $pos, 1) eq "\""
85 1 0 3 $pos < $len and substr($line, $pos, 1) eq $sep
89 103 179 1003 $pos < $len and substr($line, $pos, 1) ne $sep
302 0 0 0 defined $e1 and defined $e2
452 0 2 126 defined $val && length $val
484 201 0 7 $fa == 0 and $fb == 0
0 0 201 $fa == 1 and $fb == 1
782 0 0 0 defined $e and $e eq $value
801 0 0 0 defined $e1 and defined $e2
1110 0 0 2 @items and ref $items[0] eq "HASH"
1121 8 0 0 not @cols and @items
8 0 0 not @cols and @items and ref $items[0] ne "HASH"

or 3 conditions

line l !l&&r !l&&!r condition
103 0 0 78 $value =~ /["\n\r]/ or index($value, $sep) != -1
798 0 0 0 defined $e1 or defined $e2
818 3 0 0 not defined $pred or &$pred($e)
848 20 0 0 not defined $pred or &$pred($e)
867 0 0 0 not defined $pred or &$pred($e)
880 0 0 0 not defined $pred or &$pred($e)
896 0 0 0 not defined $pred or &$pred($e)
935 19 0 0 not defined $pred or &$pred($e)
958 0 0 0 not defined $min or $v < $min
969 0 0 0 not defined $max or $v > $max