blib/lib/Object/Annotate.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 45 | 42.2 |
line | l | !l | condition |
---|---|---|---|
77 | 0 | 3 | $$arg{'db'}{'dsn'} && scalar $$arg{'db'}{'dsn'} =~ /SQLite/ |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
101 | 1 | 0 | 2 | !$$arg{'extra_setup'} && exists $$class_for{$dsn} && exists $$class_for{$dsn}{$table} && $$class_for{$dsn}{$table} |
239 | 2 | 0 | 8 | defined $id and not exists $$arg{'object_id'} |
line | l | !l | condition |
---|---|---|---|
69 | 1 | 2 | $$arg{'id_attr'} || 'id' |
164 | 1 | 0 | $$arg{'dsn'} or '' |
228 | 10 | 0 | $arg ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
51 | 3 | 0 | 0 | $$arg{'db'}{'dsn'} ||= $self->default_dsn |
52 | 3 | 0 | 0 | $$arg{'db'}{'table'} ||= $self->default_table |
54 | 0 | 0 | 3 | $$arg{'db'}{'user'} ||= $self->default_user |
55 | 0 | 0 | 3 | $$arg{'db'}{'pass'} ||= $self->default_pass |
57 | 0 | 0 | 3 | $$arg{'db'}{'sequence'} ||= $self->_default_sequence |
59 | 0 | 0 | 3 | $$arg{'noun'} || $$arg{'verb'} |
140 | 0 | 1 | 0 | $$arg{'base_class'} ||= $class->default_base_class |
184 | 0 | 9 | 0 | $$arg{'obj_class'} || $self->moniker |
227 | 0 | 10 | 0 | $$arg{'obj_class'} || $self->moniker |
line | l&&r | l&&!r | !l&&r | !l&&!r | condition |
---|---|---|---|---|---|
59 | 0 | 0 | 0 | 3 | $$arg{'noun'} xor $$arg{'verb'} |