line |
true |
false |
branch |
65
|
8 |
99 |
unless ($self->{'_regex'}) |
68
|
0 |
8 |
if ($@ or not $r) |
81
|
0 |
104 |
if ($ENV{$varname}) { } |
113
|
50 |
0 |
$thing->isa('UR::BoolExpr') ? : |
123
|
18 |
0 |
$thing->isa('UR::BoolExpr') ? : |
133
|
174 |
7 |
$thing->isa('UR::BoolExpr') ? : |
145
|
50 |
123 |
if ($string =~ /\$\{?(\w+)\}?/) { } |
148
|
0 |
50 |
unless ($subject_class_name->__meta__->property_meta_for_name($varname)) |
155
|
18 |
32 |
if ($self->__specifies_value_for($rule_or_obj, $varname)) { } |
157
|
3 |
15 |
if (@property_values == 1 and ref $property_values[0] eq 'ARRAY') |
177
|
21 |
11 |
unless $prop_values_hash->{'.__glob_positions__'} |
206
|
13 |
118 |
if ($string =~ /\&\{?(\w+)\}?/) { } |
208
|
0 |
13 |
unless ($subject_class_name->can($subname)) |
215
|
0 |
13 |
if ($@) |
219
|
0 |
13 |
if (@property_values == 1 and ref $property_values[0] eq 'ARRAY') |
242
|
4 |
2 |
$_->[0] < $subname_replacement_position ? : |
270
|
42 |
153 |
if ($string =~ m[([^/]*?[^\\/]?(\*)[^/]*)]) { } |
290
|
40 |
2 |
if ($glob_position_list->[0][0] == $glob_pos) { } |
294
|
40 |
0 |
if $path_delim_pos == -1 |
383
|
105 |
0 |
unless ($self->{'__cached_path'}) |
385
|
0 |
105 |
if (ref $path and ref $path eq 'ARRAY') { } |
410
|
13 |
19 |
if (exists $ds_data->{$param}) |
411
|
0 |
13 |
if ($creation_param_is_list{$param} and ref $ds_data->{$param} ne 'ARRAY') { } |
431
|
0 |
14 |
unless &Scalar::Util::looks_like_number($_) |
449
|
2 |
34 |
if ($operator eq 'between') { } |
|
0 |
34 |
elsif ($operator eq 'in') { } |
|
0 |
34 |
elsif ($operator eq 'not in') { } |
|
0 |
34 |
elsif ($operator eq 'like') { } |
|
0 |
34 |
elsif ($operator eq 'not like') { } |
|
12 |
22 |
elsif ($property->is_numeric and $self->_things_in_list_are_numeric([$value])) { } |
450
|
0 |
2 |
if ($value->[0] eq '' or $value->[1] eq '') |
454
|
1 |
1 |
if ($property->is_numeric and $self->_things_in_list_are_numeric($value)) { } |
455
|
0 |
1 |
if ($value->[0] > $value->[1]) |
463
|
0 |
5 |
if ${$_[0];} eq '' |
464
|
1 |
4 |
if (${$_[0];} < $value->[0]) { } |
|
0 |
4 |
elsif (${$_[0];} > $value->[1]) { } |
473
|
0 |
1 |
if ($value->[0] gt $value->[1]) |
480
|
0 |
5 |
if ${$_[0];} eq '' |
481
|
1 |
4 |
if (${$_[0];} lt $value->[0]) { } |
|
1 |
3 |
elsif (${$_[0];} gt $value->[1]) { } |
492
|
0 |
0 |
unless (@$value) |
496
|
0 |
0 |
if ($property->is_numeric and $self->_things_in_list_are_numeric($value)) { } |
501
|
0 |
0 |
if ${$_[0];} eq '' |
502
|
0 |
0 |
if (${$_[0];} < $value->[0]) { } |
|
0 |
0 |
elsif (${$_[0];} > $value->[-1]) { } |
508
|
0 |
0 |
if ${$_[0];} == $_ |
518
|
0 |
0 |
if (${$_[0];} lt $value->[0]) { } |
|
0 |
0 |
elsif (${$_[0];} gt $value->[-1]) { } |
524
|
0 |
0 |
if ${$_[0];} eq $_ |
533
|
0 |
0 |
unless (@$value) |
537
|
0 |
0 |
if ($property->is_numeric and $self->_things_in_list_are_numeric($value)) { } |
539
|
0 |
0 |
if ${$_[0];} eq '' |
541
|
0 |
0 |
if ${$_[0];} == $_ |
549
|
0 |
0 |
if ${$_[0];} eq $_ |
559
|
0 |
0 |
if $value eq '' |
571
|
0 |
0 |
if ${$_[0];} eq '' |
572
|
0 |
0 |
if (${$_[0];} =~ /$regex/) { } |
580
|
0 |
0 |
if $value eq '' |
585
|
0 |
0 |
if ${$_[0];} eq '' |
586
|
0 |
0 |
if (${$_[0];} =~ /$regex/) { } |
597
|
9 |
3 |
if ($operator eq '=') { } |
|
3 |
0 |
elsif ($operator eq '<') { } |
|
0 |
0 |
elsif ($operator eq '<=') { } |
|
0 |
0 |
elsif ($operator eq '>') { } |
|
0 |
0 |
elsif ($operator eq '>=') { } |
|
0 |
0 |
elsif ($operator eq 'true') { } |
|
0 |
0 |
elsif ($operator eq 'false') { } |
|
0 |
0 |
elsif ($operator eq '!=' or $operator eq 'ne') { } |
599
|
0 |
49 |
if ${$_[0];} eq '' |
604
|
0 |
14 |
if ${$_[0];} eq '' |
605
|
9 |
5 |
${$_[0];} < $value ? : |
609
|
0 |
0 |
if ${$_[0];} eq '' |
610
|
0 |
0 |
${$_[0];} <= $value ? : |
614
|
0 |
0 |
if ${$_[0];} eq '' |
615
|
0 |
0 |
${$_[0];} > $value ? : |
619
|
0 |
0 |
if ${$_[0];} eq '' |
620
|
0 |
0 |
${$_[0];} >= $value ? : |
624
|
0 |
0 |
${$_[0];} ? : |
628
|
0 |
0 |
${$_[0];} ? : |
632
|
0 |
0 |
if ${$_[0];} eq '' |
633
|
0 |
0 |
${$_[0];} != $value ? : |
639
|
21 |
1 |
if ($operator eq '=') { } |
|
0 |
1 |
elsif ($operator eq '<') { } |
|
0 |
1 |
elsif ($operator eq '<=') { } |
|
1 |
0 |
elsif ($operator eq '>') { } |
|
0 |
0 |
elsif ($operator eq '>=') { } |
|
0 |
0 |
elsif ($operator eq 'true') { } |
|
0 |
0 |
elsif ($operator eq 'false') { } |
|
0 |
0 |
elsif ($operator eq '!=' or $operator eq 'ne') { } |
641
|
0 |
93 |
if ${$_[0];} eq '' xor $value eq '' |
646
|
0 |
0 |
${$_[0];} lt $value ? : |
650
|
0 |
0 |
if ${$_[0];} eq '' or $value eq '' |
651
|
0 |
0 |
${$_[0];} le $value ? : |
655
|
5 |
1 |
${$_[0];} gt $value ? : |
659
|
0 |
0 |
if ${$_[0];} eq '' or $value eq '' |
660
|
0 |
0 |
${$_[0];} ge $value ? : |
664
|
0 |
0 |
${$_[0];} ? : |
668
|
0 |
0 |
${$_[0];} ? : |
672
|
0 |
0 |
${$_[0];} ne $value ? : |
683
|
0 |
0 |
unless (exists $self->{'__properties_from_path_spec'}) |
685
|
0 |
0 |
if ref $path |
715
|
13 |
103 |
unless (exists $self->{'__column_names_from_pathname'}{$pathname}) |
716
|
10 |
3 |
if (my $column_names_in_order = $self->columns) { } |
740
|
5 |
121 |
if $order_by_columns->[$i] eq '$.' |
741
|
5 |
116 |
if $order_by_columns->[$i] eq '__FILE__' |
743
|
37 |
79 |
if $i > $#$sorted_columns |
744
|
68 |
11 |
if ($sorted_columns->[$i] ne $order_by_columns->[$i]) |
764
|
0 |
169 |
unless ($inheritance_class_object->table_name) |
776
|
0 |
182 |
unless $p |
783
|
169 |
0 |
if @id_column_names |
791
|
191 |
169 |
unless $table_name |
802
|
625 |
24 |
if defined $_->column_name |
805
|
169 |
0 |
if $class_meta eq $co |
840
|
115 |
502 |
if ($column_name eq '$.') { } |
|
115 |
387 |
elsif ($column_name eq '__FILE__') { } |
882
|
38 |
45 |
if (index($_, '-') == 0) { } |
891
|
24 |
79 |
unless $self->sorted_columns |
905
|
355 |
36 |
unless $rule->specifies_value_for($property_name) |
929
|
76 |
7 |
if (not &$resolve_comparator_for_column_name($column_name) || defined $sorted_columns_in_rule_count) { } |
949
|
8 |
95 |
if (defined $table_name and $table_name ne '__default__') |
968
|
30 |
73 |
scalar @rule_column_names_in_order ? : |
972
|
2 |
34 |
ref $value_for_column{$_} eq 'ARRAY' ? : |
981
|
0 |
103 |
if (@{$query_plan->{'loading_templates'};} > 1) |
1007
|
0 |
115 |
unless ($fh) |
1023
|
1 |
387 |
unless defined $column_name |
1087
|
0 |
983 |
if ($pid != $$) |
1094
|
0 |
0 |
unless ($fh) |
1115
|
0 |
983 |
$use_quick_read ? : |
1117
|
1 |
982 |
if ($line and not $line =~ /$record_separator_re/) |
1125
|
1 |
3 |
if ($line =~ /$match_rs$/) |
1132
|
109 |
874 |
unless (defined $line) |
1133
|
0 |
109 |
if ($! and not $fh->eof) |
1134
|
0 |
0 |
if $! == 11 or $! == 4 |
1170
|
109 |
874 |
unless ($next_record) |
1180
|
6 |
166 |
if ($column_for_this_comparison_is_sorted_descending{$i} && $comparison < 0 || $comparison > 0 and $i < $sorted_columns_in_rule_count) { } |
|
97 |
69 |
elsif ($comparison) { } |
1202
|
3049 |
0 |
ref $_ ? : |
1205
|
3049 |
0 |
ref $value_for_column_name{$_} ? : |
1215
|
105 |
10 |
unless ($self->file_is_sorted_as_requested($query_plan)) |
1225
|
0 |
103 |
if (not @iterator_for_each_file) { } |
|
97 |
6 |
elsif (@iterator_for_each_file == 1) { } |
1236
|
0 |
6 |
index($_, '-') == 0 ? : |
1253
|
0 |
0 |
if $cmp |
1262
|
0 |
12 |
unless @iterator_for_each_file |
1266
|
24 |
2 |
unless (defined $next_record_for_each_file[$i]) |
1268
|
18 |
6 |
unless (defined $next_record_for_each_file[$i]) |
1272
|
6 |
12 |
unless @iterator_for_each_file |
1277
|
6 |
2 |
unless (defined $lowest_slot) |
1283
|
0 |
2 |
if ($cmp > 0) |
1309
|
31 |
112 |
if ($is_descending) { } |
1310
|
15 |
16 |
if ($is_numeric) { } |
1316
|
95 |
17 |
if ($is_numeric) { } |
1336
|
12 |
93 |
unless (@matching) |
1344
|
31 |
110 |
index($_, '-') == 0 ? : |
1353
|
31 |
110 |
if (index($col_name, '-') == 0) |
1364
|
45 |
48 |
if (@sorters == 1) { } |
1370
|
1004 |
80 |
if (my $rv = &$_(@_)) |
1403
|
0 |
1 |
if ($join_pattern eq '\\s*,\\s*') |
1420
|
0 |
1 |
unless (ref $self) |
1421
|
0 |
0 |
if ($self->isa('UR::Singleton')) { } |
1438
|
0 |
7 |
if (not @path) { } |
|
0 |
7 |
elsif (@path > 1) { } |
1456
|
0 |
7 |
if (defined $table_name and $table_name ne '__default__') |
1465
|
0 |
2 |
if (index($_, '-') == 0) { } |
1473
|
0 |
1 |
unless $self->sorted_columns |
1492
|
0 |
1 |
unless (-d $containing_directory) |
1495
|
1 |
0 |
if (-w $containing_directory) { } |
|
0 |
0 |
elsif (not -w $pathname) { } |
1512
|
1 |
2 |
if ('UR::Context'->_get_committed_property_value($obj, $prop) ne $obj->$prop) |
1538
|
2 |
5 |
if ($obj->isa('UR::Object::Ghost')) { } |
|
2 |
3 |
elsif ($obj->{'db_committed'}) { } |
1548
|
1 |
1 |
if (&$object_has_changed_sorted_column($obj)) { } |
1567
|
0 |
2 |
if (index($_, '-') == 0) { } |
1575
|
0 |
1 |
unless $self->sorted_columns |
1578
|
1 |
0 |
if (@sorted_column_names) |
1588
|
15 |
1 |
if $cmp |
1598
|
1 |
0 |
$use_quick_rename ? : |
1601
|
0 |
1 |
unless ($write_fh) |
1612
|
0 |
0 |
$use_quick_read ? : |
1619
|
8 |
3 |
unless ($line) |
1620
|
8 |
0 |
$use_quick_read ? : |
1621
|
1 |
7 |
unless defined $line |
1624
|
10 |
0 |
if (@sorted_column_names and scalar @$insert) |
1630
|
3 |
7 |
if ($cmp > 0) |
1644
|
2 |
5 |
if (my $obj = delete $delete->{$line}) { } |
|
1 |
4 |
elsif (my $changed = delete $update->{$line}) { } |
1658
|
0 |
1 |
if (keys %$delete) |
1663
|
0 |
1 |
if (keys %$update) |
1678
|
0 |
1 |
unless ($self->_set_specified_objects_saved_uncommitted($changed_objects)) |
1686
|
0 |
1 |
if (@_) { } |
1691
|
0 |
1 |
unless (rename $temp_filename, $pathname) |
1701
|
0 |
0 |
if (@_) { } |
1707
|
0 |
0 |
unless ($read_fh) |
1712
|
0 |
0 |
unless ($copy_fh) |
1725
|
1 |
0 |
$use_quick_rename ? : |
1743
|
0 |
1 |
if (not ref $self and $self->isa('UR::Singleton')) |
1747
|
1 |
0 |
if ($self->{'__saved_uncommitted'}) |
1760
|
0 |
0 |
if (not ref $self and $self->isa('UR::Singleton')) |
1764
|
0 |
0 |
if ($self->{'__saved_uncommitted'}) |