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 } }
71 0 0 if (wantarray) { }
79 0 0 if (wantarray) { }
119 0 1 if $rs == 1 or $cs == 1
125 4 0 if (not $v or $v < $$m[$i - 1][$j - 1])
133 1 0 wantarray ? :
139 0 1 if $rs == 1 or $cs == 1
145 1 3 if (not $v or $v > $$m[$i - 1][$j - 1])
153 1 0 wantarray ? :
162 0 0 if @$row > $nr_rows
179 0 0 if @$col > $nr_columns
204 1 2 if ref $argument eq 'Math::Matrix::MaybeGSL'
205 3 0 if ref $object eq 'Math::Matrix::MaybeGSL'
207 1 2 if (defined $flag and $flag) { }
219 0 1 unless open my $fh, '>', $filename
228 2 2 unless $c == $cols - 1
240 0 1 unless open my $fh, '<', $filename
254 0 0 unless -f $filename
257 0 0 unless $fh
261 0 0 if $err
267 0 0 if $err
279 0 0 unless $fh
288 0 0 if $err
293 0 0 if $err