Branch Coverage

blib/lib/Data/Report/Plugin/Csv.pm
Criterion Covered Total %
branch 16 30 53.3


line true false branch
22 0 8 unless $self->get_separator
23 6 2 unless $csv_implementation
41 0 19 unless %$data
43 4 15 if ($style and my $t = $self->_getstyle($style))
44 4 0 if $t->{'ignore'}
53 0 57 unless $$data{$_->{'name'}}
65 30 14 unless $_[0]{'sep'}
103 8 1 if ($class and $class->isa('Text::CSV_XS')) { }
0 1 elsif ($class and $class->isa('Text::CSV')) { }
120 8 0 if $ENV{'AUTOMATED_TESTING'}
139 0 0 if $ENV{'AUTOMATED_TESTING'}
146 1 0 if $ENV{'AUTOMATED_TESTING'}
160 6 0 if $csv_implementation
162 0 0 if ($self->get_separator eq ',')
168 0 0 if $csv_implementation