Condition Coverage

blib/lib/MooX/Options/Role.pm
Criterion Covered Total %
condition 42 51 82.3


and 3 conditions

line !l l&&!r l&&r condition
33 191 153 12 $data{'repeatable'} and not defined $data{'format'}
69 303 52 1 $data{'short'} and exists $$options_data{$data{'short'}}
72 303 51 1 $data{'short'} and defined $all_options{$data{'short'}}
118 133 17 7 index($arg_name_with_dash, '--') < 0 and not defined $arg_values
144 155 0 2 defined $negative and defined $original_long_option
153 11 6 140 defined $original_long_option and defined(my $arg_value = shift @ARGV)
197 2 0 29 length $left_figure and length $right_figure
233 0 0 0 &blessed($cmd) and $cmd->can('command_name')
425 14 1 16 @messages and ref $messages[-1] eq 'MooX::Options::Descriptive::Usage'
459 5 0 5 defined $usage and ref $usage
485 1 0 1 defined $usage and ref $usage

or 3 conditions

line l !l&&r !l&&!r condition
80 357 995 1753 exists $options_data->{$long_short} or defined $all_options{$long_short}
360 331 1 3 not defined $cmdline_params{$name} or $options_config{'prefer_commandline'}
395 0 5 134 $opt->h or defined $params{'h'}
399 4 22 113 $opt->help or defined $params{'help'}
403 1 2 136 $opt->man or defined $params{'man'}
407 1 0 138 $opt->usage or defined $params{'usage'}