blib/lib/Net/OSCAR/Callbacks/14/chat_buddy_arrival.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 10 | 10 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | n/a | ||
total | 14 | 14 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Net::OSCAR::Callbacks; | ||||||
2 | BEGIN { | ||||||
3 | 1 | 1 | 22 | $Net::OSCAR::Callbacks::VERSION = '1.928'; | |||
4 | } | ||||||
5 | 1 | 1 | 7 | use strict; | |||
1 | 1 | ||||||
1 | 27 | ||||||
6 | 1 | 1 | 5 | use warnings; | |||
1 | 3 | ||||||
1 | 43 | ||||||
7 | 1 | 1 | 6 | use vars qw($connection $snac $conntype $family $subtype $data $reqid $reqdata $session $protobit %data); | |||
1 | 2 | ||||||
1 | 183 | ||||||
8 | sub { | ||||||
9 | |||||||
10 | foreach (@{$data{arrivals}}) { | ||||||
11 | $session->callback_chat_buddy_in(Net::OSCAR::Screenname->new(\$_->{screenname}), $connection, $_); | ||||||
12 | } | ||||||
13 | |||||||
14 | }; |