line |
true |
false |
branch |
138
|
23 |
0 |
unless exists $Parameters{'dampeningFactor'} |
139
|
23 |
0 |
if exists $Parameters{'dampeningFactor'} |
140
|
0 |
23 |
if $Parameters{'dampeningFactor'} > 1 |
143
|
23 |
0 |
unless exists $Parameters{'maxRelError'} |
144
|
23 |
0 |
if exists $Parameters{'maxRelError'} |
145
|
0 |
23 |
if $Parameters{'maxRelError'} > 0.01 |
148
|
23 |
0 |
unless exists $Parameters{'minIterations'} |
152
|
23 |
0 |
unless (exists $Parameters{'maxIterations'}) |
155
|
0 |
23 |
if $Parameters{'dampeningFactor'} <= 0 |
156
|
0 |
23 |
if $Parameters{'dampeningFactor'} >= 1 |
157
|
23 |
0 |
if ($Parameters{'dampeningFactor'} < 1) |
163
|
0 |
23 |
if $Parameters{'maxIterations'} < 1 |
164
|
0 |
23 |
if $Parameters{'maxIterations'} < $Parameters{'minIterations'} |
167
|
23 |
0 |
unless (exists $Parameters{'directed'}) |
169
|
0 |
23 |
if (exists $Parameters{'undirected'}) { } |
174
|
23 |
0 |
unless exists $Parameters{'useEdgeWeights'} |
178
|
23 |
0 |
unless exists $Parameters{'linkSinkNodes'} |
184
|
23 |
0 |
unless exists $Parameters{'scaleDampeningFactor'} |
196
|
30 |
1 |
unless exists $Parameters{'dampeningFactor'} |
197
|
31 |
0 |
if exists $Parameters{'dampeningFactor'} |
198
|
0 |
31 |
if $Parameters{'dampeningFactor'} > 1 |
201
|
31 |
0 |
unless exists $Parameters{'maxRelError'} |
202
|
31 |
0 |
if exists $Parameters{'maxRelError'} |
203
|
0 |
31 |
if $Parameters{'maxRelError'} > 0.01 |
206
|
31 |
0 |
unless exists $Parameters{'minIterations'} |
210
|
31 |
0 |
unless (exists $Parameters{'maxIterations'}) |
213
|
30 |
1 |
if (0 < $Parameters{'dampeningFactor'} and $Parameters{'dampeningFactor'} < 1) |
219
|
0 |
31 |
if $Parameters{'maxIterations'} < 1 |
220
|
0 |
31 |
if $Parameters{'maxIterations'} < $Parameters{'minIterations'} |
224
|
0 |
31 |
if exists $Parameters{'undirected'} |
225
|
10 |
21 |
if exists $Parameters{'directed'} |
226
|
0 |
31 |
if not defined $directed and exists $Parameters{'graph'} |
227
|
21 |
10 |
unless defined $directed |
231
|
31 |
0 |
unless exists $Parameters{'useEdgeWeights'} |
235
|
31 |
0 |
unless exists $Parameters{'linkSinkNodes'} |
241
|
31 |
0 |
unless exists $Parameters{'scaleDampeningFactor'} |
307
|
0 |
31 |
if (exists $Parameters{'graph'}) |
319
|
0 |
0 |
if ($Parameters{'useEdgeWeights'}) |
324
|
0 |
0 |
if defined $weight |
330
|
21 |
10 |
if exists $Parameters{'listOfEdges'} |
331
|
10 |
21 |
if exists $Parameters{'listOfNodes'} |
350
|
31 |
0 |
if exists $Parameters{'listOfNodes'} |
363
|
11008 |
5509 |
if (not exists $matrixRows{$to}) { } |
374
|
21 |
16496 |
if (not exists $columnSum{$from}) { } |
385
|
10987 |
5530 |
unless (exists $columnSum{$to}) |
396
|
0 |
11017 |
if defined $$edge[2] |
397
|
0 |
11017 |
if $weight == 0 |
401
|
5500 |
5517 |
unless $directed |
405
|
31 |
0 |
if (defined $listOfNodes) |
409
|
4744 |
0 |
unless (exists $columnSum{$node}) |
421
|
4744 |
11008 |
if ($sum == 0) { } |
431
|
16517 |
7683547 |
if (exists $matrixRows{$rowNode}{$node}) |
447
|
0 |
31 |
if exists $Parameters{'nodeWeights'} |
454
|
15752 |
0 |
unless exists $nodeWeights{$node} |
457
|
0 |
15752 |
if $nodeWeights{$node} < 0 |
464
|
0 |
31 |
if ($sum > 0) { } |
476
|
0 |
31 |
if $totalNodes == 0 |
482
|
0 |
31 |
if exists $Parameters{'maxIterationsIsTotalNodes'} |
487
|
162 |
0 |
if ($Parameters{'scaleDampeningFactor'}) { } |
500
|
162 |
0 |
if ($Parameters{'linkSinkNodes'}) |
531
|
32304 |
0 |
if ($$pagerank{$node} != 0) { } |
545
|
31 |
131 |
if $error < $Parameters{'maxRelError'} and $iteration >= $Parameters{'minIterations'} |
560
|
0 |
193 |
if $sum == 0 |