Condition Coverage

lib/Term/UI.pm
Criterion Covered Total %
condition 0 45 0.0


and 3 conditions

line !l l&&!r l&&r condition
144 0 0 0 $args->{'multi'} and defined $args->{'default'}
0 0 0 $args->{'multi'} and defined $args->{'default'} and ref $args->{'default'} ne 'ARRAY'
192 0 0 0 $prompt_add and $args->{'multi'}
204 0 0 0 $args->{'multi'} and ref $args->{'default'} eq 'ARRAY'
317 0 0 0 defined $preput and $preput eq ''
338 0 0 0 not defined $default and $VERBOSE
344 0 0 0 $multi and defined $default
357 0 0 0 $multi and defined $default
398 0 0 0 $answer =~ /^\d+$/ and @$choices < $answer
409 0 0 0 $answer > 0 and defined $$choices[$answer - 1]
423 0 0 0 scalar @$choices and not scalar @answers

or 3 conditions

line l !l&&r !l&&!r condition
398 0 0 0 $answer =~ /\D/ or $answer =~ /^\d+$/ and @$choices < $answer
423 0 0 0 @rv != @answers or scalar @$choices and not scalar @answers
483 0 0 0 $input =~ s/(?:^|\s+)--?([-\w]+=("|').+?\2)(?=\Z|\s+)// or $input =~ s/(?:^|\s+)--?([-\w]+=\S+)(?=\Z|\s+)//
0 0 0 $input =~ s/(?:^|\s+)--?([-\w]+=("|').+?\2)(?=\Z|\s+)// or $input =~ s/(?:^|\s+)--?([-\w]+=\S+)(?=\Z|\s+)// or $input =~ s/(?:^|\s+)--?([-\w]+)(?=\Z|\s+)//