Condition Coverage

blib/lib/DBIx/FileSystem.pm
Criterion Covered Total %
condition 4 152 2.6


and 3 conditions

line !l l&&!r l&&r condition
419 0 0 0 defined $arg and not defined $x
454 0 0 0 defined $arg and not defined $x
456 0 0 0 $$vdirs{$DBIx::FileSystem::vwd}{'defaultfile'} and $$vdirs{$DBIx::FileSystem::vwd}{'defaultfile'} eq $arg
498 0 0 0 defined $old and defined $new
0 0 0 defined $old and defined $new and not defined $x
501 0 0 0 length $new <= $$vdirs{$DBIx::FileSystem::vwd}{'cols'}{$fnc}{'len'} and not $new =~ /\W+/
542 0 0 0 defined $arg and not defined $x
558 0 0 0 defined $arg and not defined $x
581 0 0 0 defined $arg and not defined $x
584 0 0 0 length $arg <= $$vdirs{$DBIx::FileSystem::vwd}{'cols'}{$fnc}{'len'} and not $arg =~ /\W+/
600 0 0 0 length $sql and $tmpf_mtime != (stat $tmpf)[9]
634 0 0 0 defined $arg and not defined $x
653 0 0 0 defined $arg and not defined $x
908 0 0 0 defined $$cols{$col}{'ref'} and not defined $$vdirs{$$cols{$col}{'ref'}}
986 0 0 0 defined $$cols{$col}{'type'} and $$vdirs{$dir}{'edit'} == 1
987 0 0 0 $$cols{$col}{'type'} ne 'char' and $$cols{$col}{'type'} ne 'int'
0 0 0 $$cols{$col}{'type'} ne 'char' and $$cols{$col}{'type'} ne 'int' and $$cols{$col}{'type'} ne 'smallint'
0 0 0 $$cols{$col}{'type'} ne 'char' and $$cols{$col}{'type'} ne 'int' and $$cols{$col}{'type'} ne 'smallint' and $$cols{$col}{'type'} ne 'inet'
0 0 0 $$cols{$col}{'type'} ne 'char' and $$cols{$col}{'type'} ne 'int' and $$cols{$col}{'type'} ne 'smallint' and $$cols{$col}{'type'} ne 'inet' and $$cols{$col}{'type'} ne 'cidr'
1127 0 0 0 length $df <= $$vdirs{$tab}{'cols'}{$fnc}{'len'} and not $df =~ /\W+/
1208 0 0 0 $$vdirs{$DBIx::FileSystem::vwd}{'defaultfile'} and $$vdirs{$DBIx::FileSystem::vwd}{'defaultfile'} ne $fnam
1256 0 0 0 $$vdirs{$DBIx::FileSystem::vwd}{'defaultfile'} and $$vdirs{$DBIx::FileSystem::vwd}{'defaultfile'} ne $fnam
1264 0 0 0 $$vdirs{$DBIx::FileSystem::vwd}{'defaultfile'} and $$vdirs{$DBIx::FileSystem::vwd}{'defaultfile'} ne $fnam
1278 0 0 0 defined $defaults[$i] and defined $flags[$i]
0 0 0 defined $defaults[$i] and defined $enums[$i]
1331 0 0 0 defined $value and $value eq $rval
1339 0 0 0 $found == 0 and defined $value
1369 0 0 0 defined $value and $value & 1 << $i
1393 0 0 0 defined $value and not exists $$enums{$value}
1406 0 0 0 defined $value and $value == $i
1482 0 0 0 defined $flags and defined $value
1513 0 0 0 defined $enums and defined $value
1949 0 0 0 not defined $err and $hasuniqcols == 1
1996 0 0 0 $inp ne 'y' and $inp ne 'n'
2082 0 0 0 $$vdirs{$DBIx::FileSystem::vwd}{'defaultfile'} and $$vdirs{$DBIx::FileSystem::vwd}{'defaultfile'} ne $fnam
2131 0 0 1 exists $params{'dbconn'} and defined $params{'dbconn'}
2138 0 0 1 exists $params{'progdbver'} and defined $params{'progdbver'}
2323 0 0 0 defined $res and $res == 1
2426 0 0 0 defined $$val[0] and defined $$val[1]

or 2 conditions

line l !l condition
187 0 0 $term->OUT || \*STDOUT

or 3 conditions

line l !l&&r !l&&!r condition
521 0 0 0 not defined $r or $r != 1
590 0 0 0 $r == 0 or $r == 1
904 0 0 0 defined $$cols{$col}{'type'} or defined $$cols{$col}{'ref'}
1129 0 0 0 not defined $r or $r == 0
1630 0 0 0 length $var == 0 or $var =~ /\W+/
1807 0 0 0 $val <= -2147483648 or $val >= 2147483647
1827 0 0 0 $val <= -32768 or $val >= 32767
2276 0 0 0 not defined $dir or $dir eq ''
2280 0 0 0 not defined $fnamcol or $fnamcol eq ''
2358 0 0 0 not defined $res or defined $$self{'dbh'}{'err'}
2475 9 0 19 $unparsed != 0 or $!