Branch Coverage

blib/lib/DBI/Format/SQLMinus.pm
Criterion Covered Total %
branch 44 78 56.4


line true false branch
45 20 0 if (exists $self->{'plugin'}{'sqlminus'}) { }
125 0 32 if (exists $breaks->{$n_lc})
136 28 4 if (exists $$column_format{$names_lc->[$i]})
140 27 1 if (exists $cf->{'on'} and $cf->{'on'})
144 2 25 if (exists $cf->{'noprint'} and $cf->{'noprint'})
152 25 0 if (exists $cf->{'format'} and defined $cf->{'format'})
158 3 22 if (exists $cf->{'justify'} and defined $cf->{'justify'})
159 1 2 if $cf->{'justify'} =~ /^c/
160 1 2 if $cf->{'justify'} =~ /^l/
161 1 2 if $cf->{'justify'} =~ /^r/
166 9 16 if (exists $cf->{'heading'} and defined $cf->{'heading'})
184 21 9 unless $heading
191 25 5 if ($width) { }
198 1 4 if length $names->[$i] > ($widths[$i] || 0)
205 30 0 if ($justify) { }
229 5 25 unless $format_names
233 28 2 defined $set->{'underline'} ? :
239 0 30 unless $set->{'linesize'}
256 20 0 if $set->{'heading'}
258 18 2 if $set->{'underline'}
260 2 18 if $set->{'heading'} and not $set->{'underline'}
270 0 0 if (exists $self->{'plugin'}{'sqlminus'}) { }
281 0 0 if defined $set->{'heading'}
283 0 0 if defined $set->{'heading'}
285 0 0 if defined $set->{'underline'}
287 0 0 if defined $set->{'heading'} and not defined $set->{'underline'}
323 0 320 if (exists $$breaks{$attribs->{'name_lc'}})
327 0 0 if (defined $brk->{'last_break_point'} and $brk->{'last_break_point'} ne $row[$i])
329 0 0 if (exists $brk->{'skip'})
331 0 0 $skip_rows >= $brk->{'skip'} ? :
334 0 0 if (exists $brk->{'skip_page'})
339 0 0 if (exists $brk->{'nodup'})
340 0 0 if (defined $brk->{'last_break_point'} and $brk->{'last_break_point'} eq $row[$i])
351 20 300 unless $attribs->{'display'}
353 0 300 if (ref $attribs->{'fmtfunc'} eq 'CODE') { }
367 0 200 if ($skip_page) { }
0 200 elsif ($skip_rows) { }
381 0 200 if (defined $self->{'limit'} and $self->{'rows'} >= $self->{'limit'})
385 0 200 if (defined $self->{'pagesize'} and $self->{'rows'} % $self->{'pagesize'} == 0)