Condition Coverage

blib/lib/SQL/Translator/Parser/DBIx/Class.pm
Criterion Covered Total %
condition 33 46 71.7


and 3 conditions

line !l l&&!r l&&r condition
60 17 4 2 ref $args->{'dbic_schema'} and $args->{'dbic_schema'}->storage
164 784 41 41 exists $args->{'add_fk_index'} && !$args->{'add_fk_index'}
210 0 127 655 $rel_info->{'attrs'}{'accessor'} and $rel_info->{'attrs'}{'accessor'} eq 'multi'
229 503 1376 934 defined $otherrelationship and $otherrelationship->{'attrs'}{$c eq 'update' ? 'cascade_copy' : 'cascade_delete'}
258 21 42 572 not $is_deferrable and $rel_table ne $table_name
318 21 845 0 $schema->get_table($table) and $table =~ /^ \s* \( \s* SELECT \s+/xi
396 1920 0 22 &blessed($question) and $question->isa('DBIx::Class::ResultSource::View')
413 1054 0 0 &blessed($question) and $question->isa('DBIx::Class::ResultSource::View')

or 2 conditions

line l !l condition
76 0 23 $dbicschema->schema_version || '1.x'
81 1 0 ref $limit_sources || ''
272 508 127 $cascade->{'delete'} || ''
423 212 $cascade->{'update'} || ''
391 1054 888 $seen ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
40 17 3 3 $data || $args->{'dbic_schema'}
82 1 0 0 $ref eq 'ARRAY' or ref $_ eq 'HASH'
140 2814 0 0 $table->add_field(%colinfo) || $dbicschema->throw_exception($table->error)
368 20 0 0 $schema->add_view('name', $view_name, 'fields', [$source->columns], $source->view_definition ? ('sql', $source->view_definition) : ()) || $dbicschema->throw_exception($schema->error)