| blib/lib/Genealogy/Relationship.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 22 | 26 | 84.6 |
| line | true | false | branch |
|---|---|---|---|
| 158 | 1 | 4 | if $person1->id == $person2->id |
| 165 | 3 | 14 | if $anc1->id == $anc2->id |
| 208 | 17 | 13 | if (defined $self->relationship_table->{$person1->gender}[$x][$y]) { } |
| 243 | 5 | 8 | if ($x == $y) |
| 247 | 0 | 8 | if ($x == 0) |
| 251 | 5 | 3 | if ($x == 1) |
| 255 | 0 | 3 | if ($y == 0) |
| 259 | 0 | 3 | if ($y == 1) |
| 263 | 1 | 2 | if ($x > $y) { } |
| 282 | 0 | 3 | if $num == 1 |
| 283 | 1 | 2 | if $num == 2 |
| 305 | 1 | 35 | if $person1->id == $person2->id |
| 312 | 34 | 945 | if $ancestors1[$i]->id == $ancestors2[$j]->id |