| blib/lib/PerlIO/via/gzip.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 18 | 30 | 60.0 |
| line | true | false | branch |
|---|---|---|---|
| 32 | 2 | 0 | unless (defined $self->{'inited'}) |
| 38 | 1 | 1 | if ($compress) { } |
| 45 | 0 | 1 | unless $self->{'gzip'} |
| 54 | 0 | 1 | unless $self->{'gunzip'} |
| 68 | 0 | 2 | if ($self->{'gzip'}) { } |
| 2 | 0 | elsif ($self->{'gunzip'}) { } | |
| 87 | 0 | 2006 | if ($self->{'gunzip'}) { } |
| 2006 | 0 | elsif ($self->{'gzip'}) { } | |
| 100 | 0 | 2 | unless $self->{'inited'} == 1 |
| 101 | 2 | 0 | if $fh |
| 102 | 1 | 1 | if ($self->{'gzip'}) |
| 118 | 0 | 2 | unless $self->{'inited'} |
| 119 | 1 | 1 | if ($self->{'gzip'}) { } |
| 122 | 0 | 1 | $fh ? : |
| 126 | 1 | 0 | if $fh |