Saftpresse/CounterOutputs.pm

filter: Statementstmt 58.3% 7 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 1 / 2 Podpod 0.0% 0 / 1 totaltotal 53.3% 8 / 15 SCAR 8.3
CC
2
Cov
58%
output
6.0
BEGIN
1.0
CRAP 2.3
« Saftpresse/Plugin/Postfix/QueueID.pm ↑ Summary Saftpresse/Input.pm »
1 package Log::Saftpresse::CounterOutputs;
2  
3 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 # ABSTRACT: class to manage saftpresse counter output
6 1 our $VERSION = '1.5'; # VERSION
7  
8 1 extends 'Log::Saftpresse::PluginContainer';
9  
10 1 has 'plugin_prefix' => ( is => 'ro', isa => 'Str',
11 default => 'Log::Saftpresse::CountersOutput::',
12 );
13  
14 sub output {
15 0 ▶ my ( $self, @events ) = @_;
Subroutine output: not called CC=2 SCAR=17.9
Pod undocumented
16  
17 0 foreach my $plugin ( @{$self->plugins} ) {
18 0 $plugin->output( @events );
19 }
20  
21 0 return;
22 }
23  
24 1 1;
25  
26 __END__
27  
28 =pod
29  
30 =encoding UTF-8
31  
32 =head1 NAME
33  
34 Log::Saftpresse::CounterOutputs - class to manage saftpresse counter output
35  
36 =head1 VERSION
37  
38 version 1.5
39  
40 =head1 AUTHOR
41  
42 Markus Benning <ich@markusbenning.de>
43  
44 =head1 COPYRIGHT AND LICENSE
45  
46 This software is Copyright (c) 1998 by James S. Seymour, 2015 by Markus Benning.
47  
48 This is free software, licensed under:
49  
50 The GNU General Public License, Version 2, June 1991
51  
52 =cut
« Saftpresse/Plugin/Postfix/QueueID.pm ↑ Summary Saftpresse/Input.pm »