blib/lib/SQL/SqlObject.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 54 | 9.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
144 | 21 | 1 | 4 | ref $class and defined $class->$name |
176 | 0 | 8 | 14 | $SqlConfig{'ARGS'}[$arg_id][3] and $_ = $SqlConfig{$SqlConfig{'ARGS'}[$arg_id][3]} |
425 | 0 | 0 | 0 | @_ > 1 and @_ < 4 |
433 | 0 | 0 | 0 | defined $href and ref $href |
469 | 0 | 0 | 0 | @_ > 2 and @_ < 4 |
516 | 0 | 0 | 0 | @_ > 2 and @_ < 5 |
545 | 0 | 0 | 0 | @_ > 2 and @_ < 6 |
619 | 0 | 0 | 0 | @_ > 2 and @_ < 5 |
629 | 0 | 0 | 0 | defined $whref and ref $whref |
655 | 0 | 0 | 0 | $v =~ /[^0-9]/ and not $v =~ /^null$/i |
758 | 0 | 0 | 0 | ref $_[0] && UNIVERSAL::isa($_[0], 'SQL::SqlObject') |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
238 | 0 | 0 | 0 | $_[0] || $self->db_name |
252 | 0 | 0 | 0 | $self->db_name ||= $name |
253 | 0 | 0 | 0 | $self->db_dsn ||= $dsn |
254 | 0 | 0 | 0 | $self->db_name_prefix ||= $pre |
257 | 0 | 0 | 0 | defined $dsn or $dsn = $self->db_dsn |
318 | 0 | 0 | 0 | @_ < 2 or @_ > 3 |
524 | 0 | 0 | 0 | $column ||= join('_', $table, 'id') |