Branch Coverage

blib/lib/Farly/Object/Set.pm
Criterion Covered Total %
branch 33 48 68.7


line true false branch
18 0 11 unless defined $object
21 0 11 unless $object->isa('Farly::Object')
38 3 1 if ($other->isa('Farly::Object::Set'))
40 1 2 if ($self->size != $other->size)
47 3 2 if ($s->equals($o))
51 0 3 unless ($match)
63 2 0 if ($other->isa('Farly::Object::Set'))
68 2 1 if ($s->contains($o))
73 1 2 unless ($contained)
80 0 0 if ($other->isa('Farly::Object'))
82 0 0 if $s->contains($other)
90 1 5 if ($other->isa('Farly::Object::Set'))
95 2 5 if ($s->matches($o))
100 0 2 unless ($included)
107 5 0 if ($other->isa('Farly::Object'))
109 4 3 if ($s->matches($other))
118 0 0 if $self->intersection($other)->size >= 1
124 0 2 unless $other->isa('Farly::Object::Set')
131 1 2 if ($s->matches($o))
144 0 1 unless $other->isa('Farly::Object::Set')
154 1 1 unless ($union->includes($o))
171 0 1 unless $other->isa('Farly::Object::Set')
179 1 1 if ($s->matches($o))
184 1 1 unless ($in_other)