Branch Coverage

blib/lib/Text/SenseClusters/LabelEvaluation/ReadingFilesData.pm
Criterion Covered Total %
branch 22 36 61.1


line true false branch
184 0 5 unless open clusterFile, $clusterFileName
195 30 30 if ($_ eq '')
208 0 30 if (scalar @lineArray != 2)
220 0 30 if (scalar @keyArray != 3)
279 0 1 unless open topicFile, $topicFileName
348 0 2 unless open topicFile, $topicFileName
369 6 70 if ($lineData =~ /^cluster/i)
375 0 6 if (scalar @wordsOfSentenceArray != 2)
441 0 2 unless open topicFile, $topicFileName
463 1 1 if (@topicNameArray == 0)
472 3 67 if ($lineData =~ /^(.+):::/)
497 4 301 if ($startOfTopicData == 0 and $lineData =~ /^.+:::/i)
505 6 295 if ($lineData =~ /^$searchString\:::/i)
522 132 163 if ($startOfTopicData == 0)
529 6 0 if ($topicKey)
596 0 0 unless open topicFile, $topicFileName
613 0 0 if ($lineData =~ /^cluster/i)
618 0 0 if ($lineData =~ /:::/)