blib/lib/AnyData/Storage/RAM.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 24 | 71 | 33.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
60 | 8 | 1 | 0 | ref $data eq 'ARRAY' and ref $data->[0] eq 'ARRAY' |
61 | 8 | 1 | 0 | ref $data eq 'ARRAY' and ref $data->[0] eq 'HASH' |
62 | 8 | 0 | 1 | ref $data eq 'ARRAY' and not $data_type |
66 | 9 | 0 | 0 | $self->{'records'} and not $data |
75 | 0 | 0 | 0 | ref($parser) =~ /HTMLtable/ and $url |
0 | 0 | 0 | ref($parser) =~ /HTMLtable/ and $url and $cols_supplied | |
92 | 0 | 0 | 0 | $col_names && scalar @$col_names |
3 | 0 | 0 | ref($parser) =~ /Fixed/ and not $col_names && scalar @$col_names | |
105 | 14 | 0 | 0 | $parser->{'skip_pattern'} and $line =~ /$parser->{'skip_pattern'}/ |
130 | 0 | 8 | 1 | $file and not ref $file eq 'ARRAY' |
8 | 0 | 1 | $file and not ref $file eq 'ARRAY' and not $size | |
143 | 0 | 9 | 0 | $col_names and scalar @array == 0 |
180 | 0 | 0 | 0 | $user and $pass |
191 | 0 | 0 | 0 | $parser->{'export_on_close'} and $self->{'open_mode'} ne 'r' |
line | l | !l | condition |
---|---|---|---|
23 | 9 | 0 | shift() || {} |
57 | 9 | 0 | $read_mode || 'r' |
63 | 1 | 8 | $data_type ||= 'STR' |
205 | 1 | 0 | shift() || 'r' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
54 | 7 | 0 | 2 | $parser->{'col_names'} || $self->{'col_names'} |
68 | 0 | 0 | 0 | $col_names ||= shift @$table_ary |
118 | 0 | 0 | 3 | ref($parser) =~ /Fixed|Paragraph/ or $parser->{'keep_first_line'} |
1 | 0 | 2 | ref($parser) =~ /Fixed|Paragraph/ or $parser->{'keep_first_line'} or $parser->{'col_names'} | |
173 | 0 | 0 | 0 | $self->{'user'} || $self->{'username'} |
174 | 0 | 0 | 0 | $self->{'pass'} || $self->{'password'} |
239 | 0 | 0 | 0 | $self->{'col_names'} || $parser->{'col_names'} |