Condition Coverage

blib/lib/DBIx/Class/Schema/Diff/Filter.pm
Criterion Covered Total %
condition 64 71 90.1


and 3 conditions

line !l l&&!r l&&r condition
48 0 0 520 $newd->{$s_name} and $newd->{$s_name}{'_event'}
0 94 426 $newd->{$s_name} and $newd->{$s_name}{'_event'} and $newd->{$s_name}{'_event'} eq 'changed'
94 301 125 $newd->{$s_name} and $newd->{$s_name}{'_event'} and $newd->{$s_name}{'_event'} eq 'changed' and scalar keys %{$$newd{$s_name};} == 1
62 520 500 201 $type ne '_event' and $self->skip_type($s_name, $type)
97 201 32 47 $check && ref $check eq 'HASH'
112 14 201 65 not $globmatch and $self->_should_skip_info_item($type, $s_name, $name, $items->{$name})
148 0 16 35 $val and ref $val eq 'HASH'
16 23 12 $val and ref $val eq 'HASH' and ref $set eq 'HASH'
39 0 12 $val and ref $val eq 'HASH' and ref $set eq 'HASH' and scalar keys %$val > 0
170 981 1 7 $h && !$h->{$key}
216 43 0 $h && $h->{$key}
184 72 41 4 $set && !ref($set)
199 73 26 16 $set && !ref($set)
218 126 3 11 $set && !ref($set)
230 2773 0 607 $ret and not ref $ret

or 2 conditions

line l !l condition
177 433 286 $self->test_path($s_name) || 0

or 3 conditions

line l !l&&r !l&&!r condition
38 178 21 520 $self->skip_source($s_name) or $self->_is_skip('source_events', $h->{'_event'})
64 93 98 829 $type eq 'columns' or $type eq 'relationships'
191 147 682 $type eq 'columns' or $type eq 'relationships' or $type eq 'constraints'
110 47 14 219 $check && ref $check eq 'HASH' || $globmatch
196 298 59 185 $set || $self->test_leaf_path($s_name)
213 200 146 139 $set || $self->test_leaf_path($s_name) || $self->test_leaf_path($s_name, $type)
224 310 715 1449 $self->test_leaf_path(@path) || $self->match->lookup_path(@path)
229 551 56 2773 $self->match->lookup_leaf_path(@path) || $self->match->lookup_path_globmatch(@path)