Contacts/Type/Priority.pm

filter: Statementstmt 95.4% 21 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod 0.0% 0 / 1 totaltotal 89.6% 26 / 29 CC 1 SCAR 1.5
CC
1
Cov
95%
value
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Contacts/Type/GroupMembership.pm ↑ Summary Contacts/Meta/Attribute/Trait/XmlField.pm »
1 package WWW::Google::Contacts::Type::Priority;
2 {
3 19 $WWW::Google::Contacts::Type::Priority::VERSION = '0.38';
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 => Str,
15 is => 'rw',
16 traits => ['XmlField'],
17 xml_key => 'rel',
18 required => 1,
19 );
20  
21 0 ▶sub value { $_[0]->type }
Subroutine value: not called CC=1 SCAR=6.9
Pod undocumented
22  
23 19 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
24 19 __PACKAGE__->meta->make_immutable;
25 19 1;
26 __END__
« Contacts/Type/GroupMembership.pm ↑ Summary Contacts/Meta/Attribute/Trait/XmlField.pm »