| blib/lib/Chemistry/File.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 16 | 27 | 59.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 419 | 1 | 0 | 3 | defined $s and length $s |
| 478 | 0 | 13 | 2 | not defined $$self{'opts'}{'gzip'} and $file =~ /.gz$/ |
| 533 | 1 | 36 | 6 | $fh and $self->mode eq '>' |
| 37 | 4 | 2 | $fh and $self->mode eq '>' and $$self{'opts'}{'gzip'} |
| line | l | !l | condition |
|---|---|---|---|
| 474 | 30 | 0 | $mode ||= '<' |
| 497 | 2 | 2 | $$self{'opts'}{'gzip'} ||= 1 |
| 534 | 2 | 0 | $$self{'opts'}{'gzip'} || 6 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 183 | 0 | 0 | 0 | ref $self || $self |
| 200 | 0 | 0 | 0 | ref $self || $self |
| 478 | 2 | 0 | 15 | $$self{'opts'}{'gzip'} or not defined $$self{'opts'}{'gzip'} and $file =~ /.gz$/ |