Branch Coverage

blib/lib/Text/Categorize/Textrank.pm
Criterion Covered Total %
branch 16 26 61.5


line true false branch
133 0 31 unless exists $Parameters{'listOfTokens'}
140 0 31 if exists $Parameters{'edgeCreationSpan'}
141 0 31 if $edgeCreationSpan < 1
145 0 31 if exists $Parameters{'directedGraph'}
148 31 0 unless exists $Parameters{'dampeningFactor'}
150 0 31 if $Parameters{'dampeningFactor'} > 1
154 0 31 if exists $Parameters{'addEdgesSpanningLists'}
160 31 0 if ($addEdgesSpanningLists)
185 31 5066 if $lastToken > $totalTokens
189 135 4931 if $$list[$i] eq $$list[$j]
195 3306 1625 if ($graph->has_edge(@edge)) { }
198 0 3306 unless defined $weight
218 0 31 if exists $Parameters{'tokenWeights'} and defined $Parameters{'tokenWeights'}