blib/lib/DBIx/Class/Schema/Diff.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 21 | 47.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
25 | 0 | 0 | 0 | $_[0] and &try(sub { $_[0]->isa('DBIx::Class::Schema::Diff'); } ) || $_[0] eq 'DBIx::Class::Schema::Diff' |
81 | 19 | 5 | 52 | $Filter->mode eq 'limit' and not $Filter->empty_match |
120 | 0 | 29 | 98 | $_ && !ref($_) |
122 | 18 | 0 | 0 | $one && $two && $one ne '*' && $one =~ /\*/ && ($two eq 'columns' || $two eq 'relationships' || $two eq 'constraints') |
136 | 13 | 7 | 0 | exists $n->{'match'}{$_} and $n->{$_} = delete $n->{'match'}{$_} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
25 | 0 | 0 | 0 | &try(sub { $_[0]->isa('DBIx::Class::Schema::Diff'); } ) || $_[0] eq 'DBIx::Class::Schema::Diff' |
127 | 66 | 0 | 29 | scalar @args > 1 || !ref($args[0]) || ref $args[0] ne 'HASH' |