Eve/Event/HttpResponseReady.pm

filter: Statementstmt 66.6% 10 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 100% 1 / 1 totaltotal 70.0% 14 / 20 CC 1 SCAR 2.2
CC
1
Cov
67%
init
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Eve/Event/ExternalProfileAdd.pm ↑ Summary Eve/Gateway/PgSql.pm »
1 package Eve::Event::HttpResponseReady;
2  
3 9 ▶use parent qw(Eve::Event);
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 9 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 9 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 =head1 NAME
9  
10 B<Eve::Event::HttpResponseReady> - HTTP response ready.
11  
12 =head1 SYNOPSIS
13  
14 use Eve::Event::HttpResponseReady;
15  
16 Eve::Event::HttpResponseReady->new(
17 event_map => $event_map,
18 response => $http_response);
19  
20 =head1 DESCRIPTION
21  
22 B<Eve::Event::HttpResponseReady> is an event assumed to signal when
23 an HTTP response is ready to be sent.
24  
25 =head3 Attributes
26  
27 =over 4
28  
29 =item C<response>
30  
31 an HTTP response object.
32  
33 =back
34  
35 =head3 Constructor arguments
36  
37 =over 4
38  
39 =item C<event_map>
40  
41 an event map object
42  
43 =item C<response>
44  
45 an HTTP response object.
46  
47 =back
48  
49 =head1 METHODS
50  
51 =head2 B<init()>
52  
53 =cut
54  
55 0 ▶sub init {
Subroutine init: not called CC=1 SCAR=6.9
Pod documented
56 0 my ($self, %arg_hash) = @_;
57 0 Eve::Support::arguments(\%arg_hash, my ($event_map, $response));
58  
59 0 $self->{'response'} = $response;
60  
61 0 $self->SUPER::init(event_map => $event_map);
62  
63 0 return;
64 }
65  
66 =head1 LICENSE AND COPYRIGHT
67  
68 Copyright 2012 Igor Zinovyev.
69  
70 This program is free software; you can redistribute it and/or modify it
71 under the terms of either: the GNU General Public License as published
72 by the Free Software Foundation; or the Artistic License.
73  
74 See http://dev.perl.org/licenses/ for more information.
75  
76  
77 =head1 AUTHOR
78  
79 =over 4
80  
81 =item L<Sergey Konoplev|mailto:gray.ru@gmail.com>
82  
83 =back
84  
85 =cut
86  
87 9 1;
« Eve/Event/ExternalProfileAdd.pm ↑ Summary Eve/Gateway/PgSql.pm »