line |
true |
false |
branch |
155
|
3 |
65 |
if (defined $arguments->{'_chain'})
|
157
|
0 |
3 |
unless defined &blessed($object) and $object->isa("ETL::Pipeline")
|
161
|
2 |
1 |
if defined $object->_work_in
|
162
|
2 |
1 |
if defined $object->_data_in
|
169
|
60 |
8 |
if (defined $arguments->{'work_in'})
|
171
|
60 |
0 |
ref $values eq '' ? :
|
173
|
2 |
66 |
if (defined $arguments->{'data_in'})
|
175
|
2 |
0 |
ref $values eq '' ? :
|
180
|
60 |
8 |
if (defined $arguments->{'input'})
|
182
|
29 |
31 |
ref $values eq '' ? :
|
184
|
60 |
8 |
if (defined $arguments->{'output'})
|
186
|
58 |
2 |
ref $values eq '' ? :
|
190
|
0 |
68 |
if (defined $arguments->{'aliases'})
|
191
|
0 |
0 |
if (ref $arguments->{'aliases'} eq 'ARRAY') { }
|
244
|
1 |
79 |
if ($self->_alias_cache_built)
|
248
|
0 |
0 |
unless exists $cache->{'alias'}
|
280
|
0 |
3 |
if (defined $arguments) { }
|
331
|
0 |
0 |
if (scalar @pairs == 1 and ref $pairs[0] eq 'HASH') { }
|
|
0 |
0 |
elsif (scalar @pairs) { }
|
368
|
4 |
83 |
if (scalar @_) { }
|
369
|
0 |
4 |
unless defined $self->_work_in
|
372
|
4 |
0 |
if (hascontent($name)) { }
|
381
|
0 |
4 |
unless defined $match
|
425
|
61 |
138 |
if scalar @_
|
492
|
0 |
118 |
if (scalar @pairs == 1 and ref $pairs[0] eq 'HASH') { }
|
|
0 |
118 |
elsif (scalar @pairs) { }
|
583
|
61 |
74 |
if scalar @_
|
605
|
0 |
52 |
unless $success
|
712
|
6 |
9 |
if (scalar @_ > 1) { }
|
|
9 |
0 |
elsif (scalar @_ == 1) { }
|
720
|
0 |
9 |
if (ref $key eq 'HASH') { }
|
|
1 |
8 |
elsif (wantarray) { }
|
724
|
1 |
0 |
if (ref $result eq 'ARRAY') { }
|
|
0 |
0 |
elsif (ref $result eq 'HASH') { }
|
788
|
61 |
78 |
if (scalar @_ == 1) { }
|
|
5 |
73 |
elsif (scalar @_ > 1) { }
|
796
|
5 |
0 |
if (scalar %options) { }
|
800
|
0 |
5 |
unless $@ eq ""
|
804
|
0 |
5 |
unless defined $match
|
817
|
66 |
68 |
if (defined $new and $new->is_relative) { }
|
927
|
460 |
0 |
unless (defined $record)
|
934
|
100 |
360 |
if (ref $field eq 'CODE') { }
|
946
|
89 |
271 |
if ($check_alias and $full)
|
948
|
41 |
48 |
unless ($self->_alias_cache_built)
|
952
|
66 |
4 |
unless exists $cache->{$alias}
|
970
|
456 |
4 |
scalar @$found <= 1 ? :
|
980
|
4 |
426 |
if (ref $field eq 'Regexp') { }
|
|
239 |
187 |
elsif ($field =~ /^\d+$/u) { }
|
|
85 |
102 |
elsif (not $field =~ m[^/]u) { }
|
981
|
4 |
0 |
if ref $alias eq "SCALAR"
|
984
|
169 |
70 |
if ref $alias eq "SCALAR"
|
987
|
85 |
0 |
if ref $alias eq "SCALAR"
|
990
|
102 |
0 |
if ref $alias eq "SCALAR"
|
1058
|
10239 |
471 |
/HASH/u ? :
|
1065
|
4 |
115 |
if defined $code
|
1066
|
1 |
118 |
unless ($continue)
|
1078
|
11 |
107 |
if ($self->has_constants)
|
1088
|
0 |
278 |
if (ref $from eq "ARRAY")
|
1094
|
261 |
17 |
if (ref $values eq '') { }
|
|
17 |
0 |
elsif (ref $values eq 'ARRAY') { }
|
1096
|
21 |
0 |
if defined $_
|
1097
|
13 |
4 |
if (defined $invalid) { }
|
1103
|
4 |
0 |
if (scalar @usable) { }
|
1166
|
52 |
246 |
if ($type eq 'START') { }
|
|
51 |
195 |
elsif ($type eq 'END') { }
|
|
118 |
77 |
elsif ($type eq 'STATUS') { }
|
1174
|
0 |
118 |
unless $count % 50
|
1179
|
77 |
0 |
if (hascontent($source)) { }
|
1230
|
6 |
8 |
ref $field eq 'SCALAR' ? :
|
1231
|
8 |
6 |
if (hascontent($value))
|
1327
|
0 |
29 |
if (ref $current eq 'ARRAY') { }
|
1338
|
0 |
29 |
if (scalar @values == 1 and ref $values[0] eq 'ARRAY') { }
|
1345
|
29 |
0 |
if ref $_ eq ""
|
1419
|
4 |
82 |
if (ref $conditional eq 'CODE') { }
|
1433
|
56 |
90 |
if (ref $name eq 'ARRAY') { }
|
1440
|
146 |
0 |
unless ref $values eq "ARRAY"
|
1441
|
12 |
134 |
if (defined $conditional) { }
|
1444
|
2 |
10 |
if (&$conditional($_)) { }
|
1452
|
2 |
144 |
if $stop
|
1456
|
22 |
64 |
if (ref $seperator eq 'SCALAR') { }
|
1457
|
14 |
8 |
if (&any(sub {
|
1495
|
1 |
7 |
if (ref $value ne 'HASH') { }
|
|
0 |
7 |
elsif (not defined $field) { }
|
|
1 |
6 |
elsif (ref $field eq 'SCALAR') { }
|
1500
|
6 |
0 |
if (hascontent($key)) { }
|
1504
|
1 |
4 |
ref $value eq 'ARRAY' ? :
|
1539
|
2 |
14 |
ref $_[0] eq 'SCALAR' ? :
|
1548
|
8 |
30 |
if (ref $item eq 'ARRAY') { }
|
1549
|
2 |
6 |
if ref $item->[0] eq "SCALAR"
|
1667
|
0 |
16 |
if (ref $field eq "ARRAY")
|
1672
|
0 |
16 |
if ref $value eq "ARRAY"
|
1680
|
0 |
18 |
if (scalar @location == 0) { }
|
|
12 |
6 |
elsif (scalar @location == 1) { }
|
|
2 |
4 |
elsif (scalar @location == 2) { }
|
1683
|
10 |
2 |
$location[0] > 0 ? :
|
1687
|
2 |
0 |
if (hascontent($location[1])) { }
|
1695
|
2 |
2 |
if (hascontent($location[1])) { }
|
1757
|
3 |
64 |
if (not defined $self->_work_in) { }
|
|
4 |
60 |
elsif (not defined $self->_input) { }
|
|
2 |
58 |
elsif (not defined $self->_output) { }
|
|
2 |
56 |
elsif (not $self->has_mapping || $self->has_constants) { }
|
1767
|
58 |
9 |
if (wantarray) { }
|
1768
|
4 |
54 |
defined $error ? :
|
1770
|
7 |
2 |
defined $error ? :
|
1823
|
0 |
122 |
if scalar @arguments == 1 and ref $arguments[0] eq "ARRAY"
|
1829
|
11 |
111 |
if (substr($class, 0, 1) eq '+') { }
|
1833
|
111 |
0 |
if substr($class, 0, length $base) ne $base
|
1840
|
0 |
122 |
unless defined $object
|