Condition Coverage

blib/lib/DBIx/Class/ResultSource/RowParser.pm
Criterion Covered Total %
condition 47 62 75.8


and 3 conditions

line !l l&&!r l&&r condition
27 49 48 867 defined $pre && length $pre
100 179 54 0 $args->{'hri_style'} and not $args->{'prune_null_branches'}
184 0 223 155 $inf->{'attrs'}{'accessor'} && $inf->{'attrs'}{'accessor'} ne 'multi'
191 1 0 377 ref $cond eq 'HASH' and keys %$cond
1 0 377 ref $cond eq 'HASH' and keys %$cond and not defined &first(sub { not $_ =~ /^foreign\./; } , keys %$cond)
0 0 377 ref $cond eq 'HASH' and keys %$cond and not defined &first(sub { not $_ =~ /^foreign\./; } , keys %$cond) and not defined &first(sub { not $_ =~ /^self\./; } , values %$cond)
249 97 17 446 not $collapse_map->{'-identifying_columns'} and $my_cols
114 24 422 not $collapse_map->{'-identifying_columns'} and $my_cols and my $idset = $self->_identifying_column_set({map({$_, $my_cols->{$_}{'colinfo'};} keys %$my_cols)})
284 17 8 27 $relinfo->{$rel}{'is_single'} and $relinfo->{$rel}{'is_inner'}
310 546 0 14 not $collapse_map->{'-identifying_columns'} || $args->{'premultiplied'} and $args->{'_is_top_level'}
322 14 8 0 $relinfo->{$rel}{'is_single'} and $relinfo->{$rel}{'is_inner'}
433 35 0 97 $relinfo->{$rel}{'is_single'} && $relinfo->{$rel}{'is_inner'} && @{$collapse_map->{'-identifying_columns'};}

or 2 conditions

line l !l condition
25 612 352 $pref_path ||= []
143 223 0 eval "sub $src" || die($@)
159 392 168 $args->{'_rel_chain'} ||= [$self->source_name]
184 258 120 $inf->{'attrs'}{'join_type'} || ''
214 53 36 $my_cols->{$_} ||= {'via_fk', "$rel.$ri->{'fk_map'}{$_}"}
422 203 226 $_->{'attrs'}{'join_type'} || ''
439 0 243 $collapse_map->{$rel}{'-is_optional'} ||= 1

or 3 conditions

line l !l&&r !l&&!r condition
55 0 0 410 ref $p->{'-join_aliases'} ne 'ARRAY' or not @{$p->{'-join_aliases'};}
225 49 117 394 $args->{'_parent_info'}{'underdefined'} or $args->{'_parent_info'}{'rev_rel_is_optional'}
267 3 492 0 $my_cols->{$_}{'via_fk'} || $_
310 546 0 14 $collapse_map->{'-identifying_columns'} || $args->{'premultiplied'}