blib/lib/Data/MinHash/Shared.pm

filter: Statementstmt 92.3% 12 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod n/a totaltotal 87.5% 14 / 16 CC 1 SCAR 2.9
CC
1
Cov
92%
CLONE_SKIP
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
↑ Summary xxhash.h »
1 package Data::MinHash::Shared;
2 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 our $VERSION = '0.06';
5 4 require XSLoader;
6 4 XSLoader::load('Data::MinHash::Shared', $VERSION);
7  
8 4 *jaccard = \&similarity; # zero-overhead aliases (same CV via typeglob)
9 4 *capacity = \&size;
10  
11 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
12 4 1;
13 __END__
↑ Summary xxhash.h »