Branch Coverage

blib/lib/AI/Fuzzy/Set.pm
Criterion Covered Total %
branch 22 40 55.0


line true false branch
24 51 0 if (defined ${$$self{'members'};}{$item}) { }
45 10 0 if exists $$self{'members'}
46 10 0 if exists $$otherset{'members'}
51 2 45 unless exists $us{$key} and exists $them{$key}
54 1 44 unless float_equal($us{$key}, $them{$key}, 10)
67 8 0 if exists $$self{'members'}
68 8 0 if exists $$otherset{'members'}
72 6 42 if (not exists $us{$key} and exists $them{$key})
76 6 36 if (not exists $them{$key} and exists $us{$key})
80 32 4 if ($us{$key} >= $them{$key}) { }
96 8 0 if exists $$self{'members'}
97 8 0 if exists $$otherset{'members'}
101 13 34 unless (exists $us{$key} and exists $them{$key})
105 32 2 if ($us{$key} <= $them{$key}) { }
124 0 14 if $comp < 0 or $comp > 1
139 0 0 if $self->membership($member) != 0
152 0 0 if $self->membership($member) == 1
165 0 0 if $self->membership($member) > $max
176 0 0 if $self->height == 1
185 0 0 if $self->height < 1