Condition Coverage

blib/lib/Array/2D.pm
Criterion Covered Total %
condition 4 103 3.8


and 3 conditions

line !l l&&!r l&&r condition
139 2 0 18 not $impl and eval { do { require Ref::Util; 1 } }
281 0 0 0 2 == @_ and XXX
0 0 0 2 == @_ and XXX and &all(sub { XXX; } , @{$_[1];})
325 0 0 0 defined $blessing and $blessing eq $class
330 0 0 0 XXX and &all(sub { XXX; } , @{$rows[0];})
917 0 0 0 -@$self <= $row_idx and $row_idx <= $#{$self;}
921 0 0 0 -@{$self->[$row_idx];} <= $col_idx and $col_idx <= $#{$$self[$row_idx];}
937 0 0 0 -@$self <= $row_idx and $row_idx <= $#{$self;}
940 0 0 0 @row and not defined $row[-1]
956 0 0 0 -$width <= $col_idx and $col_idx < $width
966 0 0 0 0 <= $col_idx && $col_idx <= $#{$_;}
969 0 0 0 @col and not defined $col[-1]
989 0 0 0 -@$self <= $_ && $_ <= $#{$self;}
1062 0 0 0 -$width <= $col_idx and $col_idx < $width
1587 0 0 0 @deleted and not defined $deleted[-1]
1619 0 0 0 @deleted and not defined $deleted[-1]
1702 0 0 0 @row and not defined $row[-1]
1717 0 0 0 @col and not defined $col[-1]
1733 0 0 0 @row and not defined $row[-1]
1865 0 0 0 @{$self;} and !defined($self->[-1]) || 0 == @{$self->[-1];} || &all(sub { &$callback(); } , @{$$self[-1];})
2311 0 0 0 1 == @headers and XXX
2325 0 0 0 $substitutions and not $carped
2357 0 0 0 $substitutions and not $carped

or 2 conditions

line l !l condition
481 0 0 floor(($params{'width'} + $sepwidth) / $colwidth) || 1
554 0 0 shift() || 0
1190 0 0 shift() || 0
2028 0 0 $_ //= ''
2323 0 0 $_ //= ''

or 3 conditions

line l !l&&r !l&&!r condition
137 0 2 18 $ENV{'PERL_ARRAY_2D_NO_REF_UTIL'} || our $NO_REF_UTIL
658 0 0 0 shift() || &$filetype_from_ext_r($filespec)
1127 0 0 0 $lastrow < 0 or $self_lastrow < $firstrow
0 0 0 $lastrow < 0 or $self_lastrow < $firstrow or $lastcol < 0
0 0 0 $lastrow < 0 or $self_lastrow < $firstrow or $lastcol < 0 or $self_lastcol < $firstcol
1865 0 0 0 !defined($self->[-1]) || 0 == @{$self->[-1];} || &all(sub { &$callback(); } , @{$$self[-1];})
2111 0 0 0 shift() // (0 == $keycol ? 1 : 0)
2416 0 0 0 $params{'type'} || &$filetype_from_ext_r($output_file)