| line |
true |
false |
branch |
|
92
|
60 |
0 |
unless ref $self->{$attr} |
|
157
|
10 |
41 |
if ref $_[-1] |
|
161
|
0 |
51 |
unless $db_name and @primary_key |
|
179
|
0 |
2 |
if ref $_[-1] |
|
255
|
92 |
0 |
unless $kind eq "path" |
|
275
|
22 |
32 |
if @{$class_name . '::ISA';} |
|
299
|
17 |
15 |
if $joins->[0]{'primary_key'} |
|
315
|
122 |
40 |
if $from_cache |
|
326
|
1 |
38 |
if not $_ =~ /^Can't locate(?! object method)/ |
|
329
|
39 |
38 |
if ($is_loaded) |
|
351
|
66 |
0 |
unless $table =~ /::/ |
|
354
|
2 |
64 |
if $role and $role =~ /^(0|""|''|-+|none)$/ |
|
362
|
14 |
52 |
if @cols |
|
372
|
0 |
57 |
unless $initial_table and @join_items |
|
377
|
12 |
45 |
if $initial_table =~ s/\|(.+)$// |
|
378
|
1 |
56 |
unless my $table = $self->table($initial_table) |
|
384
|
12 |
44 |
if $first_join{'alias'} |
|
392
|
12 |
44 |
$first_join{'alias'} ? : |
|
401
|
16 |
92 |
if ($join_item =~ /^[<>]?=[<>=]?$/) { } |
|
402
|
0 |
16 |
if $accu{'join_kind'} |
|
430
|
0 |
92 |
unless my($source_name, $path_name, $alias) = $path_item =~ /$path_regex/ |
|
436
|
24 |
68 |
$source_name ? : |
|
437
|
2 |
90 |
unless my $path = $source_join && $source_join->{'table'}{'path'}{$path_name} |
|
442
|
74 |
16 |
unless ($accu->{'join_kind'}) |
|
444
|
15 |
35 |
$accu->{'seen_left_join'} && $self->{'sql_no_inner_after_left_join'} ? : |
|
|
24 |
50 |
$path->{'multiplicity'}[0] == 0 ? : |
|
447
|
49 |
41 |
if $accu->{'join_kind'} eq "=>" |
|
450
|
29 |
61 |
if $path->{'multiplicity'}[1] > 1 |
|
457
|
26 |
64 |
$alias ? : |
|
467
|
26 |
64 |
if $alias |
|
481
|
90 |
0 |
if ($left_col eq $right_col) { } |
|
483
|
90 |
0 |
if $new_join->{'using'} |