line |
true |
false |
branch |
14
|
0 |
0 |
unless ref $tab_obj |
27
|
0 |
0 |
if (@pk) |
32
|
0 |
0 |
if (defined $v) { } |
34
|
0 |
0 |
unless ($self->apply_method($cons{$k}, 0, $v)) |
47
|
0 |
0 |
if ($fnp) |
59
|
0 |
0 |
if grep {$_ eq $k;} @pk |
61
|
0 |
0 |
unless ($self->apply_method($cons{$k}, 0, $v)) |
68
|
0 |
0 |
if (exists $params{$k}) |
71
|
0 |
0 |
if (defined $v) { } |
100
|
0 |
2 |
if ($str =~ /^[^a-zA-Z_]/) |
111
|
0 |
0 |
if (@args < 2) |
113
|
0 |
0 |
if (@args == 1) |
130
|
0 |
0 |
if (not @{$alias_class . '::ISA';}) |
140
|
0 |
0 |
unless $rv->isa($alias_class) |
159
|
2 |
3 |
if (@args < 2) |
161
|
2 |
0 |
if (@args == 1) |
164
|
0 |
2 |
unless $table |
166
|
0 |
2 |
unless $meth |
177
|
0 |
3 |
unless $table |
184
|
0 |
1 |
unless $primary or $unique or $columns |
214
|
0 |
3 |
if ($group_by) { } |
229
|
7 |
0 |
unless $rv->isa($table_class) |
243
|
2 |
1 |
if $primary |
254
|
2 |
1 |
if @p |
264
|
0 |
1 |
if not %kv and scalar @p == scalar @$un |
272
|
0 |
2 |
if $seen_keys{$k} |
302
|
11 |
0 |
unless ($constraint) |
308
|
0 |
11 |
if ($match) { } |
|
0 |
11 |
elsif ($type) { } |
322
|
0 |
0 |
if ($type eq 'number') { } |
|
0 |
0 |
elsif ($type eq 'string') { } |
|
0 |
0 |
elsif ($type eq 'nullablenumber') { } |
349
|
4 |
0 |
unless $def |
369
|
0 |
1 |
if (@args < 2) |
372
|
0 |
0 |
if (@args == 1) |
375
|
0 |
0 |
unless $join |
377
|
0 |
0 |
unless $meth |
389
|
0 |
1 |
if $self->can($name) |
398
|
0 |
1 |
unless $name |
401
|
0 |
1 |
unless $ptab and $tables |
407
|
0 |
1 |
if grep {not $self->can($_);} @req_tabs |
411
|
0 |
1 |
unless $ptab_obj |
472
|
0 |
1 |
unless $tab_obj |
480
|
0 |
1 |
if ($secondary) |
483
|
0 |
0 |
unless grep {$secondary eq $_;} @tables_seen |
485
|
0 |
0 |
unless $secondary_obj |
501
|
0 |
1 |
unless grep {$k eq $_;} @use_cols |
503
|
0 |
1 |
unless grep {$join_info{$k} eq $$_{'name'};} @tab_cols |
549
|
0 |
5 |
if $tab_group_by{$$col{'name'}} |
589
|
3 |
0 |
unless $rv->isa($join_class) |
612
|
8 |
23 |
if ($pk_flag) |
618
|
0 |
0 |
unless ref $self |
619
|
0 |
0 |
if @_ |
628
|
0 |
0 |
unless ref $self |
630
|
0 |
0 |
if (@_) |
634
|
0 |
0 |
unless defined $val or defined $nval |
635
|
0 |
0 |
if (not defined $val or $nval ne $val) |
638
|
0 |
0 |
if defined $nval |