| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Dezi::Test::Results; |
|
2
|
2
|
|
|
2
|
|
12
|
use Moose; |
|
|
2
|
|
|
|
|
3
|
|
|
|
2
|
|
|
|
|
20
|
|
|
3
|
|
|
|
|
|
|
extends 'Dezi::Results'; |
|
4
|
2
|
|
|
2
|
|
14253
|
use Dezi::Test::Result; |
|
|
2
|
|
|
|
|
7
|
|
|
|
2
|
|
|
|
|
77
|
|
|
5
|
2
|
|
|
2
|
|
34
|
use namespace::autoclean; |
|
|
2
|
|
|
|
|
9
|
|
|
|
2
|
|
|
|
|
18
|
|
|
6
|
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
sub next { |
|
8
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
9
|
0
|
0
|
|
|
|
|
my $idx_doc = shift @{ $self->payload->docs } or return; |
|
|
0
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
my $res = Dezi::Test::Result->new( |
|
11
|
|
|
|
|
|
|
doc => $idx_doc, |
|
12
|
0
|
|
|
|
|
|
score => $self->payload->scores->{ $idx_doc->uri }, |
|
13
|
|
|
|
|
|
|
property_map => $self->property_map, |
|
14
|
|
|
|
|
|
|
); |
|
15
|
0
|
|
|
|
|
|
return $res; |
|
16
|
|
|
|
|
|
|
} |
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 NAME |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
Dezi::Test::Results - test results class |
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head1 METHODS |
|
27
|
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head2 next |
|
29
|
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 AUTHOR |
|
31
|
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Peter Karman, E<lt>karpet@dezi.orgE<gt> |
|
33
|
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 BUGS |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
Please report any bugs or feature requests to C<bug-dezi-app at rt.cpan.org>, or through |
|
37
|
|
|
|
|
|
|
the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Dezi-App>. |
|
38
|
|
|
|
|
|
|
I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 SUPPORT |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
You can find documentation for this module with the perldoc command. |
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
perldoc Dezi::App |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
You can also look for information at: |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=over 4 |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=item * Website |
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
L<http://dezi.org/> |
|
53
|
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=item * IRC |
|
55
|
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
#dezisearch at freenode |
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=item * Mailing list |
|
59
|
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
L<https://groups.google.com/forum/#!forum/dezi-search> |
|
61
|
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=item * RT: CPAN's request tracker |
|
63
|
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Dezi-App> |
|
65
|
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=item * AnnoCPAN: Annotated CPAN documentation |
|
67
|
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
L<http://annocpan.org/dist/Dezi-App> |
|
69
|
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=item * CPAN Ratings |
|
71
|
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
L<http://cpanratings.perl.org/d/Dezi-App> |
|
73
|
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=item * Search CPAN |
|
75
|
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
L<https://metacpan.org/dist/Dezi-App/> |
|
77
|
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=back |
|
79
|
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
|
81
|
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
Copyright 2014 by Peter Karman |
|
83
|
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or modify |
|
85
|
|
|
|
|
|
|
it under the terms of the GPL v2 or later. |
|
86
|
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
88
|
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
L<http://dezi.org/>, L<http://swish-e.org/>, L<http://lucy.apache.org/> |
|
90
|
|
|
|
|
|
|
|