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 | 9 | use strict; | |||
1 | 3 | ||||||
1 | 34 | ||||||
4 | 1 | 1 | 5 | use warnings; | |||
1 | 3 | ||||||
1 | 50 | ||||||
5 | |||||||
6 | our $VERSION = '3.28'; | ||||||
7 | |||||||
8 | 1 | 1 | 5 | use base 'ObjectDB::Meta::Relationship::ManyToOne'; | |||
1 | 2 | ||||||
1 | 623 | ||||||
9 | |||||||
10 | 0 | 0 | 0 | sub type { 'one to one' } | |||
11 | 0 | 0 | 0 | sub is_multi { 0 } | |||
12 | |||||||
13 | 1; |