File Coverage

blib/lib/Logfile/EPrints/Institution.pm
Criterion Covered Total %
statement 9 9 100.0
branch 1 2 50.0
condition 1 3 33.3
subroutine 3 3 100.0
pod 0 1 0.0
total 14 18 77.7


line stmt bran cond sub pod time code
1             package Logfile::EPrints::Institution;
2              
3 6     6   29 use vars qw( $AUTOLOAD );
  6         11  
  6         1007  
4              
5             =pod
6              
7             =head1 NAME
8              
9             Logfile::EPrints::Institution - Deprecated.
10              
11             =cut
12              
13             sub new
14             {
15 2     2 0 19 my ($class,%args) = @_;
16 2   33     38 bless \%args, ref($class) || $class;
17             }
18              
19             sub AUTOLOAD
20             {
21 402     402   1192 $AUTOLOAD =~ s/.*:://;
22 402 50       1005 return if $AUTOLOAD =~ /^[A-Z]/;
23 402         492 my ($self,$hit) = @_;
24 402         1695 $self->{handler}->$AUTOLOAD($hit);
25             }
26              
27             1;
28              
29             =back
30              
31             =cut