YMSG/SendMessage.pm untested

filter: Statementstmt 0.0% 0 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 3 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
code
2.0
to_string
2.0
BEGIN
2.0
CRAP 2.0
1 package Net::YMSG::SendMessage;
2 use base 'Net::YMSG::Event';
3  
4 sub code
5 {
6 return 6;
7 }
8  
9  
10 sub to_string
11 {
12 my $self = shift;
13 sprintf "%s: %s", $self->{sender}, $self->{body};
14 }
15  
16 1;
17 __END__