blib/lib/List/SomeUtils/XS.pm untested

filter: Statementstmt 0.0% 0 / 26 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod n/a totaltotal 0.0% 0 / 34 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package List::SomeUtils::XS;
2  
3 use 5.006;
4 use strict;
5 use warnings;
6  
7 our $VERSION = '0.59';
8  
9 require XSLoader;
10 XSLoader::load( __PACKAGE__, $VERSION );
11  
12 require List::SomeUtils::PP;
13  
14 # This list is copied from List::SomeUtils itself and should be updated
15 # when subs are added.
16 my @subs = qw(
17 after
18 after_incl
19 all
20 all_u
21 any
22 any_u
23 apply
24 before
25 before_incl
26 bsearch
27 bsearchidx
28 each_array
29 each_arrayref
30 false
31 firstidx
32 firstres
33 firstval
34 indexes
35 insert_after
36 insert_after_string
37 lastidx
38 lastres
39 lastval
40 mesh
41 minmax
42 mode
43 natatime
44 none
45 none_u
46 notall
47 notall_u
48 nsort_by
49 one
50 one_u
51 onlyidx
52 onlyres
53 onlyval
54 pairwise
55 part
56 singleton
57 sort_by
58 true
59 uniq
60 );
61  
62 for my $sub (@subs) {
63 next if __PACKAGE__->can($sub);
64 ## no critic (TestingAndDebugging::ProhibitNoStrict)
65 no strict 'refs';
66 *{$sub} = List::SomeUtils::PP->can($sub);
67 }
68  
69 1;
70  
71 # ABSTRACT: XS implementation for List::SomeUtils
72  
73 __END__