| blib/lib/Data/TableReader/Decoder/Mock.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 21 | 28 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 16 | 0 | 25 | if defined $args->{'data'} |
| 18 | 1 | 24 | if defined $args->{'table'} |
| 26 | 0 | 25 | unless ref $_[0] eq "ARRAY" |
| 27 | 1 | 24 | unless @{$_[0];} |
| 28 | 0 | 24 | unless ref $_[0][0] eq "ARRAY" |
| 29 | 1 | 23 | unless @{$_[0][0];} |
| 30 | 0 | 23 | unless ref $_[0][0][0] eq "ARRAY" |
| 31 | 0 | 23 | unless @{$_[0][0][0];} |
| 32 | 0 | 23 | unless ref $_[0][0][0][0] ne "ARRAY" |
| 41 | 27 | 1 | $table ? : |
| 46 | 29 | 95 | unless $row < $rowmax |
| 48 | 57 | 38 | if $slice |
| 96 | 6 | 0 | $table ? : |
| 97 | 2 | 4 | unless defined $row |