lib/Net/Async/Spotify/Object/Artist.pm

filter: Statementstmt 88.2% 15 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 100% 1 / 1 totaltotal 86.9% 20 / 23 CC 1 SCAR 1.8
CC
1
Cov
88%
to_human
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« lib/Net/Async/Spotify/Object/Track.pm ↑ Summary lib/Net/Async/Spotify/API/Albums.pm »
1 package Net::Async::Spotify::Object::Artist;
2  
3 31 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 31 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 31 our $VERSION = '0.002'; # VERSION
7 31 our $AUTHORITY = 'cpan:VNEALV'; # AUTHORITY
8  
9 31 ▶use mro;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 31 ▶use parent qw(Net::Async::Spotify::Object::Generated::Artist);
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 =encoding utf8
13  
14 =head1 NAME
15  
16 Net::Async::Spotify::Object::Artist - Package representing Main Spotify Artist Object
17  
18 =head1 DESCRIPTION
19  
20 Main module for an Autogenerated one L<Net::Async::Spotify::Object::Generated::Artist>.
21 Will hold all extra functionality for Spotify Artist Object
22  
23 =head1 METHODS
24  
25 =cut
26  
27 0 ▶sub to_human {
Subroutine to_human: not called CC=1 SCAR=6.9
Pod documented
28 0 my $self = shift;
29 0 return join(' | ',
30 $self->id,
31 $self->name,
32 $self->type,
33 join(', ', $self->genres->@*),
34 $self->popularity
35 );
36 }
37  
38 31 1;
« lib/Net/Async/Spotify/Object/Track.pm ↑ Summary lib/Net/Async/Spotify/API/Albums.pm »