Condition Coverage

blib/lib/Getopt/Long/Util.pm
Criterion Covered Total %
condition 27 46 58.7


and 3 conditions

line !l l&&!r l&&r condition
212 15 1 2 $parse->{'is_neg'} and length $_ > 1
223 6 10 0 $i == 1 and $parse->{'type'} || $parse->{'opttype'}
230 0 5 3 $parse->{'type'} && $parse->{'desttype'} eq '%'
236 0 5 3 $parse->{'type'} && $parse->{'desttype'} eq '%'
463 1 2 1 @$go_spec and ref $go_spec->[0] eq "HASH"
469 0 4 5 @$go_spec and ref $go_spec->[0]

or 2 conditions

line l !l condition
225 2 6 $opts->{'key_label'} // "key"
241 9 7 $parse->{'desttype'} // ""
242 9 7 $parse->{'desttype'} // ""
245 0 6 $opts->{'separator'} // ", "
246 0 6 $opts->{'separator'} // ", "
306 0 0 $args{'include_noexec'} // 1

or 3 conditions

line l !l&&r !l&&!r condition
223 8 0 2 $parse->{'type'} || $parse->{'opttype'}
227 3 5 0 $opts->{'value_label'} // $parse->{'type'}
5 0 0 ($opts->{'value_label'} // $parse->{'type'}) // $parse->{'opttype'}
321 0 0 0 $include_noexec or -x _

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
304 0 0 0 0 defined $args{'filename'} xor defined $args{'string'}