File Coverage

blib/lib/XML/Atom/Category.pm
Criterion Covered Total %
statement 9 11 81.8
branch n/a
condition n/a
subroutine 3 5 60.0
pod 0 2 0.0
total 12 18 66.6


line stmt bran cond sub pod time code
1             # $Id$
2              
3             package XML::Atom::Category;
4 19     19   134 use strict;
  19         42  
  19         620  
5 19     19   99 use base qw( XML::Atom::Base );
  19         36  
  19         1413  
6              
7 19     19   118 use XML::Atom;
  19         41  
  19         1980  
8              
9             __PACKAGE__->mk_attr_accessors(qw( term scheme label ));
10              
11 0     0 0   sub element_name { 'category' }
12              
13             ## Maintain backwards compatibility with the old Link->set method.
14 0     0 0   sub set { shift->set_attr(@_) }
15              
16             1;