| lib/BalanceOfPower/Relations/Role/Relation.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 4 | 20 | 20.0 |
| line | true | false | branch |
|---|---|---|---|
| 47 | 227 | 187 | if ($self->node1 eq $node) { } |
| 187 | 0 | elsif ($self->node2 eq $node and $self->bidirectional) { } | |
| 64 | 11 | 0 | if ($self->node2 eq $node) { } |
| 0 | 0 | elsif ($self->node1 eq $node and $self->bidirectional) { } | |
| 81 | 0 | 0 | if ($mode eq 'print') { } |
| 0 | 0 | elsif ($mode eq 'html') { } | |
| 96 | 0 | 0 | if ($from and $from eq $self->node1) { } |
| 0 | 0 | elsif ($from and $from eq $self->node2) { } | |
| 102 | 0 | 0 | if ($self->bidirectional) { } |
| 113 | 0 | 0 | if ($self->bidirectional) { } |