EPrints/Institution.pm

filter: Statementstmt 100% 10 / 10 Branchbran 100% 2 / 2 Conditioncond 33.3% 1 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 100% 3 / 3 Podpod 0.0% 0 / 1 totaltotal 76.1% 16 / 21 CC 3 SCAR 6.4
CC
3
Cov
87%
new
2.3
AUTOLOAD
2.0
BEGIN
1.0
CRAP 1.9
« EPrints/RobotsFilter.pm ↑ Summary EPrints/Mapping.pm »
1 package Logfile::EPrints::Institution;
2  
3 6 ▶use vars qw( $AUTOLOAD );
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 =pod
6  
7 =head1 NAME
8  
9 Logfile::EPrints::Institution - Deprecated.
10  
11 =cut
12  
13 sub new
14 2 ▶{
Subroutine new: called CC=2 SCAR=8.1
Pod undocumented
15 2 my ($class,%args) = @_;
16 2 ▶ bless \%args, ref($class) || $class;
Condition33%1/3
ref $class || $class
l!l&&r!l&&!r
020
MC/DC0%0/2
ref $class || $class
ref $class $class
Truth table33%1/3
A || B
A= ref $classB= $class
ABresult
1X1
011
000
17 }
18  
19 sub AUTOLOAD
20 404 ▶{
Subroutine AUTOLOAD: called CC=2 SCAR=6.9
21 404 $AUTOLOAD =~ s/.*:://;
22 404 ▶ return if $AUTOLOAD =~ /^[A-Z]/;
Branch: 1 branch
BranchTrueFalseTotal
if $AUTOLOAD =~ /^[A-Z]/ 2 402 404
23 402 my ($self,$hit) = @_;
24 402 $self->{handler}->$AUTOLOAD($hit);
25 }
26  
27 6 1;
28  
29 =back
30  
31 =cut
« EPrints/RobotsFilter.pm ↑ Summary EPrints/Mapping.pm »