blib/lib/Net/Blogger/Engine/Manila.pm

filter: Statementstmt 62.5% 15 / 24 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod 100% 2 / 2 totaltotal 60.6% 20 / 33 SCAR 8.3
CC
2
Cov
58%
new
6.0
getUsersBlogs
2.0
BEGIN
1.0
CRAP 2.3
« blib/lib/Net/Blogger/Engine/Radio.pm ↑ Summary
1 {
2
3 1 =head1 NAME
4
5 Net::Blogger::Manila - UserLand Manila Blogger API engine
6
7 =head1 SYNOPSIS
8
9 TBW
10
11 =head1 DESCRIPTION
12
13 This package inherits I<Net::Blogger::Engine::Userland> and implements methods
14 specific to UserLand Manila server.
15
16 =cut
17
18 package Net::Blogger::Engine::Manila;
19 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
20
21 1 $Net::Blogger::Engine::Manila::VERSION = '1.0';
22 1 @Net::Blogger::Engine::Manila::ISA = qw ( Exporter Net::Blogger::Engine::Userland );
23 1 @Net::Blogger::Engine::Manila::EXPORT = qw ();
24 1 @Net::Blogger::Engine::Manila::EXPORT_OK = qw ();
25
26 1 ▶use Exporter;
Subroutine BEGIN: called CC=1 SCAR=0.0
27 1 ▶use Net::Blogger::Engine::Userland;
Subroutine BEGIN: called CC=1 SCAR=0.0
28
29 =head1 PACKAGE METHODS
30
31 =head2 __PACKAGE__->new(\%args)
32
33 Releases prior to Net::Blogger 0.85 accepted a list of arguments
34 rather than a reference. Version 0.85+ are backwards compatible.
35
36 Returns an object. Woot!
37
38 =cut
39
40 sub new {
41 0 ▶ my $pkg = shift;
Subroutine new: not called CC=2 SCAR=17.9
Pod documented
42
43 0 my $self = {};
44 0 bless $self,$pkg;
45
46 0 ▶ if (! $self->SUPER::init(@_)) {
Branch: 1 branch
BranchTrueFalseTotal
unless ($self->SUPER::init(@_)) 0 0 0
47 0 return 0;
48 }
49
50 0 return $self;
51 }
52
53 =head1 Blogger API OBJECT METHODS
54
55 =cut
56
57 =head2 $pkg->getUsersBlogs()
58
59 =cut
60
61 sub getUsersBlogs {
62 0 ▶ my $self = shift;
Subroutine getUsersBlogs: not called CC=1 SCAR=6.9
Pod documented
63 0 $self->LastError("Unsupported method.");
64 0 return 0;
65 }
66
67 =head1 VERSION
68
69 1.0
70
71 =head1 DATE
72
73 $Date: 2005/03/26 19:29:08 $
74
75 =head1 AUTHOR
76
77 Aaron Straup Cope
78
79 =head1 SEE ALSO
80
81 L<Net::Blogger>
82
83 http://frontier.userland.com/emulatingBloggerInManila
84
85 =head1 LICENSE
86
87 Copyright (c) 2001-2005 Aaron Straup Cope.
88
89 This is free software, you may use it and distribute it under the
90 same terms as Perl itself.
91
92 =cut
93
94 1 return 1;
95
96 }
« blib/lib/Net/Blogger/Engine/Radio.pm ↑ Summary