| line |
true |
false |
branch |
|
88
|
0 |
1 |
unless open BFILE, $transaction_file |
|
91
|
0 |
10 |
if int @data != 2 |
|
148
|
0 |
3 |
unless open OUT, ">$out_nset" |
|
151
|
14 |
4 |
if ($support >= $support_threshold) |
|
156
|
0 |
3 |
if $debug |
|
165
|
0 |
7 |
if defined $max_n and $n > $max_n |
|
169
|
0 |
7 |
unless open PRIOR, $prior_nset |
|
171
|
0 |
7 |
unless open OUT, ">$out_nset" |
|
179
|
4 |
10 |
unless (exists $$transaction_map_ref{$item}{$user}) |
|
191
|
86 |
82 |
if ($set_item ge $item) |
|
197
|
46 |
86 |
unless ($dup_set) |
|
200
|
61 |
9 |
unless (exists $$user_set{$user}) |
|
207
|
8 |
38 |
if ($num_users >= $support_threshold) |
|
216
|
0 |
7 |
if $num_nsets > 0 and $debug |
|
217
|
3 |
4 |
if 0 == $num_nsets |
|
250
|
0 |
9 |
unless opendir DIR, '.' |
|
251
|
51 |
69 |
if /^$file_prefix/ |
|
256
|
26 |
25 |
if ($file =~ /$file_prefix\-support\-(\d+)\-(\d+)set/) |
|
259
|
5 |
21 |
if $support != $support_threshold or defined $max_n and $n > $max_n |
|
262
|
0 |
21 |
unless open SETS, $file |
|
330
|
0 |
3 |
unless defined $support_threshold |
|
331
|
3 |
0 |
unless defined $confidence_threshold |
|
339
|
0 |
3 |
if 0 == int keys %frequent_set |
|
344
|
0 |
3 |
unless open RULES, ">$rulefile" |
|
348
|
0 |
22 |
unless defined $support |
|
367
|
0 |
24 |
unless defined $lhs_support |
|
373
|
24 |
0 |
if ($conf >= $confidence_threshold) |
|
382
|
0 |
3 |
if $debug |