Songkick/MusicBrainz.pm

filter: Statementstmt 95.0% 19 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod n/a totaltotal 92.3% 24 / 26 CC 1 SCAR 0.2
CC
1
Cov
95%
__ANON__
1.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Songkick/Types.pm ↑ Summary Songkick/Performance.pm »
1 =head1 NAME
2  
3 Net::Songkick::City - Models a MusicBrainz identifier in the Songkick API
4  
5 =cut
6  
7 package Net::Songkick::MusicBrainz;
8  
9 7 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 7 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 7 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 7 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 coerce 'Net::Songkick::MusicBrainz',
15 from 'HashRef',
16 0 ▶ via { Net::Songkick::MusicBrainz->new($_) };
Subroutine __ANON__: not called CC=1 SCAR=1.2
17  
18 has $_ => (
19 is => 'ro',
20 isa => 'Str',
21 7 ) for qw[href mbid];
22  
23 7 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
24 7 __PACKAGE__->meta->make_immutable;
25  
26 =head1 AUTHOR
27  
28 Dave Cross <dave@perlhacks.com>
29  
30 =head1 SEE ALSO
31  
32 perl(1), L<http://www.songkick.com/>, L<http://developer.songkick.com/>
33  
34 =head1 COPYRIGHT AND LICENSE
35  
36 Copyright (C) 2018, Magnum Solutions Ltd. All Rights Reserved.
37  
38 This script is free software; you can redistribute it and/or modify it
39 under the same terms as Perl itself.
40  
41 =cut
42  
43 7 1;
« Songkick/Types.pm ↑ Summary Songkick/Performance.pm »