lib/CLI/Framework/Application.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 36 | 27.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
223 | 2 | 8 | 0 | $cmd_pkg and exists $app->{'_registered_command_objects'} |
0 | 8 | 0 | $cmd_pkg and exists $app->{'_registered_command_objects'} and exists $app->{'_registered_command_objects'}{$cmd_pkg} | |
232 | 7 | 0 | 0 | ref $cmd and $app->is_valid_command_pkg(ref $cmd) |
0 | 0 | 0 | $app->get_interactivity_mode and $cmd eq 'menu' | |
286 | 2 | 0 | 0 | $command_name and $app->is_valid_command_name($command_name) |
643 | 0 | 0 | 0 | $command_request =~ /\S/ and not $term->Features->{'autohistory'} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
288 | 0 | 0 | 0 | $app->registered_command_object($command_name) || $app->register_command($command_name) |
297 | 1 | 1 | 0 | $usage_text ||= $app->get_default_usage |
312 | 2 | 1 | 0 | $aliases{$input} || $input |
443 | 0 | 5 | 0 | $app->registered_command_object($command_name) || $app->register_command($command_name) |
548 | 0 | 0 | 0 | $app->registered_command_object('menu') || $app->register_command('menu') |
556 | 0 | 0 | 0 | $param{'invalid_request_threshold'} || $menu_cmd->line_count |