line |
true |
false |
branch |
43
|
8 |
21 |
unless (@_) |
57
|
0 |
45 |
unless ($header_table{$item_name} = 'FP_Tree_header_node'->new($item_name, ++$count)) |
93
|
35 |
5 |
if ($$self{'header_table'}{$rlook[$c]}{'sibling'}) |
127
|
1 |
79 |
if ($#_ < 0) |
141
|
2 |
129 |
unless (grep {$_ eq $items[$a];} keys %{$$self{'header_table'};}) |
154
|
77 |
0 |
if (_tree_insert($self, $self->root, @items)) { } |
174
|
77 |
129 |
unless ($item) |
182
|
68 |
61 |
if ($next_node = $node->child_exists($item)) { } |
192
|
15 |
46 |
if ($node->children) |
252
|
2 |
3 |
if ($confidence <= 0) { } |
|
1 |
2 |
elsif ($confidence > 1) { } |
274
|
2 |
4 |
if ($support <= 0) { } |
|
1 |
3 |
elsif ($support > 1) { } |
327
|
3 |
3 |
unless (@patterns = $self->_fp_growth) |
336
|
2 |
85 |
if ($$self{'max_pattern_len'} < scalar @{$$_{'pattern'};}) |
344
|
45 |
42 |
unless ($$self{'patterns'}{$key}) |
346
|
5 |
40 |
if ($$self{'max_pattern_len'} == scalar @{$$_{'pattern'};}) |
379
|
5 |
38 |
unless (@compliment_arr) |
412
|
19 |
6 |
$_[0] ? : |
415
|
1 |
24 |
unless ($support_count) |
429
|
15 |
9 |
if ($self->num_path == 1) |
441
|
0 |
25 |
if ($$self{'header_table'}{$rlook[$c]}->count < $order_check) |
450
|
4 |
21 |
if ($$self{'header_table'}{$rlook[$c]}->count < $support_count) |
453
|
0 |
4 |
unless ($$self{'header_table'}{$rlook[$c]}->count) |
471
|
3 |
18 |
unless ($l_count) |
481
|
7 |
18 |
if ($parent_ptr->item_name) |
500
|
0 |
15 |
unless (scalar @patterns) |
515
|
1 |
31 |
unless ($check_count <= $$self{'header_table'}{$key}->count) |
523
|
5 |
26 |
if ($$self{'header_table'}{$key}->count < $support_count) |
526
|
0 |
5 |
unless ($$self{'header_table'}{$key}->count) |
556
|
0 |
26 |
if (@ordered and not $conditional_tree) |
575
|
19 |
7 |
if ($conditional_tree) { } |
582
|
0 |
19 |
unless (@conditional_patterns) |
620
|
1 |
7 |
unless (scalar @all_combos) |
639
|
0 |
26 |
unless ($item_name) |
659
|
36 |
14 |
if (@combo) |
685
|
49 |
85 |
unless ($first) |
725
|
1 |
86 |
if ($item_name and not $parent) |
763
|
1 |
54 |
if ($self == $root) |
783
|
0 |
58 |
unless ($parent_node->inc_used($count)) |
793
|
17 |
37 |
unless (@pattern) |
809
|
36 |
35 |
if ($$self{'sibling'}) |
840
|
105 |
15 |
if ($by and $by > 0) |
845
|
0 |
120 |
if ($$self{'used'} > $$self{'count'}) |
885
|
1 |
62 |
unless ($child_name and not $self->child_exists($child_name)) |
908
|
1 |
1 |
if ($sibling->item_name eq $self->item_name) |
952
|
12 |
15 |
if ($$self{'parent'}) |
985
|
3 |
46 |
unless ($item_name and $rank and $rank > 0) |
1040
|
1 |
1 |
if ($sibling->item_name eq $self->item_name) |
1105
|
7 |
42 |
unless ($left and ref $left and $right and ref $right and $support and $confidence) |
1110
|
1 |
39 |
if ($support <= 0 or $support > 1 or $confidence <= 0 or $confidence > 1) |