LastFM/NowPlaying.pm

filter: Statementstmt 85.7% 12 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 100% 1 / 1 totaltotal 84.2% 16 / 19 CC 1 SCAR 2.2
CC
1
Cov
86%
new
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« LastFM/Playlist.pm ↑ Summary LastFM/Session.pm »
1 package WebService::LastFM::NowPlaying;
2  
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 ▶use base qw(Class::Accessor);
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 2 our $VERSION = '0.07';
9  
10 2 __PACKAGE__->mk_accessors(
11 qw(
12 price
13 shopname
14 clickthrulink
15 streaming
16 discovery
17 station
18 artist
19 artist_url
20 track
21 track_url
22 album
23 album_url
24 albumcover_small
25 albumcover_medium
26 albumcover_large
27 trackduration
28 radiomode
29 recordtoprofile
30 )
31 );
32  
33 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod documented
34 0 my ( $class, $args ) = @_;
35 0 bless $args, $class;
36 }
37  
38 2 1;
« LastFM/Playlist.pm ↑ Summary LastFM/Session.pm »