Branch Coverage

blib/lib/Querylet/Query.pm
Criterion Covered Total %
branch 46 50 92.0


line true false branch
185 1 13 if $self->{'query_vars'}
209 51 5 if $self->{'results'}
239 4013 9 if $self->{'columns'}
272 0 10 exists $self->{'headers'}{$column} ? :
304 2 3 unless @_ > 2
320 3 4 unless $self->{'scratchpad'}
337 13 4 unless @_
353 2 4 unless $self->{'input'}
354 1 5 if exists $self->{'input'}{$parameter}
356 2 3 if ($input_handler{$self->input_type}) { }
394 12 7 unless @_
398 6 1 $filename ? :
414 14 8 unless @_
430 21 9 unless @_
447 8 9 if exists $self->{'output'}
449 8 1 if ($output_handler{$self->output_type}) { }
454 1 7 unless ($self->{'output'})
474 1 3 unless $self->write_type
476 4 0 if ($write_handler{$self->write_type}) { }
500 2 4 if (ref $output eq 'CODE') { }
501 0 2 if $self->write_type
550 10000 8000 defined $_ ? :
579 1 1 unless ($template)
633 3 0 if ($query->output_filename)
634 2 1 if (open my $output_file, '>', $query->output_filename) { }