Up/User.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 1 totaltotal 95.2% 20 / 21 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Up/Score/Sleep.pm ↑ Summary Up/Score/Move.pm »
1 package WWW::Jawbone::Up::User;
2  
3 6 ▶use 5.010;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 6 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 6 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 6 ▶use base 'WWW::Jawbone::Up::JSON';
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 6 __PACKAGE__->add_accessors(
10 qw(first last name short_name), {
11 friend => 'user_is_friend'
12 });
13  
14 1 ▶sub image {
Subroutine image: called CC=1 SCAR=0.0
Pod undocumented
15 1 my $self = shift;
16 1 return 'https://jawbone.com/' . $self->{image};
17 }
18  
19 6 1;
20  
« Up/Score/Sleep.pm ↑ Summary Up/Score/Move.pm »