Branch Coverage

blib/lib/Statistics/Candidates.pm
Criterion Covered Total %
branch 13 20 65.0


line true false branch
63 1 0 if ($arg)
88 0 1 unless open CANDS, $file
104 100 0 unless (/\#.*/)
107 1 99 if ($$self{'NR_CLASSES'} == 0) { }
111 0 99 if ($$self{'NR_CANDIDATES'} != length $features)
144 0 3 if (not $sum or $sum == $$self{'NR_CLASSES'})
159 1 0 if ($$self{'NR_CANDIDATES'} > 0 and $$self{'NR_CLASSES'})
160 0 1 unless open CANDIDATES, ">$file"
166 1 2 unless ($$self{'ADDED'}{$f})
175 100 200 unless ($$self{'ADDED'}{$f})