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];})
908 0 0 0 -@$self <= $row_idx and $row_idx <= $#{$self;}
912 0 0 0 -@{$self->[$row_idx];} <= $col_idx and $col_idx <= $#{$$self[$row_idx];}
928 0 0 0 -@$self <= $row_idx and $row_idx <= $#{$self;}
931 0 0 0 @row and not defined $row[-1]
947 0 0 0 -$width <= $col_idx and $col_idx < $width
957 0 0 0 0 <= $col_idx && $col_idx <= $#{$_;}
960 0 0 0 @col and not defined $col[-1]
980 0 0 0 -@$self <= $_ && $_ <= $#{$self;}
1053 0 0 0 -$width <= $col_idx and $col_idx < $width
1578 0 0 0 @deleted and not defined $deleted[-1]
1610 0 0 0 @deleted and not defined $deleted[-1]
1693 0 0 0 @row and not defined $row[-1]
1708 0 0 0 @col and not defined $col[-1]
1724 0 0 0 @row and not defined $row[-1]
1856 0 0 0 @{$self;} and !defined($self->[-1]) || 0 == @{$self->[-1];} || &all(sub { &$callback(); } , @{$$self[-1];})
2302 0 0 0 1 == @headers and XXX
2316 0 0 0 $substitutions and not $carped
2348 0 0 0 $substitutions and not $carped

or 2 conditions

line l !l condition
481 0 0 floor(($params{'width'} + $sepwidth) / $colwidth) || 1
545 0 0 shift() || 0
1181 0 0 shift() || 0
2019 0 0 $_ //= ''
2314 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
649 0 0 0 shift() || &$filetype_from_ext_r($filespec)
1118 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
1856 0 0 0 !defined($self->[-1]) || 0 == @{$self->[-1];} || &all(sub { &$callback(); } , @{$$self[-1];})
2102 0 0 0 shift() // (0 == $keycol ? 1 : 0)
2407 0 0 0 $params{'type'} || &$filetype_from_ext_r($output_file)