Condition Coverage

tools/plha
Criterion Covered Total %
condition 17 57 29.8


and 3 conditions

line !l l&&!r l&&r condition
67 0 0 3 $fullname =~ m[/] && !_is_directory($header)
70 3 0 0 _is_directory($header) and $name ne ""
3 0 0 _is_directory($header) and $name ne "" and not $name =~ m[/$]
95 2 0 202 $header->{'encoded_size'} && $header->{'original_size'}
108 1 0 4 $totals->{'encoded_size'} && $totals->{'original_size'}
140 0 0 3 $header->{'encoded_size'} && $header->{'original_size'}
151 0 0 1 $totals->{'encoded_size'} && $totals->{'original_size'}
199 0 0 0 %target and not $target{$header->pathname}
278 0 6 0 @ARGV and $ARGV[0] =~ /^w=(.+)/
310 0 0 0 %target and not $target{$header->pathname}
330 0 0 0 %target and not $target{$pathname}
349 0 0 0 -e $pathname and not $opts->{'force'}
455 14 0 0 _is_directory($header) and $name ne ""
14 0 0 _is_directory($header) and $name ne "" and not $name =~ m[/$]

or 2 conditions

line l !l condition
39 98 126 $opt_to_charset // "UTF-8"
128 3 0 $header->{'os'}[0] // "?"
456 14 0 $header->{'os'}[0] // ""
536 0 0 $header->{'unix_uid'} // 0
537 0 0 $header->{'unix_gid'} // 0
541 14 0 $header->{'os'}[1] // "generic"

or 3 conditions

line l !l&&r !l&&!r condition
338 0 0 0 -d $pathname or $opts->{'dry_run'}