Branch Coverage

blib/lib/AI/Categorizer/FeatureVector.pm
Criterion Covered Total %
branch 13 20 65.0


line true false branch
16 1 0 ref $_[0] ? :
39 46 2 $length ? :
65 16 0 if UNIVERSAL::isa($other, 'AI::Categorizer::FeatureVector')
68 0 16 if (UNIVERSAL::isa($other, 'ARRAY')) { }
16 0 elsif (UNIVERSAL::isa($other, 'HASH')) { }
69 0 0 exists $$self{'features'}{$_} ? :
71 68 220 exists $$self{'features'}{$_} ? :
79 18 96 if UNIVERSAL::isa($other, 'AI::Categorizer::FeatureVector')
87 82 0 if UNIVERSAL::isa($other, 'AI::Categorizer::FeatureVector')
92 154 302 if exists $$other{$k}