Branch Coverage

blib/lib/Math/Matrix/MaybeGSL.pm
Criterion Covered Total %
branch 20 54 37.0


line true false branch
17 0 1 if $INC{'Math/GSL/Matrix.pm'}
18 0 1 if $INC{'Math/MatrixReal.pm'}
22 0 1 if eval { do { require Math::GSL; require Math::GSL::Matrix; 1 } }
29 1 0 if eval { do { require Math::MatrixReal; 1 } }
69 0 0 if (wantarray) { }
77 0 0 if (wantarray) { }
117 0 1 if $rs == 1 or $cs == 1
123 4 0 if (not $v or $v < $$m[$i - 1][$j - 1])
131 1 0 wantarray ? :
137 0 1 if $rs == 1 or $cs == 1
143 1 3 if (not $v or $v > $$m[$i - 1][$j - 1])
151 1 0 wantarray ? :
160 0 0 if @$row > $nr_rows
177 0 0 if @$col > $nr_columns
202 1 2 if ref $argument eq 'Math::Matrix::MaybeGSL'
203 3 0 if ref $object eq 'Math::Matrix::MaybeGSL'
205 1 2 if (defined $flag and $flag) { }
217 0 1 unless open my $fh, '>', $filename
226 2 2 unless $c == $cols - 1
238 0 1 unless open my $fh, '<', $filename
252 0 0 unless -f $filename
255 0 0 unless $fh
259 0 0 if $err
265 0 0 if $err
277 0 0 unless $fh
286 0 0 if $err
291 0 0 if $err