blib/lib/Data/TimingWheel/Shared.pm

filter: Statementstmt 91.6% 11 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod n/a totaltotal 86.6% 13 / 15 CC 1 SCAR 2.9
CC
1
Cov
92%
CLONE_SKIP
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
↑ Summary timingwheel.h »
1 package Data::TimingWheel::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.05';
5 4 require XSLoader;
6 4 XSLoader::load('Data::TimingWheel::Shared', $VERSION);
7  
8 4 *schedule = \&add; # zero-overhead alias (same CV via typeglob)
9  
10 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
11 4 1;
12 __END__
↑ Summary timingwheel.h »