Branch Coverage

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


line true false branch
44 20 0 if (exists $self->{'plugin'}{'sqlminus'}) { }
124 0 32 if (exists $breaks->{$n_lc})
135 28 4 if (exists $$column_format{$names_lc->[$i]})
139 27 1 if (exists $cf->{'on'} and $cf->{'on'})
143 2 25 if (exists $cf->{'noprint'} and $cf->{'noprint'})
151 25 0 if (exists $cf->{'format'} and defined $cf->{'format'})
157 3 22 if (exists $cf->{'justify'} and defined $cf->{'justify'})
158 1 2 if $cf->{'justify'} =~ /^c/
159 1 2 if $cf->{'justify'} =~ /^l/
160 1 2 if $cf->{'justify'} =~ /^r/
165 9 16 if (exists $cf->{'heading'} and defined $cf->{'heading'})
183 21 9 unless $heading
190 25 5 if ($width) { }
197 1 4 if length $names->[$i] > ($widths[$i] || 0)
204 30 0 if ($justify) { }
228 5 25 unless $format_names
232 28 2 defined $set->{'underline'} ? :
238 0 30 unless $set->{'linesize'}
255 20 0 if $set->{'heading'}
257 18 2 if $set->{'underline'}
259 2 18 if $set->{'heading'} and not $set->{'underline'}
269 0 0 if (exists $self->{'plugin'}{'sqlminus'}) { }
280 0 0 if defined $set->{'heading'}
282 0 0 if defined $set->{'heading'}
284 0 0 if defined $set->{'underline'}
286 0 0 if defined $set->{'heading'} and not defined $set->{'underline'}
322 0 320 if (exists $$breaks{$attribs->{'name_lc'}})
326 0 0 if (defined $brk->{'last_break_point'} and $brk->{'last_break_point'} ne $row[$i])
328 0 0 if (exists $brk->{'skip'})
330 0 0 $skip_rows >= $brk->{'skip'} ? :
333 0 0 if (exists $brk->{'skip_page'})
338 0 0 if (exists $brk->{'nodup'})
339 0 0 if (defined $brk->{'last_break_point'} and $brk->{'last_break_point'} eq $row[$i])
350 20 300 unless $attribs->{'display'}
352 0 300 if (ref $attribs->{'fmtfunc'} eq 'CODE') { }
366 0 200 if ($skip_page) { }
0 200 elsif ($skip_rows) { }
380 0 200 if (defined $self->{'limit'} and $self->{'rows'} >= $self->{'limit'})
384 0 200 if (defined $self->{'pagesize'} and $self->{'rows'} % $self->{'pagesize'} == 0)