Condition Coverage

blib/lib/Term/ReadLine/Repl.pm
Criterion Covered Total %
condition 11 28 39.2


and 3 conditions

line !l l&&!r l&&r condition
272 1 0 15 exists $args->{'name'} and defined $args->{'name'}
273 1 0 14 exists $args->{'cmd_schema'} and defined $args->{'cmd_schema'}
287 8 0 4 exists $schema->{'args'} and defined $schema->{'args'}
299 6 0 2 exists $args->{'get_opts'} and defined $args->{'get_opts'}
336 0 0 0 $self->{'passthrough'} and @args
0 0 0 $self->{'passthrough'} and @args and $args[0] =~ /^\!/
360 0 0 0 defined $result and ref $result eq "HASH"
407 0 2 0 scalar @complete_words and exists $schema->{'args'}[$opt_arg_index]{$complete_words[-1]}

or 2 conditions

line l !l condition
257 7 0 $args->{'name'} // "repl"
0 7 $args->{'passthrough'} // 0