File Coverage

blib/lib/XRI/Descriptor/LocalAccess.pm
Criterion Covered Total %
statement 4 10 40.0
branch 2 6 33.3
condition n/a
subroutine 2 4 50.0
pod 1 4 25.0
total 9 24 37.5


line stmt bran cond sub pod time code
1             # Copyright (C) 2004 Identity Commons. All Rights Reserved.
2             # See LICENSE for licensing details
3              
4             # Author: Eugene Eric Kim
5              
6             package XRI::Descriptor::LocalAccess;
7              
8             our $VERSION = 0.1;
9              
10             sub new {
11 1     1 1 5 bless {}, shift;
12             }
13              
14             ### accessors/mutators
15              
16             sub service {
17 0     0 0 0 my $self = shift;
18 0 0       0 $self->{service} = shift if (@_);
19 0         0 return $self->{service};
20             }
21              
22             sub uris {
23 4     4 0 1686 my $self = shift;
24 4 100       21 $self->{uris} = shift if (@_);
25 4         121 return $self->{uris};
26             }
27              
28             sub types {
29 0     0 0   my $self = shift;
30 0 0         $self->{types} = shift if (@_);
31 0           return $self->{types};
32             }
33              
34             1;
35             __END__