| lib/App/SimulateReads/Role/IO.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 9 | 28 | 32.1 | 
| line | true | false | branch | 
|---|---|---|---|
| 24 | 0 | 20 | $file =~ /\.gz$/ ? : | 
| 26 | 0 | 20 | unless open $fh, $mode, $file | 
| 48 | 0 | 11 | if ($is_gzipped) { } | 
| 54 | 0 | 11 | unless open $fh, $mode, $file | 
| 79 | 0 | 860 | if /^;/ | 
| 80 | 100 | 760 | if (/^>/) { } | 
| 86 | 0 | 760 | unless defined $id | 
| 97 | 0 | 20 | unless $fh->close | 
| 120 | 0 | 0 | if /^\s*$/ | 
| 122 | 0 | 0 | unless defined $fields[0] | 
| 123 | 0 | 0 | unless defined $fields[1] | 
| 124 | 0 | 0 | unless &looks_like_number($fields[1]) | 
| 125 | 0 | 0 | if $fields[1] <= 0 | 
| 130 | 0 | 0 | unless $fh->close |