blib/lib/Net/OSCAR/Callbacks/1/incoming_warning.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 | 141 | $Net::OSCAR::Callbacks::VERSION = '1.928'; | |||
4 | } | ||||||
5 | 1 | 1 | 11 | use strict; | |||
1 | 4 | ||||||
1 | 42 | ||||||
6 | 1 | 1 | 6 | use warnings; | |||
1 | 3 | ||||||
1 | 73 | ||||||
7 | 1 | 1 | 6 | use vars qw($connection $snac $conntype $family $subtype $data $reqid $reqdata $session $protobit %data); | |||
1 | 2 | ||||||
1 | 267 | ||||||
8 | sub { | ||||||
9 | |||||||
10 | $session->callback_evil($data{new_level} / 10, Net::OSCAR::Screenname->new(\$data{screenname}) || undef); | ||||||
11 | |||||||
12 | }; |