lib/CLI/Framework/Application.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 36 | 33.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
221 | 2 | 0 | 8 | $cmd_pkg and exists $$app{'_registered_command_objects'} |
2 | 3 | 5 | $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) |
642 | 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') |
555 | 0 | 0 | 0 | $param{'invalid_request_threshold'} || $menu_cmd->line_count |