blib/lib/Algorithm/FastPermute.pm

filter: Statementstmt 100% 17 / 17 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 95.4% 21 / 22 CC 2 SCAR 4.2
CC
2
Cov
95%
BEGIN
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.5
« blib/lib/Algorithm/perms.pl ↑ Summary FastPermute.xs »
1 package Algorithm::FastPermute;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶BEGIN {
Subroutine BEGIN: called CC=2 SCAR=7.1
5 1 eval {require warnings};
6 1 ▶ warnings->import if !$@
Branch: 1 branch
BranchTrueFalseTotal
if not $@ 1 0 1
7 }
8  
9 1 require 5.006;
10 1 require Exporter;
11 1 require DynaLoader;
12  
13 1 ▶use vars qw(@ISA @EXPORT $VERSION);
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 1 @ISA = qw(Exporter DynaLoader);
16 1 @EXPORT = qw(permute);
17 1 $VERSION = '0.999';
18  
19 1 bootstrap Algorithm::FastPermute $VERSION;
20  
21 1 1;
22 __END__
« blib/lib/Algorithm/perms.pl ↑ Summary FastPermute.xs »