blib/lib/Text/CSV/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 22 | 26 | 84.6 |
line | true | false | branch |
---|---|---|---|
147 | 6 | 6 | if @_ |
153 | 0 | 6 | unless my(@lines) = File::Slurp::read_file($self->_file) |
160 | 1 | 18 | if (@_) |
163 | 12 | 7 | unless $$self{'_wanted'} |
168 | 2 | 15 | if (@_) |
171 | 9 | 8 | unless $$self{'_map'} |
182 | 1 | 17 | if $@ |
183 | 0 | 17 | unless $line |
184 | 0 | 17 | unless ($csv->parse($line)) |
190 | 2 | 15 | if $@ |
191 | 3 | 12 | if (my(@wanted) = $self->want_fields) |
195 | 6 | 9 | if (my(@map) = $self->field_map) |
201 | 0 | 15 | if $@ |