Condition Coverage

blib/lib/MooX/Options/Role.pm
Criterion Covered Total %
condition 33 42 78.5


and 3 conditions

line !l l&&!r l&&r condition
33 199 154 12 $data{'repeatable'} and not defined $data{'format'}
136 142 17 9 index($arg_name_with_dash, '--') < 0 and not defined $arg_values
162 166 0 2 defined $negative and defined $original_long_option
171 18 6 144 defined $original_long_option and defined(my $arg_value = shift @ARGV)
215 2 0 30 length $left_figure and length $right_figure
251 0 0 0 &blessed($cmd) and $cmd->can('command_name')
443 14 1 17 @messages and ref $messages[-1] eq 'MooX::Options::Descriptive::Usage'
477 5 0 5 defined $usage and ref $usage
503 1 0 1 defined $usage and ref $usage

or 3 conditions

line l !l&&r !l&&!r condition
378 339 1 3 not defined $cmdline_params{$name} or $options_config{'prefer_commandline'}
413 0 5 137 $opt->h or defined $params{'h'}
417 4 22 116 $opt->help or defined $params{'help'}
421 1 2 139 $opt->man or defined $params{'man'}
425 1 0 141 $opt->usage or defined $params{'usage'}