Tumblr/Test.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 0.0% 0 / 3 totaltotal 86.9% 20 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Tumblr/Tagged.pm ↑ Summary Tumblr/Authentication.pm »
1 package WWW::Tumblr::Test;
2  
3 15 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 15 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 15 ▶use WWW::Tumblr;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 15 my $t = WWW::Tumblr->new(
9 # These are "public" keys for my small perlapi blog test.
10 # Don't be a jerk :)
11 consumer_key => 'm2TqZPKBN87VXTf0HZCDbLBmV8IKhjDnSh5SL2MrWYPrvDKIKE',
12 secret_key => 'DfNf21jsNPkDfz5rRW4tUPQf0gR1G8mYtxqBDM62XQSGHNJRY9',
13 token => '5koNK32cgylbsxs9LsTDCWFUrPccYjFCqFIbZayCFLrVlm1zuP',
14 token_secret => 'VbFLz3lZ3P2ghw5b4dHwNNw4IAq13uHgDp4reZy4N24b4VlfM8',
15 );
16  
17 1 ▶sub tumblr { $t }
Subroutine tumblr: called CC=1 SCAR=0.0
Pod undocumented
18 6 ▶sub user { $t->user }
Subroutine user: called CC=1 SCAR=0.0
Pod undocumented
19 7 ▶sub blog { $t->blog('perlapi.tumblr.com') }
Subroutine blog: called CC=1 SCAR=0.0
Pod undocumented
20  
21 15 1;
« Tumblr/Tagged.pm ↑ Summary Tumblr/Authentication.pm »