Condition Coverage

lib/UR/DataSource/Filesystem.pm
Criterion Covered Total %
condition 57 114 50.0


and 2 conditions

line l !l condition
1624 0 10 @sorted_column_names and scalar @$insert

and 3 conditions

line !l l&&!r l&&r condition
157 0 15 3 @property_values == 1 and ref $property_values[0] eq 'ARRAY'
219 1 12 0 @property_values == 1 and ref $property_values[0] eq 'ARRAY'
300 31 9 42 @$glob_position_list and $glob_position_list->[0][0] < $path_delim_pos
385 105 0 0 ref $path and ref $path eq 'ARRAY'
411 10 3 0 $creation_param_is_list{$param} and ref $ds_data->{$param} ne 'ARRAY'
449 22 0 12 $property->is_numeric and $self->_things_in_list_are_numeric([$value])
454 1 0 1 $property->is_numeric and $self->_things_in_list_are_numeric($value)
496 0 0 0 $property->is_numeric and $self->_things_in_list_are_numeric($value)
537 0 0 0 $property->is_numeric and $self->_things_in_list_are_numeric($value)
949 0 95 8 defined $table_name and $table_name ne '__default__'
1117 109 873 1 $line and not $line =~ /$record_separator_re/
1133 109 0 0 $! and not $fh->eof
1180 132 34 6 $column_for_this_comparison_is_sorted_descending{$i} && $comparison < 0 || $comparison > 0 and $i < $sorted_columns_in_rule_count
1456 0 7 0 defined $table_name and $table_name ne '__default__'
1743 1 0 0 not ref $self and $self->isa('UR::Singleton')
1760 0 0 0 not ref $self and $self->isa('UR::Singleton')

or 2 conditions

line l !l condition
142 53 120 $prop_values_hash ||= {}
202 127 4 $prop_values_hash ||= {}
420 4 0 delete $ds_data->{'is'} || 'UR::DataSource::Filesystem'
736 79 36 $self->sorted_columns || []
907 36 0 $rule->operator_for($property_name) || '='
938 4 99 $sorted_columns_in_rule_count ||= scalar @rule_column_names_in_order
1446 6 1 $objects_for_path{$path[0][0]} ||= []
1459 6 1 $objects_for_pathname{$pathname} ||= []
1729 0 1 $self->{'__saved_uncommitted'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
68 0 0 8 $@ or not $r
369 9 103 0 $path_spec ||= $self->path
450 0 0 2 $value->[0] eq '' or $value->[1] eq ''
597 0 0 0 $operator eq '!=' or $operator eq 'ne'
639 0 0 0 $operator eq '!=' or $operator eq 'ne'
650 0 0 0 ${$_[0];} eq '' or $value eq ''
659 0 0 0 ${$_[0];} eq '' or $value eq ''
793 0 169 0 $first_table_name ||= $co->table_name
796 0 0 169 $subclassify_by ||= $co->subclassify_by
929 7 0 76 &$resolve_comparator_for_column_name($column_name) || defined $sorted_columns_in_rule_count
1134 0 0 0 $! == 11 or $! == 4
1180 1 39 132 $column_for_this_comparison_is_sorted_descending{$i} && $comparison < 0 || $comparison > 0
1305 31 0 112 exists $params{'is_descending'} && $params{'is_descending'} || exists $params{'is_ascending'} && $params{'is_ascending'}
1308 110 0 33 exists $params{'is_numeric'} && $params{'is_numeric'} || exists $params{'is_string'} && $params{'is_string'}

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
641 0 0 0 93 ${$_[0];} eq '' xor $value eq ''