Branch Coverage

blib/lib/IO/StructuredOutput.pm
Criterion Covered Total %
branch 33 54 61.1


line true false branch
69 0 6 unless ref(my $self = shift())
72 0 6 if ($self->format eq 'xls' and length $sheetnum > 31)
77 0 6 unless ($sheetnum)
81 0 6 if ($self->sheetnames($sheetnum))
89 1 5 if ($self->format eq 'xls' and not ref $$self{'wb'})
100 3 3 unless ($self->defaultstyle)
117 0 3 unless ref(my $self = shift())
120 1 2 if ($format eq 'csv') { }
1 1 elsif ($format eq 'html') { }
1 0 elsif ($format eq 'xls') { }
150 0 39 unless ref(my $self = shift())
151 6 33 if (@_) { }
154 6 0 if ($self->_valid_output_format($newformat)) { }
169 0 12 unless ref(my $self = shift())
170 0 12 if (@_) { }
182 0 3 unless ref(my $self = shift())
185 0 3 if ($self->format eq 'xls' and not ref $$self{'wb'})
193 1 2 if ($self->format eq 'xls')
205 0 3 if $info
213 0 6 unless ref(my $self = shift())
214 6 0 if ($_[0]) { }
216 0 6 if $$self{'Sheetnames'}{$_[0]}
225 0 6 unless ref(my $self = shift())
226 6 0 if ($_[0])
236 6 0 if (ref $either) { }
247 0 2 unless ref(my $self = shift())
253 0 12 unless ref(my $self = shift())