line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package KinoSearch1::Search::BooleanScorer; |
2
|
18
|
|
|
18
|
|
105
|
use strict; |
|
18
|
|
|
|
|
42
|
|
|
18
|
|
|
|
|
770
|
|
3
|
18
|
|
|
18
|
|
100
|
use warnings; |
|
18
|
|
|
|
|
42
|
|
|
18
|
|
|
|
|
472
|
|
4
|
18
|
|
|
18
|
|
96
|
use KinoSearch1::Util::ToolSet; |
|
18
|
|
|
|
|
38
|
|
|
18
|
|
|
|
|
4826
|
|
5
|
18
|
|
|
18
|
|
107
|
use base qw( KinoSearch1::Search::Scorer ); |
|
18
|
|
|
|
|
75
|
|
|
18
|
|
|
|
|
9709
|
|
6
|
|
|
|
|
|
|
|
7
|
18
|
|
|
18
|
|
209
|
BEGIN { __PACKAGE__->init_instance_vars() } |
8
|
|
|
|
|
|
|
our %instance_vars; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub new { |
11
|
253
|
|
|
253
|
1
|
1795
|
my $self = shift->SUPER::new; |
12
|
253
|
50
|
|
|
|
961
|
confess kerror() unless verify_args( \%instance_vars, @_ ); |
13
|
253
|
|
|
|
|
1012
|
my %args = ( %instance_vars, @_ ); |
14
|
253
|
|
|
|
|
1716
|
$self->set_similarity( $args{similarity} ); |
15
|
253
|
|
|
|
|
3003
|
$self->_init_child; |
16
|
253
|
|
|
|
|
981
|
return $self; |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
1; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
__END__ |