Server/Bayeux/Message/Invalid.pm

filter: Statementstmt 90.9% 10 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 100% 1 / 1 totaltotal 87.5% 14 / 16 CC 1 SCAR 2.2
CC
1
Cov
91%
is_error
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Server/Bayeux/Message.pm ↑ Summary Client/Bayeux.pm »
1 package POE::Component::Server::Bayeux::Message::Invalid;
2  
3 =head1 NAME
4  
5 POE::Component::Server::Bayeux::Message::Invalid - invalid message
6  
7 =head1 DESCRIPTION
8  
9 Subclasses L<POE::Component::Server::Bayeux::Message>. Just an error, really.
10  
11 =cut
12  
13 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 3 ▶use base qw(POE::Component::Server::Bayeux::Message);
Subroutine BEGIN: called CC=1 SCAR=0.0
16  
17 0 ▶sub is_error {
Subroutine is_error: not called CC=1 SCAR=6.9
Pod documented
18 0 return "Invalid message";
19 }
20  
21 =head1 COPYRIGHT
22  
23 Copyright (c) 2008 Eric Waters and XMission LLC (http://www.xmission.com/).
24 All rights reserved. This program is free software; you can redistribute it
25 and/or modify it under the same terms as Perl itself.
26  
27 The full text of the license can be found in the LICENSE file included with
28 this module.
29  
30 =head1 AUTHOR
31  
32 Eric Waters <ewaters@uarc.com>
33  
34 =cut
35  
36 3 1;
« Server/Bayeux/Message.pm ↑ Summary Client/Bayeux.pm »