Condition Coverage

blib/lib/Object/Annotate.pm
Criterion Covered Total %
condition 18 45 40.0


and 2 conditions

line l !l condition
174 0 3 $arg->{'db'}{'dsn'} && scalar $arg->{'db'}{'dsn'} =~ /SQLite/

and 3 conditions

line !l l&&!r l&&r condition
212 0 2 0 !$arg->{'extra_setup'} && exists $class_for->{$dsn} && exists $class_for->{$dsn}{$table} && $class_for->{$dsn}{$table}
411 2 0 8 defined $id and not exists $arg->{'object_id'}

or 2 conditions

line l !l condition
169 1 2 $arg->{'id_attr'} || 'id'
307 1 0 $arg->{'dsn'} or ''
400 10 0 $arg ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
145 3 0 0 $arg->{'db'}{'dsn'} ||= $self->default_dsn
146 3 0 0 $arg->{'db'}{'table'} ||= $self->default_table
148 0 0 3 $arg->{'db'}{'user'} ||= $self->default_user
149 0 0 3 $arg->{'db'}{'pass'} ||= $self->default_pass
151 0 0 3 $arg->{'db'}{'sequence'} ||= $self->_default_sequence
153 0 0 3 $arg->{'noun'} || $arg->{'verb'}
283 0 1 0 $arg->{'base_class'} ||= $class->default_base_class
342 0 9 0 $arg->{'obj_class'} || $self->moniker
399 0 10 0 $arg->{'obj_class'} || $self->moniker

xor 4 conditions

line l&&r l&&!r !l&&r !l&&!r condition
153 0 0 0 3 $arg->{'noun'} xor $arg->{'verb'}