Contacts/Type/Category.pm

filter: Statementstmt 100% 22 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 27 / 27 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Contacts/Type/Birthday.pm ↑ Summary Contacts/Type/ContactEvent.pm »
1 package WWW::Google::Contacts::Type::Category;
2 {
3 19 $WWW::Google::Contacts::Type::Category::VERSION = '0.39';
4 }
5  
6 19 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 19 ▶use MooseX::Types::Moose qw( Str );
Subroutine BEGIN: called CC=1 SCAR=0.0
8 19 ▶use WWW::Google::Contacts::InternalTypes qw( Rel );
Subroutine BEGIN: called CC=1 SCAR=0.0
9 19 ▶use WWW::Google::Contacts::Meta::Attribute::Trait::XmlField;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 19 extends 'WWW::Google::Contacts::Type::Base';
12  
13 19 has type => (
14 isa => Rel,
15 is => 'rw',
16 traits => ['XmlField'],
17 xml_key => 'scheme',
18 predicate => 'has_type',
19 coerce => 1,
20 required => 1,
21 );
22  
23 19 has term => (
24 isa => Rel,
25 is => 'rw',
26 traits => ['XmlField'],
27 xml_key => 'term',
28 predicate => 'has_term',
29 coerce => 1,
30 required => 1,
31 );
32  
33 19 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
34 19 __PACKAGE__->meta->make_immutable;
35 19 1;
36 __END__
« Contacts/Type/Birthday.pm ↑ Summary Contacts/Type/ContactEvent.pm »