blib/lib/Data/Transform/Reference.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 18 | 88.8 |
line | true | false | branch |
---|---|---|---|
81 | 0 | 6 | if @_ & 1 |
86 | 1 | 5 | unless defined $param{'serialize'} |
88 | 1 | 4 | unless ref $param{'serialize'} eq 'CODE' |
90 | 1 | 3 | unless defined $param{'deserialize'} |
92 | 1 | 2 | unless ref $param{'deserialize'} eq 'CODE' |
124 | 0 | 4 | if (length $$self[1]) |
128 | 2 | 2 | @ret ? : |
134 | 6 | 12 | if (defined $data) |
141 | 6 | 12 | if ($$self[1] =~ /^(\d+)\0/ and length $$self[1] >= $1 + length($1) + 1) |