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 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Atom/Category.pm ↑ Summary Atom/Person.pm »
1 # $Id$
2  
3 package XML::Atom::Link;
4 20 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 20 ▶use base qw( XML::Atom::Base );
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 20 ▶use XML::Atom;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 20 __PACKAGE__->mk_attr_accessors(qw( rel href hreflang title type length ));
10  
11 4 ▶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 2 ▶sub set { shift->set_attr(@_) }
Subroutine set: called CC=1 SCAR=0.0
Pod undocumented
15  
16 20 1;
« Atom/Category.pm ↑ Summary Atom/Person.pm »