blib/lib/ObjectDB/Meta/Relationship/OneToOne.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 11 | 81.8 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 5 | 60.0 |
pod | 0 | 2 | 0.0 |
total | 12 | 18 | 66.6 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package ObjectDB::Meta::Relationship::OneToOne; | ||||||
2 | |||||||
3 | 1 | 1 | 6 | use strict; | |||
1 | 2 | ||||||
1 | 28 | ||||||
4 | 1 | 1 | 5 | use warnings; | |||
1 | 2 | ||||||
1 | 40 | ||||||
5 | |||||||
6 | our $VERSION = '3.26'; | ||||||
7 | |||||||
8 | 1 | 1 | 4 | use base 'ObjectDB::Meta::Relationship::ManyToOne'; | |||
1 | 2 | ||||||
1 | 471 | ||||||
9 | |||||||
10 | 0 | 0 | 0 | sub type { 'one to one' } | |||
11 | 0 | 0 | 0 | sub is_multi { 0 } | |||
12 | |||||||
13 | 1; |