blib/lib/DBIx/Brev.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 39 | 20.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
74 | 3 | 5 | 4 | defined $_ && -f $_ |
86 | 1 | 0 | 0 | $dbc && defined wantarray |
90 | 0 | 1 | 0 | $use_config and keys %config == 0 |
95 | 0 | 1 | 0 | exists $$databases{$alias} and $mode |
136 | 0 | 0 | 0 | ($sth = $_->prepare($sql)) && $sth->execute(@bind_values) |
138 | 0 | 0 | 0 | ($sth = $dbc->prepare($sql)) && $sth->execute(@bind_values) |
152 | 0 | 0 | 0 | @$r and @{$$r[0];} == 1 |
line | l | !l | condition |
---|---|---|---|
84 | 0 | 1 | $options ||= {'RaiseError', 1, 'AutoCommit', 1} |
87 | 0 | 1 | delete $$options{'connection_mode'} || 'fixup' |
162 | 0 | 0 | $list || 'NULL' |
216 | 0 | 0 | delete $$attr{'splitter_options'} || {} |
243 | 0 | 0 | $opts{'step'} || 500 |
244 | 0 | 0 | $opts{'delay'} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
120 | 0 | 0 | 0 | ref $_ || /\s/ |
126 | 0 | 0 | 0 | $local_dbc || $dbc |