line |
true |
false |
branch |
81
|
1 |
4 |
unless (defined $file)
|
96
|
1 |
2 |
unless (defined $string)
|
100
|
0 |
2 |
unless open my $fh, '<', \$string
|
117
|
1 |
9 |
if (not defined $fh) { }
|
|
1 |
8 |
elsif (ref $fh ne 'GLOB') { }
|
136
|
0 |
28 |
unless ($_)
|
172
|
2 |
35 |
unless (defined $file)
|
180
|
1 |
34 |
unless (defined $ngram)
|
184
|
13 |
21 |
unless (defined $self->{'_dict'}{$ngram})
|
188
|
1 |
20 |
unless (defined $count)
|
192
|
2 |
19 |
if ($count < 1)
|
196
|
0 |
19 |
unless (defined $self->{'_dict'}{$self->get_max_ngram})
|
201
|
0 |
19 |
unless open my $fhModel, '>:gzip:bytes', $file
|
209
|
0 |
84 |
unless $self->{'_dict'}{$ngram}{$b} <=> $self->{'_dict'}{$ngram}{$a}
|
214
|
9 |
67 |
if (++$i > $count)
|