Contacts/Type/UserDefined.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 23 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Contacts/Type/Sensitivity.pm ↑ Summary
1 package WWW::Google::Contacts::Type::UserDefined;
2 {
3 19 $WWW::Google::Contacts::Type::UserDefined::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::Meta::Attribute::Trait::XmlField;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 19 extends 'WWW::Google::Contacts::Type::Base';
11  
12 19 has key => (
13 isa => Str,
14 is => 'rw',
15 traits => ['XmlField'],
16 xml_key => 'key',
17 predicate => 'has_key',
18 required => 1,
19 );
20  
21 19 has value => (
22 isa => Str,
23 is => 'rw',
24 traits => ['XmlField'],
25 xml_key => 'value',
26 predicate => 'has_value',
27 required => 1,
28 );
29  
30 19 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
31 19 __PACKAGE__->meta->make_immutable;
32 19 1;
33 __END__
« Contacts/Type/Sensitivity.pm ↑ Summary