File Coverage

blib/lib/Protocol/XMPP/Element/IQ.pm
Criterion Covered Total %
statement 9 13 69.2
branch n/a
condition n/a
subroutine 3 4 75.0
pod 1 1 100.0
total 13 18 72.2


line stmt bran cond sub pod time code
1             package Protocol::XMPP::Element::IQ;
2              
3 1     1   251173 use strict;
  1         2  
  1         33  
4 1     1   4 use warnings;
  1         1  
  1         56  
5 1     1   4 use parent qw(Protocol::XMPP::ElementBase);
  1         13  
  1         9  
6              
7             our $VERSION = '0.007'; ## VERSION
8              
9             =head1 NAME
10              
11             Protocol::XMPP::Bind - register ability to deal with a specific feature
12              
13             =head1 SYNOPSIS
14              
15             =head1 DESCRIPTION
16              
17             =head1 METHODS
18              
19             =cut
20              
21             =head2 end_element
22              
23             =cut
24              
25             sub end_element {
26 0     0 1   my $self = shift;
27 0           $self->debug("IQ data");
28 0           my $id = $self->attributes->{id};
29 0           $self->stream->iq_complete($id => $self);
30             }
31              
32             1;
33              
34             __END__