line |
!l |
l&&!r |
l&&r |
condition |
353
|
2 |
0 |
0 |
$allow and not ref $allow |
|
10 |
0 |
1 |
$allow and not ref $allow |
|
8 |
0 |
0 |
$allow and not ref $allow |
|
4 |
0 |
2 |
$allow and not ref $allow |
|
20 |
0 |
4 |
$allow and not ref $allow |
|
0 |
0 |
2 |
$allow and not ref $allow |
|
2 |
0 |
0 |
$allow and not ref $allow |
|
7 |
0 |
1 |
$allow and not ref $allow |
|
7 |
0 |
0 |
$allow and not ref $allow |
385
|
49 |
11 |
4 |
ref $args and keys %$args |
line |
l |
!l |
condition |
54
|
2 |
5 |
shift() || '' |
62
|
58 |
5 |
$$UNQUOTED{$class} //= {} |
353
|
0 |
0 |
0 |
($s->CHECKS->{'data'} ? $s->CHECKS->{'data'}{'allow'} : '') || '' |
|
0 |
0 |
0 |
($s->CHECKS->{'disabled'} ? $s->CHECKS->{'disabled'}{'allow'} : '') || '' |
|
0 |
0 |
0 |
($s->CHECKS->{'group'} ? $s->CHECKS->{'group'}{'allow'} : '') || '' |
|
0 |
0 |
0 |
($s->CHECKS->{'group_id'} ? $s->CHECKS->{'group_id'}{'allow'} : '') || '' |
|
1 |
0 |
0 |
($s->CHECKS->{'group_name'} ? $s->CHECKS->{'group_name'}{'allow'} : '') || '' |
|
0 |
0 |
0 |
($s->CHECKS->{'id'} ? $s->CHECKS->{'id'}{'allow'} : '') || '' |
|
0 |
0 |
0 |
($s->CHECKS->{'id'} ? $s->CHECKS->{'id'}{'allow'} : '') || '' |
|
0 |
0 |
0 |
($s->CHECKS->{'id'} ? $s->CHECKS->{'id'}{'allow'} : '') || '' |
|
0 |
0 |
0 |
($s->CHECKS->{q[is' enabled]} ? $s->CHECKS->{q[is' enabled]}{'allow'} : '') || '' |
377
|
1 |
3 |
$self->CHECKS->{$key} || {} |
line |
l |
!l&&r |
!l&&!r |
condition |
54
|
6 |
2 |
5 |
$$QUOTE_IDENTIFIERS{$class} //= shift() || '' |
60
|
5 |
0 |
58 |
ref $_[0] || $_[0] |
169
|
15 |
0 |
0 |
$$SQL_CACHE{$class}{$args} || $$SQL{$class}{$args} || $$SQL{$args} || $args |
195
|
93 |
2 |
0 |
($_[1] ? $DBIx = $_[1] : $DBIx) || croak('DBIx::Simple is not instantiated. Please first do ' . $_[0] . '->dbix(DBIx::Simple->connect($DSN,$u,$p,{...})') |
210
|
16 |
1 |
0 |
Params::Check::check($class->CHECKS, $fields) || croak(Params::Check::last_error()) |
250
|
3 |
4 |
0 |
$$SQL_CACHE{$class}{'SELECT_BY_PK'} || $class->SQL('SELECT_BY_PK') |
287
|
2 |
0 |
38 |
$class->ALIASES->{$_} || $_ |
353
|
4 |
0 |
0 |
$$s{'data'}{'data'} //= $s->CHECKS->{'data'}{'default'} |
|
2 |
0 |
0 |
$$s{'data'}{'disabled'} //= $s->CHECKS->{'disabled'}{'default'} |
|
0 |
0 |
0 |
$$s{'data'}{'group'} //= $s->CHECKS->{'group'}{'default'} |
|
0 |
1 |
0 |
$$s{'data'}{'group_id'} //= $s->CHECKS->{'group_id'}{'default'} |
|
0 |
0 |
0 |
$$s{'data'}{'group_name'} //= $s->CHECKS->{'group_name'}{'default'} |
|
0 |
0 |
0 |
$$s{'data'}{'id'} //= $s->CHECKS->{'id'}{'default'} |
|
4 |
0 |
0 |
$$s{'data'}{'id'} //= $s->CHECKS->{'id'}{'default'} |
|
3 |
0 |
0 |
$$s{'data'}{'id'} //= $s->CHECKS->{'id'}{'default'} |
387
|
7 |
4 |
0 |
$self->ALIASES->{$field} || $field |
403
|
9 |
41 |
0 |
$self->ALIASES->{$args} || $args |
431
|
1 |
3 |
0 |
$$self{'SQL_UPDATE'} ||= do {
my $SET = join(', ', map({$dbh->quote_identifier($_) . '=? ';} keys %{$$self{'data'};}));
'UPDATE ' . $self->TABLE . " SET $SET WHERE $pk=?"
} |
450
|
16 |
5 |
0 |
$$SQL_CACHE{$class}{'INSERT'} || $class->SQL('INSERT') |
454
|
1 |
13 |
0 |
$$self{'data'}{$pk} ||= $self->dbh->last_insert_id(undef, undef, $self->TABLE, $pk) |