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
75 11 0 0 @_ > 1 && ($_[1] ^^ $_[0]->quote_identifiers)
81 11 0 0 @_ > 1 && ($_[1] ^^ $_[0]->quote_identifiers)
312 0 0 0 $self->data and $self->producer
0 0 0 $self->data and $self->producer and $self->parser
542 96 0 576 -f $_ and /\.pm$/
601 39 0 0 $@ and not $@ =~ /"SQL::Translator::Producer" is not exported/

or 2 conditions

line l !l condition
389 0 10 $@ || $self->error || 0
404 0 0 $@ || $self->error || 'no results'
517 8 0 shift() || (return ())

or 3 conditions

line l !l&&r !l&&!r condition
327 17 3 99 $args->{'filename'} || $args->{'file'}
331 36 0 83 $args->{'data'} || $args->{'datasource'}
343 16 17 86 $args->{'parser'} || $args->{'from'}
352 25 17 77 $args->{'producer'} || $args->{'to'}
369 0 2 82 $@ or not $parser_output
403 107 10 0 $producer_output || @producer_output
0 0 117 $@ or not $producer_output || @producer_output