Condition Coverage

blib/lib/Getopt/Complete/Args.pm
Criterion Covered Total %
condition 2 47 4.2


and 3 conditions

line !l l&&!r l&&r condition
111 0 1 0 @ARGV and my $delegate = $self->options->completion_handler(">" . $ARGV[0])
122 0 1 0 not $retval and @errors == 0
189 0 0 0 $name eq "<>" and not $spec
205 0 0 0 defined $completions && ref $completions eq 'ARRAY'
246 0 0 0 $current eq "" and not $self->sub_commands
0 0 0 $current eq "" and not $self->sub_commands and not $self->options->has_option("<>")
276 0 0 0 $show_negative_booleans && $boolean{$_} && !(substr($_, 0, 3) eq 'no-')
281 0 0 0 defined $self->value($_) && !($self->option_spec($_) =~ /@/)
285 0 0 0 %boolean and not $show_negative_booleans
294 0 0 0 !@possibilities || @possibilities == 1 and length $current >= $possibilities[0]
311 0 0 0 $resolve_values_for_option_name and not $self->sub_commands
313 0 0 0 defined $handler and not ref $handler eq "ARRAY"

or 2 conditions

line l !l condition
134 0 0 $values{'<>'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
205 0 0 0 not defined $completions && ref $completions eq 'ARRAY' or @$completions == 0
246 0 0 0 $current =~ /^(-+)/ or $current eq "" and not $self->sub_commands and not $self->options->has_option("<>")
294 0 0 0 !@possibilities || @possibilities == 1