blib/lib/App/Zip/X.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 23 | 26.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
38 | 1 | 0 | 0 | $self->{'zip'} and $self->{'unzip'} |
63 | 0 | 1 | 0 | $self->{'xml_indent'} and $self->{'member'} =~ /\.xml$/i || $contents =~ /^<\?xml/ |
84 | 0 | 0 | 0 | $self->{'xml_indent'} and $self->{'member'} =~ /\.xml$/i || $contents =~ /^<\?xml/ |
line | l | !l | condition |
---|---|---|---|
39 | 0 | 1 | $self->{'unzip'} //= 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
33 | 1 | 0 | 0 | $self->{'archive'} //= shift @args |
34 | 1 | 0 | 0 | $self->{'member'} //= shift @args |
63 | 1 | 0 | 0 | $self->{'member'} =~ /\.xml$/i || $contents =~ /^<\?xml/ |
84 | 0 | 0 | 0 | $self->{'member'} =~ /\.xml$/i || $contents =~ /^<\?xml/ |