Branch Coverage

blib/lib/Data/Report/Plugin/Csv.pm
Criterion Covered Total %
branch 20 30 66.6


line true false branch
23 0 7 unless $self->get_separator
24 6 1 unless $csv_implementation
42 0 18 unless %$data
44 4 14 if ($style and my $t = $self->_getstyle($style))
45 4 0 if $$t{'ignore'}
52 0 53 unless $$data{$$_{'name'}}
66 25 22 unless $_[0]{'sep'}
104 0 8 if ($class and $class->isa('Text::CSV_XS')) { }
5 3 elsif ($class and $class->isa('Text::CSV')) { }
120 0 0 if $ENV{'AUTOMATED_TESTING'}
139 5 0 if $ENV{'AUTOMATED_TESTING'}
146 3 0 if $ENV{'AUTOMATED_TESTING'}
161 0 6 if $csv_implementation
163 4 2 if ($self->get_separator eq ',')
169 4 2 if $csv_implementation