File Coverage

blib/lib/XML/Atom/Service.pm
Criterion Covered Total %
statement 10 12 83.3
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 14 16 87.5


line stmt bran cond sub pod time code
1             package XML::Atom::Service;
2              
3 2     2   164208 use warnings;
  2         5  
  2         102  
4 2     2   13 use strict;
  2         4  
  2         78  
5 2     2   13 use Carp;
  2         11  
  2         469  
6              
7 2     2   10134 use XML::Atom 0.27;
  0            
  0            
8             use XML::Atom::Workspace;
9             use XML::Atom::Collection;
10             use XML::Atom::Categories;
11             use XML::Atom::Atompub;
12             use base qw(XML::Atom::Thing);
13              
14             use version; our $VERSION = qv('0.16.2');
15              
16             #our $DefaultNamespace = 'http://purl.org/atom/app#';
17             our $DefaultNamespace = 'http://www.w3.org/2007/app';
18              
19             $XML::Atom::DefaultVersion = '1.0';
20              
21             sub element_name { 'service' }
22              
23             sub element_ns { $DefaultNamespace }
24              
25             __PACKAGE__->mk_object_list_accessor('workspace' => 'XML::Atom::Workspace', 'workspaces');
26              
27             1;
28             __END__