Branch Coverage

lib/File/Generator.pm
Criterion Covered Total %
branch 6 14 42.8


line true false branch
110 5 0 if ($type eq 'FASTQ') { }
0 0 elsif ($type eq 'FASTA') { }
130 0 5 unless open my $fh, '>', $filename
143 57 2943 if $nextQual > $maxQual
150 15 5 if ($numBytes < $settings->{'maxbytes'})
169 0 0 unless open my $fh, '>', $filename
180 0 0 if ($numBytes < $settings->{'maxbytes'})