Client/Response/Stream.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 4 totaltotal 0.0% 0 / 27 CC 1 SCAR 6.9
CC
1
Cov
0%
content
2.0
is_oob
2.0
is_stream
2.0
CRAP 2.0
1 package DBGp::Client::Response::Stream;
2  
3 use strict;
4 use warnings;
5 use parent qw(DBGp::Client::Response::Simple);
6  
7 __PACKAGE__->make_attrib_accessors(qw(
8 type
9 ));
10  
11 sub content {
12 my $text = DBGp::Client::Parser::_text($_[0]);
13 my $encoding = $_[0]->{attrib}{encoding};
14  
15 return DBGp::Client::Parser::_decode($text, $encoding);
16 }
17  
18 sub is_oob { '1' }
19 sub is_stream { '1' }
20 sub is_notification { '0' }
21  
22 1;