Condition Coverage

blib/lib/MooX/Options/Role.pm
Criterion Covered Total %
condition 20 42 47.6


and 3 conditions

line !l l&&!r l&&r condition
33 85 3 0 $data{'repeatable'} and not defined $data{'format'}
135 31 0 0 index($arg_name_with_dash, '--') < 0 and not defined $arg_values
161 30 0 1 defined $negative and defined $original_long_option
170 6 5 20 defined $original_long_option and defined(my $arg_value = shift @ARGV)
214 0 0 0 length $left_figure and length $right_figure
250 0 0 0 &blessed($cmd) and $cmd->can('command_name')
442 11 0 7 @messages and ref $messages[-1] eq 'MooX::Options::Descriptive::Usage'
476 5 0 2 defined $usage and ref $usage
502 0 0 0 defined $usage and ref $usage

or 3 conditions

line l !l&&r !l&&!r condition
377 81 0 0 not defined $cmdline_params{$name} or $options_config{'prefer_commandline'}
412 0 2 51 $opt->h or defined $params{'h'}
416 1 17 35 $opt->help or defined $params{'help'}
420 0 0 53 $opt->man or defined $params{'man'}
424 0 0 53 $opt->usage or defined $params{'usage'}