Condition Coverage

lib/UR/DataSource/File.pm
Criterion Covered Total %
condition 53 101 52.4


and 2 conditions

line l !l condition
1061 0 4 $sort_order_names and $file_is_sorted and scalar @$insert
1110 0 16 $file_is_sorted and scalar @$insert

and 3 conditions

line !l l&&!r l&&r condition
194 282 0 0 $cache->[$next] and $next != $last_offset_cache_slot
230 203 169 0 $$cache[$cache_slot + 1] and scalar @{$$cache[$cache_slot + 1];} == 0
266 49 163 0 $propertys_column_name and exists $column_to_position_map{$propertys_column_name}
332 23 39 185 $property->is_numeric and $self->_things_in_list_are_numeric([$value])
337 0 0 16 $property->is_numeric and $self->_things_in_list_are_numeric($value)
379 0 4 8 $property->is_numeric and $self->_things_in_list_are_numeric($value)
420 2 4 4 $property->is_numeric and $self->_things_in_list_are_numeric($value)
575 1318 188 0 ref $_ eq 'HASH' and exists $_->{'value'}
615 229 130 0 $looking_for_sort_columns and $sort_column_names{$column_name}
657 2138 0 1205 defined $offset_cache->[$i] and defined $$offset_cache[$i + 1]
674 5 0 10 $matched and $$offset_cache[$i + 1] > $file_pos
723 594 0 0 $monitor_start_time and not $monitor_printed_first_fetch
807 635 45 121 $comparison > 0 and $i <= $last_sort_column_in_rule
842 0 224 0 not $printed_first_match and $monitor_start_time
870 0 0 372 defined $cache_slot_ref and defined $$cache_slot_ref
881 2 0 366 $count == 0 and $ds->has_default_handle
908 3 4 0 $creation_param_is_list{$param} and ref $ds_data->{$param} ne 'ARRAY'
1061 0 0 4 $sort_order_names and $file_is_sorted

or 2 conditions

line l !l condition
689 0 0 $operators_for_properties->{$column_name} || '='
701 336 36 $self->{'_last_read_serial'} ||= ''
854 2 370 $self->_open_query_count || 0

or 3 conditions

line l !l&&r !l&&!r condition
131 0 0 26 $@ or not $r
198 0 0 282 $next > $MAX_CACHE_SIZE or $next eq $last_offset_cache_slot
333 16 12 16 $value->[0] eq '' or $value->[1] eq ''
480 6 0 0 $operator eq '!=' or $operator eq 'ne'
522 0 0 0 $operator eq '!=' or $operator eq 'ne'
533 16 0 0 $$next_candidate_row->[$index] eq '' or $value eq ''
542 16 0 0 $$next_candidate_row->[$index] eq '' or $value eq ''
596 1096 0 0 $prop or $WARNED_ABOUT_COLUMN{$class_name . '::' . $column_name}++
764 0 0 0 $! == 11 or $! == 4
903 0 0 2 $ds_data->{'path'} || $ds_data->{'file'}
0 1 1 $ds_data->{'server'} ||= $ds_data->{'path'} || $ds_data->{'file'}

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
524 4 0 0 116 $$next_candidate_row->[$index] eq '' xor $value eq ''