Condition Coverage

blib/lib/SQL/Translator.pm
Criterion Covered Total %
condition 22 45 48.8


and 3 conditions

line !l l&&!r l&&r condition
73 7 0 0 @_ > 1 && ($_[1] xor $_[0]->quote_identifiers)
79 7 0 0 @_ > 1 && ($_[1] xor $_[0]->quote_identifiers)
302 0 0 0 $self->data and $self->producer
0 0 0 $self->data and $self->producer and $self->parser
532 96 0 576 -f $_ and /\.pm$/
590 34 0 0 $@ and not $@ =~ /"SQL::Translator::Producer" is not exported/

or 2 conditions

line l !l condition
379 0 10 $@ || $self->error || 0
394 0 0 $@ || $self->error || 'no results'
507 8 0 shift() || (return ())

or 3 conditions

line l !l&&r !l&&!r condition
317 4 0 90 $args->{'filename'} || $args->{'file'}
321 33 0 61 $args->{'data'} || $args->{'datasource'}
333 12 4 78 $args->{'parser'} || $args->{'from'}
342 20 4 70 $args->{'producer'} || $args->{'to'}
359 0 2 63 $@ or not $parser_output
393 87 5 0 $producer_output || @producer_output
0 0 92 $@ or not $producer_output || @producer_output