File Coverage

blib/lib/Data/Record/Serialize/Sink/stream.pm
Criterion Covered Total %
statement 9 10 90.0
branch n/a
condition n/a
subroutine 4 5 80.0
pod 2 2 100.0
total 15 17 88.2


line stmt bran cond sub pod time code
1             package Data::Record::Serialize::Sink::stream;
2              
3             # ABSTRACT: output encoded data to a stream.
4              
5 9     9   164618 use v5.10;
  9         39  
6 9     9   400 use Moo::Role;
  9         11603  
  9         67  
7              
8             our $VERSION = '2.03';
9              
10 9     9   3949 use namespace::clean;
  9         13252  
  9         57  
11              
12             with 'Data::Record::Serialize::Role::Sink::Stream';
13              
14             ## no critic( Subroutines::ProhibitBuiltinHomonyms )
15              
16              
17              
18              
19              
20              
21 0     0 1 0 sub print { shift->fh->print( @_ ) }
22 35     35 1 13333 sub say { shift->fh->say( @_ ) }
23              
24             with 'Data::Record::Serialize::Role::Sink';
25              
26             1;
27              
28             #
29             # This file is part of Data-Record-Serialize
30             #
31             # This software is Copyright (c) 2017 by Smithsonian Astrophysical Observatory.
32             #
33             # This is free software, licensed under:
34             #
35             # The GNU General Public License, Version 3, June 2007
36             #
37              
38             __END__