Atom/Person.pm

filter: Statementstmt 100% 21 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 0.0% 0 / 1 totaltotal 96.4% 27 / 28 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Atom/Link.pm ↑ Summary
1 # $Id$
2  
3 package XML::Atom::Person;
4 19 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 19 ▶use base qw( XML::Atom::Base );
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 19 ▶use XML::Atom;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 19 ▶use XML::Atom::Feed;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 19 ▶use XML::Atom::Entry;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 19 __PACKAGE__->mk_elem_accessors(qw( email name uri url homepage ));
12  
13 19 for my $class (qw( XML::Atom::Feed XML::Atom::Entry )) {
14 38 $class->mk_object_accessor( author => __PACKAGE__ );
15 38 $class->mk_object_accessor( contributor => __PACKAGE__ );
16 }
17  
18 2 ▶sub element_name { 'author' }
Subroutine element_name: called CC=1 SCAR=0.0
Pod undocumented
19  
20 19 1;
21 __END__
« Atom/Link.pm ↑ Summary