Condition Coverage

blib/lib/SQL/Translator.pm
Criterion Covered Total %
condition 23 45 51.1


and 3 conditions

line !l l&&!r l&&r condition
73 10 0 0 @_ > 1 && ($_[1] xor $_[0]->quote_identifiers)
79 10 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 37 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 17 3 94 $args->{'filename'} || $args->{'file'}
321 34 0 80 $args->{'data'} || $args->{'datasource'}
333 15 17 82 $args->{'parser'} || $args->{'from'}
342 23 17 74 $args->{'producer'} || $args->{'to'}
359 0 2 79 $@ or not $parser_output
393 102 10 0 $producer_output || @producer_output
0 0 112 $@ or not $producer_output || @producer_output