Condition Coverage

lib/BalanceOfPower/Relations/Role/Relation.pm
Criterion Covered Total %
condition 8 31 25.8


and 3 conditions

line !l l&&!r l&&r condition
47 0 0 184 $self->node2 eq $node and $self->bidirectional
64 0 0 0 $self->node1 eq $node and $self->bidirectional
96 0 0 0 $from and $from eq $self->node1
0 0 0 $from and $from eq $self->node2

or 2 conditions

line l !l condition
28 0 0 shift() || ''
29 0 0 shift() || ''
37 9 0 shift() || ''
38 9 0 shift() || ''
132 0 0 shift() || ''

or 3 conditions

line l !l&&r !l&&!r condition
23 32 26 74 $self->node1 eq $node || $self->node2 eq $node
31 0 0 0 $self->node1 eq $node1 && $self->node2 eq $node2 || $self->node1 eq $node2 && $self->node2 eq $node1 && $self->bidirectional
40 6 0 3 $self->node1 eq $node1 && $self->node2 eq $node2 || $self->node1 eq $node2 && $self->node2 eq $node1