Atom/Category.pm

filter: Statementstmt 84.6% 11 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod 0.0% 0 / 2 totaltotal 70.0% 14 / 20 CC 1 SCAR 3.4
CC
1
Cov
85%
element_name
2.0
set
2.0
BEGIN
1.0
CRAP 1.4
« Atom/Entry.pm ↑ Summary Atom/Link.pm »
1 # $Id$
2  
3 package XML::Atom::Category;
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( term scheme label ));
10  
11 0 ▶sub element_name { 'category' }
Subroutine element_name: not called CC=1 SCAR=6.9
Pod undocumented
12  
13 ## Maintain backwards compatibility with the old Link->set method.
14 0 ▶sub set { shift->set_attr(@_) }
Subroutine set: not called CC=1 SCAR=6.9
Pod undocumented
15  
16 19 1;
« Atom/Entry.pm ↑ Summary Atom/Link.pm »