blib/lib/Data/SortedSet/Shared.pm

filter: Statementstmt 92.8% 13 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 1 totaltotal 84.2% 16 / 19 CC 1 SCAR 2.2
CC
1
Cov
93%
CLONE_SKIP
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« blib/lib/Data/SortedSet/Shared/Strings.pm ↑ Summary sortedset.h »
1 package Data::SortedSet::Shared;
2 10 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 10 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 10 our $VERSION = '0.08';
5 10 require XSLoader;
6 10 XSLoader::load('Data::SortedSet::Shared', $VERSION);
7  
8 0 ▶sub CLONE_SKIP { 1 } # blessed C-pointer handle: never clone into ithreads (double-free)
Subroutine CLONE_SKIP: not called CC=1 SCAR=6.9
9  
10 # String-keyed sets: members are arbitrary byte strings instead of int64 ids.
11 # Convenience constructor that builds a Data::SortedSet::Shared::Strings, which
12 # interns keys to ids via Data::Intern::Shared.
13 1 ▶sub new_strings {
Subroutine new_strings: called CC=1 SCAR=0.0
Pod undocumented
14 1 my $class = shift;
15 1 require Data::SortedSet::Shared::Strings;
16 1 return Data::SortedSet::Shared::Strings->new(@_);
17 }
18  
19 10 1;
20 __END__
« blib/lib/Data/SortedSet/Shared/Strings.pm ↑ Summary sortedset.h »