blib/lib/Net/OSCAR/Callbacks/1/pause.pm

filter: Statementstmt 57.8% 11 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod n/a totaltotal 62.5% 15 / 24 CC 1 SCAR 1.8
CC
1
Cov
58%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« blib/lib/Net/OSCAR/Proxy.pm ↑ Summary blib/lib/Net/OSCAR/Callbacks/1/server_ready.pm »
1 package Net::OSCAR::Callbacks;
2 1 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 $Net::OSCAR::Callbacks::VERSION = '1.928';
4 }
5 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use vars qw($connection $snac $conntype $family $subtype $data $reqid $reqdata $session $protobit %data);
Subroutine BEGIN: called CC=1 SCAR=0.0
8 0 ▶sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
9  
10 0 $session->{__old_loglevel} = $session->loglevel();
11 0 $session->loglevel(10);
12 0 $connection->log_print(OSCAR_DBG_WARN, "Server initiated migration. Migration support is experimental. Please tell matthewg\@zevils.com that this happened and whether or not it worked! Include the information below.");
13 0 $connection->log_print(OSCAR_DBG_WARN, "Migration families sent: ", join(" ", keys %{$connection->{families}}));
14 $connection->proto_send(protobit => "pause_ack", protodata => {
15 0 families => [keys %{$connection->{families}}]
16 });
17 0 $connection->pause();
18  
19 1 };
« blib/lib/Net/OSCAR/Proxy.pm ↑ Summary blib/lib/Net/OSCAR/Callbacks/1/server_ready.pm »