blib/lib/XML/Atom/Link.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 2 totaltotal 90.0% 18 / 20 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/XML/Atom/Category.pm ↑ Summary blib/lib/XML/Atom/Person.pm »
1 # $Id$
2  
3 package XML::Atom::Link;
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  
9 19 __PACKAGE__->mk_attr_accessors(qw( rel href hreflang title type length ));
10  
11 3 ▶sub element_name { 'link' }
Subroutine element_name: called CC=1 SCAR=0.0
Pod undocumented
12  
13 ## Maintain backwards compatibility with the old Link->set method.
14 1 ▶sub set { shift->set_attr(@_) }
Subroutine set: called CC=1 SCAR=0.0
Pod undocumented
15  
16 19 1;
« blib/lib/XML/Atom/Category.pm ↑ Summary blib/lib/XML/Atom/Person.pm »