Condition Coverage

blib/lib/App/Zip/X.pm
Criterion Covered Total %
condition 6 23 26.0


and 3 conditions

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/

or 2 conditions

line l !l condition
39 0 1 $self->{'unzip'} //= 1

or 3 conditions

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/