blib/lib/Acme/USIG.pm

filter: Statementstmt 100% 14 / 14 Branchbran 50.0% 1 / 2 Conditioncond 50.0% 1 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 86.9% 20 / 23 CC 3 SCAR 5.2
CC
3
Cov
89%
is
2.0
is
2.0
BEGIN
1.0
CRAP 1.7
↑ Summary
1  
2 package Acme::USIG;
3 2 ▶use vars '$VERSION';
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 $VERSION = '1.04';
5  
6 2 my $strict_import;
7 1 ▶sub gay::is {
Subroutine is: called CC=2 SCAR=7.0
8 1 ▶ $strict_import ||= \&strict::import;
Condition50%1/2
$strict_import ||= \&strict::import
l!l
01
MC/DC0%0/1
$strict_import ||= \&strict::import
$strict_import
Truth table50%1/2
A
A= $strict_import
Aresult
11
00
9 1 local $^W = 0; # though it's unlikely that someone who thinks use
10 # strict is gay would be running -w, it's worth
11 # making sure
12  
13 1 ▶ *strict::import = sub { $^H };
Subroutine __ANON__: called CC=1 SCAR=0.0
14 1 "http://web.archive.org/web/20010714061728/http://www.cookwood.com/cgi-bin/lcastro/perlbbs.pl?read=4700"
15 }
16  
17 1 ▶sub cool::is {
Subroutine is: called CC=2 SCAR=7.1
18 1 local $^W = 0;
19 1 ▶ *strict::import = $strict_import if $strict_import;
Branch: 1 branch
BranchTrueFalseTotal
if $strict_import 0 1 1
20 1 qw( vars subs refs )
21 }
22  
23 2 1;
24 __END__
↑ Summary