| blib/lib/DBIx/Class/Schema/Diff/Role/Common.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 17 | 30 | 56.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 101 | 20867 | 605 | 0 | $n_ref and not $o_ref |
| 20867 | 605 | 0 | $o_ref and not $n_ref | |
| 104 | 20867 | 0 | 605 | $o_ref and $n_ref |
| 122 | 594 | 0 | 0 | scalar @$new == 0 and scalar @$old == 0 |
| 155 | 0 | 57 | 20810 | defined $old && defined $new && "$old" eq "$new" |
| 161 | 0 | 2 | 5 | $_[0] && !ref($_[0]) |
| 174 | 2 | 29 | 1 | &blessed($v) and &blessed($v) eq 'DBIx::Class::Schema::Diff::SchemaData' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 96 | 21472 | 0 | 0 | defined $old or defined $new |
| 101 | 0 | 0 | 21472 | $n_ref and not $o_ref or $o_ref and not $n_ref |
| 108 | 0 | 0 | 605 | $n_ref eq 'SCALAR' or $n_ref eq 'REF' |