DS/Source/Push.pm

filter: Statementstmt 75.0% 9 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 0.0% 0 / 1 totaltotal 68.7% 11 / 16 CC 1 SCAR 2.9
CC
1
Cov
75%
receive_row
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« DS/Transformer/Stack.pm ↑ Summary DS/TypeSpec/Any.pm »
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 ▶use base qw{ DS::Source };
Subroutine BEGIN: called CC=1 SCAR=0.0
20
21 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
22
23 1 our ($VERSION) = $DS::VERSION;
24 1 our ($REVISION) = '$Revision: 1.1 $' =~ /(\d+\.\d+)/;
25
26 0 ▶sub receive_row {
Subroutine receive_row: not called CC=1 SCAR=6.9
Pod undocumented
27 0 my( $self, $row ) = @_;
28
29 0 $self->pass_row( $row );
30
31 0 return;
32 }
33
34 1 1;
« DS/Transformer/Stack.pm ↑ Summary DS/TypeSpec/Any.pm »