Branch Coverage

blib/lib/Array/2D.pm
Criterion Covered Total %
branch 2 208 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))
520 0 0 if ($] lt '5.010') { }
558 0 0 unless $xlsx_filespec
566 0 0 unless (defined $workbook)
572 0 0 unless (defined $sheet)
588 0 0 if (defined $_) { }
660 0 0 unless $filetype
665 0 0 if ($filetype eq 'xlsx')
669 0 0 if ($filetype eq 'tsv')
753 0 0 unless &blessed($self)
790 0 0 unless (@{$self;})
791 0 0 if defined wantarray
804 0 0 if (defined wantarray)
866 0 0 unless @{$self;}
892 0 0 unless @{$self;}
917 0 0 unless -@$self <= $row_idx and $row_idx <= $#{$self;}
921 0 0 unless -@{$self->[$row_idx];} <= $col_idx and $col_idx <= $#{$$self[$row_idx];}
937 0 0 unless -@$self <= $row_idx and $row_idx <= $#{$self;}
956 0 0 unless -$width <= $col_idx and $col_idx < $width
960 0 0 if $col_idx < 0
966 0 0 0 <= $col_idx && $col_idx <= $#{$_;} ? :
989 0 0 -@$self <= $_ && $_ <= $#{$self;} ? :
1053 0 0 if $col_idx < 0
1062 0 0 if (-$width <= $col_idx and $col_idx < $width) { }
1104 0 0 unless $row_idx < 0
1113 0 0 unless $col < 0
1119 0 0 if $lastrow < $firstrow
1122 0 0 if $lastcol < $firstcol
1127 0 0 if ($lastrow < 0 or $self_lastrow < $firstrow or $lastcol < 0 or $self_lastcol < $firstcol)
1132 0 0 if defined wantarray
1139 0 0 if $self_lastrow < $lastrow
1140 0 0 if $firstrow < 0
1145 0 0 if $firstcol < 0
1147 0 0 if $rows_lastcol < $lastcol
1150 0 0 if defined wantarray
1192 0 0 unless @elements
1213 0 0 unless @elements
1215 0 0 if ($col_idx < -$width)
1218 0 0 if $col_idx < 0
1329 0 0 if ($#{$self;} < $row_idx) { }
1352 0 0 unless @col
1354 0 0 if ($col_idx < -$width)
1357 0 0 if $col_idx < 0
1365 0 0 if ($#{$$self[$row_idx];} < $col_idx) { }
1375 0 0 if defined wantarray
1417 0 0 if defined wantarray
1501 0 0 unless @col
1540 0 0 if (-1 == $col_idx)
1542 0 0 if defined wantarray
1551 0 0 unless (defined $row_r)
1558 0 0 if defined wantarray
1580 0 0 unless @{$self;}
1581 0 0 if $class->last_row($self) < $row_idx
1583 0 0 if (defined wantarray)
1609 0 0 if $width <= $col_idx
1611 0 0 if ($col_idx < -$width)
1614 0 0 if $col_idx < 0
1617 0 0 if (defined wantarray)
1627 0 0 if defined wantarray
1642 0 0 unless (@$self)
1643 0 0 if defined wantarray
1648 0 0 if (defined wantarray)
1657 0 0 if defined wantarray
1672 0 0 unless (@$self)
1673 0 0 if defined wantarray
1678 0 0 if (defined wantarray)
1687 0 0 if defined wantarray
1700 0 0 unless @{$self;}
1731 0 0 unless @{$self;}
1747 0 0 unless @{$self;}
1749 0 0 if -1 == $last_col
1812 0 0 unless not defined $_
1825 0 0 unless not defined $_
1857 0 0 if (defined wantarray) { }
1876 0 0 unless @{$self;}
1883 0 0 unless &$callback()
1903 0 0 if (defined wantarray) { }
1911 0 0 if (not defined $padding) { }
1959 0 0 if (defined wantarray) { }
1988 0 0 unless defined $_
2010 0 0 unless defined $_
2063 0 0 if ($col) { }
2109 0 0 if (@_) { }
2111 0 0 0 == $keycol ? :
2310 0 0 if (@headers)
2311 0 0 if (1 == @headers and XXX) { }
2325 0 0 if ($substitutions and not $carped)
2338 0 0 wantarray ? :
2357 0 0 if ($substitutions and not $carped)
2418 0 0 unless $type
2421 0 0 if ($type eq 'xlsx')
2425 0 0 if ($type eq 'tsv')
2428 0 0 if ($params{'headers'})
2484 0 0 if ($params{'headers'})
2492 0 0 unless defined $workbook
2498 0 0 if (defined $format_properties)
2505 0 0 &blessed($self) ? :
2509 0 0 if (@headers) { }