TableReader/Decoder/IdiotCSV.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond 50.0% 1 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 90.4% 19 / 21 CC 2 SCAR 3.5
CC
2
Cov
94%
_build_parser
2.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.4
« TableReader/Iterator.pm ↑ Summary TableReader/Decoder/TSV.pm »
1 package Data::TableReader::Decoder::IdiotCSV;
2 1 ▶use Moo 2;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use Log::Any '$log';
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 extends 'Data::TableReader::Decoder::CSV';
7  
8 # ABSTRACT: Access rows of a badly formatted comma-delimited text file
9 1 our $VERSION = '0.023'; # VERSION
10  
11  
12 1 ▶sub _build_parser {
Subroutine _build_parser: called CC=2 SCAR=7.2
13 1 ▶ my $args= shift->_parser_args || {};
Condition50%1/2
(shift())->_parser_args || {}
l!l
01
MC/DC0%0/1
(shift())->_parser_args || {}
(shift())->_parser_args
Truth table50%1/2
A
A= (shift())->_parser_args
Aresult
11
00
14 1 Data::TableReader::Decoder::CSV->default_csv_module->new({
15 binary => 1,
16 allow_loose_quotes => 1,
17 allow_whitespace => 1,
18 auto_diag => 1,
19 escape_char => undef,
20 %$args,
21 });
22 }
23  
24 1 1;
25  
26 __END__
« TableReader/Iterator.pm ↑ Summary TableReader/Decoder/TSV.pm »