Branch Coverage

lib/UR/DBI/Report.pm
Criterion Covered Total %
branch 0 120 0.0


line true false branch
41 0 0 if delete $params{'extend_command_line'}
42 0 0 if keys %params
75 0 0 if ($flag eq 'parse')
79 0 0 $value ? :
80 0 0 $value ? :
91 0 0 if (ref $_)
194 0 0 ref $sql_param ? :
197 0 0 unless ($dbh)
202 0 0 if ($params{'trunc'}) { }
0 0 elsif (defined $params{'trunc'}) { }
221 0 0 if ($sql_request eq '-') { }
226 0 0 if /^#!/
227 0 0 if (/;\s*$/) { }
244 0 0 unless $sql =~ /\S/
247 0 0 if $params{'echo'}
255 0 0 if ($params{'explain-sql'})
262 0 0 if ($question_mark_count)
269 0 0 unless defined $data and length $data
274 0 0 if ($sql_request eq '-') { }
285 0 0 unless ($sth)
287 0 0 if ($params{'sloppy'}) { }
310 0 0 if ($question_mark_count)
314 0 0 if defined $data
317 0 0 unless (defined $data and length $data)
320 0 0 if ($sql_execution_count == 0)
330 0 0 if ($params{'echo'})
342 0 0 unless ($execcnt = $sth->execute(@params))
344 0 0 @params ? :
345 0 0 if ($params{'sloppy'}) { }
362 0 0 unless ($statement_is_not_a_query)
369 0 0 $params{'combine'} ? :
374 0 0 if defined $rowcnt and $rowcnt eq '0 because the statement is not a query'
378 0 0 if (ref $outfh and not $params{'combine'} and not $params{'outfh'})
386 0 0 if ($params{'count'})
387 0 0 if ($params{'combine'}) { }
389 0 0 $statement_is_not_a_query ? :
394 0 0 if ($statement_is_not_a_query) { }
408 0 0 if $question_mark_count
412 0 0 if ($params{'combine'})
413 0 0 if ref $outfh and not $params{'outfh'}
414 0 0 if ($params{'count'})
417 0 0 $statement_is_not_a_query ? :
424 0 0 if $sql_request eq '-'
446 0 0 unless ($sth)
453 0 0 if ($outfh) { }
454 0 0 if ($params{'delimit'} =~ /^s/i and $^O ne 'MSWin32' and $^O ne 'cygwin')
459 0 0 unless $outfh
463 0 0 if ($params{'delimit'} =~ /^s/i) { }
484 0 0 if ($params{'orient'} =~ /^v/i) { }
0 0 elsif ($params{'orient'} =~ /^h/i) { }
493 0 0 if ($msg =~ /ERROR no statement executing/) { }
0 0 elsif ($sth->errstr) { }
503 0 0 if ($params{'data'}) { }
510 0 0 if ($params{'header'} and not $params{'combine'} && $params{'position_in_combined_sql_list'} > 1)
512 0 0 if (my $trunc = $params{'trunc'}) { }
551 0 0 if ($msg =~ /ERROR no statement executing/) { }
561 0 0 if ($params{'data'})
566 0 0 if (my $trunc = $params{'trunc'}) { }
570 0 0 if $params{'header'}
579 0 0 if $params{'header'}