| line |
true |
false |
branch |
|
49
|
0 |
0 |
unless $self->brik_help_run_undef_arg("encode", $data) |
|
51
|
0 |
0 |
unless $self->brik_help_run_invalid_arg("encode", $data, "ARRAY") |
|
52
|
0 |
0 |
unless $self->brik_help_run_empty_array_arg("encode", $data, "ARRAY") |
|
54
|
0 |
0 |
if (ref $data->[0] ne "HASH") |
|
64
|
0 |
0 |
unless ($header_written) |
|
82
|
0 |
0 |
unless (defined $_) |
|
93
|
0 |
0 |
unless (length $output) |
|
104
|
0 |
0 |
unless $self->brik_help_run_undef_arg("decode", $data) |
|
106
|
0 |
0 |
unless my $csv = "Text::CSV_XS"->new({"binary", 1, "sep_char", $self->separator, "allow_loose_quotes", 1, "allow_loose_escapes", 1, "escape_char", $self->escape, "quote_char", $self->quote}) |
|
123
|
0 |
0 |
if ($self->first_line_is_header) { } |
|
124
|
0 |
0 |
if ($first_line) |
|
143
|
0 |
0 |
unless ($csv->eof) |