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 0 2 0.0
total 13 17 76.4


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 8     8   300181 use v5.10;
  8         34  
6 8     8   3022 use Moo::Role;
  8         19064  
  8         67  
7              
8             our $VERSION = '2.02';
9              
10 8     8   5386 use namespace::clean;
  8         21361  
  8         62  
11              
12             with 'Data::Record::Serialize::Role::Sink::Stream';
13              
14             ## no critic( Subroutines::ProhibitBuiltinHomonyms )
15              
16              
17              
18              
19              
20              
21 0     0 0 0 sub print { shift->fh->print( @_ ) }
22 34     34 0 3008 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__