lib/Mail/Decency/LogParser/Core.pm

filter: Statementstmt 68.4% 13 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 3 / 6 Podpod 100% 2 / 2 totaltotal 66.6% 18 / 27 CC 1 SCAR 3.0
CC
1
Cov
68%
init
2.0
handle
2.0
__ANON__
1.1
CRAP 1.4
« lib/Mail/Decency/Helper/IntervalParse.pm ↑ Summary lib/Mail/Decency/Policy/CWL.pm »
1 package Mail::Decency::LogParser::Core;
2  
3 2 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 extends qw/
5 Mail::Decency::Core::Child
6 /;
7  
8 2 ▶use version 0.74; our $VERSION = qv( "v0.1.4" );
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 2 ▶use Data::Dumper;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 =head1 NAME
13  
14 Mail::Decency::LogParser::Stats
15  
16  
17 =head1 DESCRIPTION
18  
19 Generates usage statistics by configurable granulity (
20  
21 =head1 CLASS ATTRIBUTES
22  
23 =cut
24  
25 0 ▶has current_data => ( is => 'rw', isa => 'HashRef', default => sub { {} } );
Subroutine __ANON__: not called CC=1 SCAR=1.2
26  
27 =head1 METHODS
28  
29 =head2 init
30  
31 =cut
32  
33 0 ▶sub init {
Subroutine init: not called CC=1 SCAR=6.9
Pod documented
34 0 my ( $self ) = @_;
35 0 $self->setup;
36 }
37  
38 =head2 handle
39  
40 =cut
41  
42 0 ▶sub handle {
Subroutine handle: not called CC=1 SCAR=6.9
Pod documented
43 0 my ( $self, $parsed_ref ) = @_;
44 0 $self->current_data( {} );
45 0 $self->handle_data( $parsed_ref );
46 }
47  
48  
49  
50 =head1 AUTHOR
51  
52 Ulrich Kautz <uk@fortrabbit.de>
53  
54 =head1 COPYRIGHT
55  
56 Copyright (c) 2010 the L</AUTHOR> as listed above
57  
58 =head1 LICENCSE
59  
60 This library is free software and may be distributed under the same terms as perl itself.
61  
62 =cut
63  
64 2 1;
« lib/Mail/Decency/Helper/IntervalParse.pm ↑ Summary lib/Mail/Decency/Policy/CWL.pm »