File Coverage

blib/lib/DS/Source/Push.pm
Criterion Covered Total %
statement 6 9 66.6
branch n/a
condition n/a
subroutine 2 3 66.6
pod 0 1 0.0
total 8 13 61.5


line stmt bran cond sub pod time code
1             #!perl
2            
3             # ########################################################################## #
4             # Title: Push data stream source
5             # Creation date: 2007-04-16
6             # Author: Michael Zedeler
7             # Description: Receives data from outside a processing chain and passes it
8             # into the chain
9             # Data Stream class
10             # File: $Source: /data/cvs/lib/DSlib/lib/DS/Source/Push.pm,v $
11             # Repository: kronhjorten
12             # State: $State: Exp $
13             # Documentation: inline
14             # Recepient: -
15             # ########################################################################## #
16            
17             package DS::Source::Push;
18            
19 1     1   4 use base qw{ DS::Source };
  1         1  
  1         61  
20            
21 1     1   4 use strict;
  1         1  
  1         116  
22            
23             our ($VERSION) = $DS::VERSION;
24             our ($REVISION) = '$Revision: 1.1 $' =~ /(\d+\.\d+)/;
25            
26             sub receive_row {
27 0     0 0   my( $self, $row ) = @_;
28            
29 0           $self->pass_row( $row );
30            
31 0           return;
32             }
33            
34             1;