blib/lib/DBD/DBM.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 24 | 60 | 40.0 |
line | l | !l | condition | |
---|---|---|---|---|
172 | 0 | 8 | 0 | $meta = {} and $class->bootstrap_table_meta($dbh, $meta, $table) |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
406 | 48 | 0 | 266 | $meta_data and $meta_data =~ m[ |
415 | 0 | 266 | 48 | $meta->{'dbm_store_metadata'} and not $meta->{'hash'}{"_metadata \000"} |
444 | 0 | 0 | 48 | -f $meta->{'f_fqbn'} . $dirfext and $meta->{'f_ext'} eq '.pag/r' |
465 | 0 | 122 | 328 | $meta->{'dbm_store_metadata'} and $ary[0] |
122 | 190 | 138 | $meta->{'dbm_store_metadata'} and $ary[0] and $ary[0] eq "_metadata \000" | |
512 | 0 | 54 | 0 | not $meta->{'dbm_mldbm'} and $ncols > 2 |
line | l | !l | condition |
---|---|---|---|
166 | 0 | 8 | $table ||= '' |
278 | 176 | 170 | $dbh->{'dbm_type'} || 'SDBM_File' |
413 | 32 | 16 | $meta->{'col_names'} || ['k', 'v'] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
85 | 0 | 0 | 2968 | $attrib eq 'dbm_ext' or $attrib eq 'dbm_lockfile' |
99 | 0 | 0 | 0 | $attrib eq 'dbm_ext' or $attrib eq 'dbm_lockfile' |
278 | 6 | 346 | 0 | $meta->{'dbm_type'} ||= $dbh->{'dbm_type'} || 'SDBM_File' |
279 | 0 | 0 | 0 | $meta->{'dbm_mldbm'} ||= $dbh->{'dbm_mldbm'} |
280 | 0 | 0 | 352 | $meta->{'dbm_berkeley_flags'} ||= $dbh->{'dbm_berkeley_flags'} |
287 | 346 | 0 | 0 | $meta->{'dbm_type'} eq 'SDBM_File' or $meta->{'dbm_type'} eq 'ODBM_File' |
295 | 0 | 0 | 0 | $^O =~ /bsd/i or lc $^O eq 'darwin' |
0 | 0 | 0 | $^O eq 'SunOS' or $^O eq 'Solaris' | |
0 | 0 | 0 | $^O eq 'SunOS' or $^O eq 'Solaris' or $^O eq 'AIX' | |
371 | 0 | 0 | 0 | $flags->{'lockMode'} || $flags->{'createMode'} |
413 | 266 | 48 | 0 | $col_names ||= $meta->{'col_names'} || ['k', 'v'] |