Branch Coverage

blib/lib/AI/Fuzzy/Axis.pm
Criterion Covered Total %
branch 13 26 50.0


line true false branch
21 0 21 if ($label->can('name')) { }
38 0 1 if $label->can('applicability')
39 0 1 unless exists $$self{'labels'}{$label}
65 27 0 if ($label->can('name')) { }
73 20 7 unless $w > 0
80 2 3 if (wantarray)
85 0 3 unless $total_weight > 0
96 3 0 if $x >= $v
115 1 0 if (exists $$self{'labels'}{$labela} and exists $$self{'labels'}{$labelb}) { }
128 0 0 if (exists $$self{'labels'}{$labela} and exists $$self{'labels'}{$labelb}) { }
141 1 0 if (exists $$self{'labels'}{$labela} and exists $$self{'labels'}{$labelb}) { }
153 0 0 if (exists $$self{'labels'}{$labela} and exists $$self{'labels'}{$labelb}) { }
166 2 0 if (exists $$self{'labels'}{$labela} and exists $$self{'labels'}{$labelb} and exists $$self{'labels'}{$labelc}) { }