Branch Coverage

blib/lib/Text/SenseClusters/LabelEvaluation/Driver.pm
Criterion Covered Total %
branch 41 76 53.9


line true false branch
524 4 0 if (defined $argHash)
530 4 20 if (lc $key eq lc $senseClusterLabelFileName) { }
4 16 elsif (lc $key eq lc $labelComparisonMethod) { }
4 12 elsif (lc $key eq lc $goldKeyFileName) { }
0 12 elsif (lc $key eq lc $goldKeyLength) { }
4 8 elsif (lc $key eq lc $goldKeyDataSource) { }
4 4 elsif (lc $key eq lc $weightRatio) { }
0 4 elsif (lc $key eq lc $stopListFileLocation) { }
4 0 elsif (lc $key eq lc $isClean) { }
0 0 elsif (lc $key eq lc $verbose) { }
0 0 elsif (lc $key eq lc $help) { }
531 4 0 if ($val) { }
541 4 0 if ($val) { }
551 4 0 if ($val) { }
560 0 0 if ($val)
564 4 0 if ($val) { }
573 4 0 if ($val) { }
579 0 0 if ($val) { }
585 4 0 if ($val) { }
591 0 0 if ($val) { }
597 0 0 if ($val == 1) { }
834 2 2 if (lc $$driverObject{$labelComparisonMethod} eq $labelComparisonMethod_Direct) { }
2 0 elsif (lc $$driverObject{$labelComparisonMethod} eq $labelComparisonMethod_Automate) { }
845 0 2 unless (%mappingHash)
851 1 1 if (lc $$driverObject{$goldKeyDataSource} eq $standardReferenceName_UserData) { }
1 0 elsif (lc $$driverObject{$goldKeyDataSource} eq $standardReferenceName_Wikipedia) { }
0 0 elsif (lc $$driverObject{$goldKeyDataSource} eq $standardReferenceName_WordNet) { }
863 0 1 unless (%topicDataHash)
928 1 1 if (lc $$driverObject{$goldKeyDataSource} eq $standardReferenceName_UserData) { }
1 0 elsif (lc $$driverObject{$goldKeyDataSource} eq $standardReferenceName_Wikipedia) { }
0 0 elsif (lc $$driverObject{$goldKeyDataSource} eq $standardReferenceName_WordNet) { }
939 0 1 unless (%topicDataHash)
965 0 1 if ($accuracy == 0)
1101 12 12 if (lc $innerkey eq $labelType_Descriptive) { }
12 0 elsif (lc $innerkey eq $labelType_Discriminating) { }
1208 6 12 if ($key eq $rowHeader[$index])
1213 6 12 if ($mappingHash{$key} eq $colHeader[$index])
1225 0 2 if ($totalMatrixScore == 0) { }