Condition Coverage

lib/Command/Dispatch/Shell.pm
Criterion Covered Total %
condition 40 144 27.7


and 3 conditions

line !l l&&!r l&&r condition
67 1 0 0 $errors and @$errors
202 0 0 0 $meta->is_many and $n == $#names
213 20 0 0 @ARGV and not $self->_bare_shell_argument_names
239 28 0 0 exists $params_hash->{$new_key} and exists $params_hash->{$key}
292 0 0 0 @params and $params[0]
391 30 0 20 $property_meta->is_output and not $property_meta->is_input
30 0 20 $property_meta->is_output and not $property_meta->is_input and not $property_meta->is_param
392 0 20 0 $property_meta->_data_type_as_class_name->__meta__->data_source and not $property_meta->_data_type_as_class_name->isa('UR::Value')
523 55 670 0 $property_meta->can('is_param') and $property_meta->is_param || $property_meta->is_input || $property_meta->is_output
546 1 278 0 defined $property_meta->data_type and $property_meta->data_type =~ /::/
599 1 126 9 defined $property_meta->data_type and $property_meta->data_type =~ /Boolean/
624 0 0 0 defined $property_meta->data_type and $property_meta->data_type =~ /Boolean/
682 0 128 0 $type and $type eq $pattern
766 0 2 0 @results > 1 and not defined $require_user_verify
776 2 0 0 @arg_results != 1 and not defined $require_user_verify
806 0 0 0 not $pmeta->{'is_many'} and @results > 1
816 3 0 0 not $pmeta->{'is_many'} and @results > 1
847 0 2 0 $@ and not $@ =~ /Not a valid BoolExpr/
906 0 0 0 @from_classes and not @results
910 0 0 0 @methods > 1 and not $via_method
0 0 0 @methods > 1 and not $via_method and not $ENV{'UR_NO_REQUIRE_USER_VERIFY'}
923 0 0 0 $response >= 0 and $response <= $#methods
992 0 0 2 not @results and $param_class->can('name')
1006 0 0 0 $n_list > 200 and not $ENV{'UR_NO_REQUIRE_USER_VERIFY'}
1173 0 0 0 $3 and $1
0 0 0 $3 and $1 and $3 < $1
1223 0 0 0 $pos and $pos eq 'suffix'

or 2 conditions

line l !l condition
341 0 0 $set_indirectly{$via} ||= []
351 0 29 $set_indirectly{$id_by} ||= []
977 2 0 $class_meta->property_meta_for_name($id_property_names[0])->_data_type_as_class_name || ''
1059 0 0 $param->status || 'missing_status'
1124 0 0 shift() || 'yes|no'
1125 0 0 shift() || undef

or 3 conditions

line l !l&&r !l&&!r condition
32 0 0 0 $Command::entry_point_class ||= $class
33 0 0 0 $Command::entry_point_bin ||= File::Basename::basename($0)
222 2 2 25 $value eq q[''] or $value eq '""'
273 3 0 0 !exists $ENV{'UR_COMMAND_DUMP_STATUS_MESSAGES'} || $ENV{'UR_COMMAND_DUMP_STATUS_MESSAGES'}
382 0 0 0 $params->{$via} or $set_indirectly{$via}
523 282 95 293 $property_meta->is_param || $property_meta->is_input || $property_meta->is_output
546 0 0 279 $property_meta->is_delegated or defined $property_meta->data_type and $property_meta->data_type =~ /::/
557 15 0 153 $property_meta->is_input or $property_meta->is_output
565 8 0 87 $property_meta->is_input or $property_meta->is_output
676 0 19 219 not $type or $type eq $pattern
848 0 0 2 @results or $@
854 0 0 2 @results or $param_arg =~ /,/
865 2 0 0 @results or $param_arg =~ /,/
1008 0 0 0 not $response or $response eq 'x'
1077 0 0 0 lc $response eq 'h' or not $self->_validate_user_response_for_param_value_verification($response)
1126 0 0 0 shift() || $valid_values
1201 0 0 0 $3 || $1