Box/Tie.pm

filter: Statementstmt 63.6% 14 / 22 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod n/a totaltotal 56.2% 18 / 32 CC 3 SCAR 12.5
CC
3
Cov
54%
TIEHASH
6.0
TIEARRAY
6.0
BEGIN
1.0
CRAP 3.5
« Box/Locker.pm ↑ Summary Message/Body/Delayed.pm »
1 # Copyrights 2001-2020 by [Mark Overmeer].
2 # For other contributors see ChangeLog.
3 # See the manual pages for details on the licensing terms.
4 # Pod stripped from pm file by OODoc 2.02.
5 # This code is part of distribution Mail-Box. Meta-POD processed with
6 # OODoc into POD and HTML manual-pages. See README.md
7 # Copyright Mark Overmeer. Licensed under the same terms as Perl itself.
8  
9 package Mail::Box::Tie;
10 1 ▶use vars '$VERSION';
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 $VERSION = '3.009';
12  
13  
14 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
16  
17 1 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
18  
19  
20 #-------------------------------------------
21  
22 sub TIEHASH(@)
23 0 ▶{ my $class = (shift) . "::HASH";
Subroutine TIEHASH: not called CC=2 SCAR=17.9
24 0 eval "require $class"; # bootstrap
25  
26 0 ▶ confess $@ if $@;
Branch: 1 branch
BranchTrueFalseTotal
if $@ 0 0 0
27 0 $class->TIEHASH(@_);
28 }
29  
30 #-------------------------------------------
31  
32 sub TIEARRAY(@)
33 0 ▶{ my $class = (shift) . "::ARRAY";
Subroutine TIEARRAY: not called CC=2 SCAR=17.9
34 0 eval "require $class"; # bootstrap
35  
36 0 ▶ confess $@ if $@;
Branch: 1 branch
BranchTrueFalseTotal
if $@ 0 0 0
37 0 $class->TIEARRAY(@_);
38 }
39  
40 #-------------------------------------------
41  
42 1 1;
« Box/Locker.pm ↑ Summary Message/Body/Delayed.pm »