Branch Coverage

blib/lib/Text/Similarity.pm
Criterion Covered Total %
branch 8 24 33.3


line true false branch
38 4 0 if (defined $hash_ref)
40 0 4 if ($key eq 'compfile' and defined $val) { }
0 4 elsif ($key eq 'stem') { }
0 4 elsif ($key eq 'verbose') { }
4 0 elsif ($key eq 'normalize') { }
0 0 elsif ($key eq 'stoplist') { }
97 2 0 if ($msg)
99 0 2 if $errorString{$self}
160 0 0 unless (open FH, '<', $compfile)
195 140 0 unless ($compounds{$self})
213 0 0 if (exists $compounds{$self}{$temp}) { }
223 0 0 unless ($done)