Branch Coverage

blib/lib/Bag/Similarity.pm
Criterion Covered Total %
branch 24 24 100.0


line true false branch
14 1 2 @_ > 1 ? :
3 3 @_ ? :
29 58 160 if (ref $any eq 'ARRAY') { }
13 147 elsif (ref $any eq 'HASH') { }
1 146 elsif (ref $any) { }
46 81 76 unless $width and $width =~ /^[1-9][0-9]*$/x
49 19 138 unless $width <= length $word
57 6 6 unless scalar @$tokens1 or scalar @$tokens2
58 12 88 unless scalar @$tokens1 and scalar @$tokens2
76 104 92 unless exists $bag2{$_}
77 13 79 $bag2{$_} < $bag1{$_} ? :
88 2 18 scalar @{$_[1];} < scalar @{$_[2];} ? :