Branch Coverage

blib/lib/Array/2D.pm
Criterion Covered Total %
branch 2 206 0.9


line true false branch
139 18 2 if (not $impl and eval { do { require Ref::Util; 1 } }) { }
281 0 0 if (2 == @_ and XXX and &all(sub { XXX; } , @{$_[1];}))
319 0 0 if (0 == @rows)
323 0 0 if (1 == @rows)
325 0 0 if (defined $blessing and $blessing eq $class)
330 0 0 if (XXX and &all(sub { XXX; } , @{$rows[0];}))
337 0 0 if (&any(sub { not XXX; } , @rows))
549 0 0 unless $xlsx_filespec
557 0 0 unless (defined $workbook)
563 0 0 unless (defined $sheet)
579 0 0 if (defined $_) { }
651 0 0 unless $filetype
656 0 0 if ($filetype eq 'xlsx')
660 0 0 if ($filetype eq 'tsv')
744 0 0 unless &blessed($self)
781 0 0 unless (@{$self;})
782 0 0 if defined wantarray
795 0 0 if (defined wantarray)
857 0 0 unless @{$self;}
883 0 0 unless @{$self;}
908 0 0 unless -@$self <= $row_idx and $row_idx <= $#{$self;}
912 0 0 unless -@{$self->[$row_idx];} <= $col_idx and $col_idx <= $#{$$self[$row_idx];}
928 0 0 unless -@$self <= $row_idx and $row_idx <= $#{$self;}
947 0 0 unless -$width <= $col_idx and $col_idx < $width
951 0 0 if $col_idx < 0
957 0 0 0 <= $col_idx && $col_idx <= $#{$_;} ? :
980 0 0 -@$self <= $_ && $_ <= $#{$self;} ? :
1044 0 0 if $col_idx < 0
1053 0 0 if (-$width <= $col_idx and $col_idx < $width) { }
1095 0 0 unless $row_idx < 0
1104 0 0 unless $col < 0
1110 0 0 if $lastrow < $firstrow
1113 0 0 if $lastcol < $firstcol
1118 0 0 if ($lastrow < 0 or $self_lastrow < $firstrow or $lastcol < 0 or $self_lastcol < $firstcol)
1123 0 0 if defined wantarray
1130 0 0 if $self_lastrow < $lastrow
1131 0 0 if $firstrow < 0
1136 0 0 if $firstcol < 0
1138 0 0 if $rows_lastcol < $lastcol
1141 0 0 if defined wantarray
1183 0 0 unless @elements
1204 0 0 unless @elements
1206 0 0 if ($col_idx < -$width)
1209 0 0 if $col_idx < 0
1320 0 0 if ($#{$self;} < $row_idx) { }
1343 0 0 unless @col
1345 0 0 if ($col_idx < -$width)
1348 0 0 if $col_idx < 0
1356 0 0 if ($#{$$self[$row_idx];} < $col_idx) { }
1366 0 0 if defined wantarray
1408 0 0 if defined wantarray
1492 0 0 unless @col
1531 0 0 if (-1 == $col_idx)
1533 0 0 if defined wantarray
1542 0 0 unless (defined $row_r)
1549 0 0 if defined wantarray
1571 0 0 unless @{$self;}
1572 0 0 if $class->last_row($self) < $row_idx
1574 0 0 if (defined wantarray)
1600 0 0 if $width <= $col_idx
1602 0 0 if ($col_idx < -$width)
1605 0 0 if $col_idx < 0
1608 0 0 if (defined wantarray)
1618 0 0 if defined wantarray
1633 0 0 unless (@$self)
1634 0 0 if defined wantarray
1639 0 0 if (defined wantarray)
1648 0 0 if defined wantarray
1663 0 0 unless (@$self)
1664 0 0 if defined wantarray
1669 0 0 if (defined wantarray)
1678 0 0 if defined wantarray
1691 0 0 unless @{$self;}
1722 0 0 unless @{$self;}
1738 0 0 unless @{$self;}
1740 0 0 if -1 == $last_col
1803 0 0 unless not defined $_
1816 0 0 unless not defined $_
1848 0 0 if (defined wantarray) { }
1867 0 0 unless @{$self;}
1874 0 0 unless &$callback()
1894 0 0 if (defined wantarray) { }
1902 0 0 if (not defined $padding) { }
1950 0 0 if (defined wantarray) { }
1979 0 0 unless defined $_
2001 0 0 unless defined $_
2054 0 0 if ($col) { }
2100 0 0 if (@_) { }
2102 0 0 0 == $keycol ? :
2301 0 0 if (@headers)
2302 0 0 if (1 == @headers and XXX) { }
2316 0 0 if ($substitutions and not $carped)
2329 0 0 wantarray ? :
2348 0 0 if ($substitutions and not $carped)
2409 0 0 unless $type
2412 0 0 if ($type eq 'xlsx')
2416 0 0 if ($type eq 'tsv')
2419 0 0 if ($params{'headers'})
2475 0 0 if ($params{'headers'})
2483 0 0 unless defined $workbook
2489 0 0 if (defined $format_properties)
2496 0 0 &blessed($self) ? :
2500 0 0 if (@headers) { }