LastFM/Track.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/Session.pm ↑ Summary
1 package WebService::LastFM::Track;
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 2 our $VERSION = '0.07';
8  
9 2 __PACKAGE__->mk_accessors(
10 qw( link
11 location
12 creator
13 lastfm:trackauth
14 lastfm:albumId
15 duration
16 image
17 lastfm:artistId
18 album
19 title
20 )
21 );
22  
23 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod documented
24 0 my ( $class, $args ) = @_;
25 0 bless $args, $class;
26 }
27  
28 2 1;
29  
30 __END__
« LastFM/Session.pm ↑ Summary