/usr/local/lib/perl5/5.44.0/utf8.pm

filter: Statementstmt 85.7% 6 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod n/a totaltotal 80.0% 8 / 10 CC 1 SCAR 2.9
CC
1
Cov
86%
unimport
2.0
BEGIN
1.0
import
1.0
CRAP 1.3
« /usr/local/lib/perl5/5.44.0/JSON/PP/Boolean.pm ↑ Summary /usr/local/lib/perl5/5.44.0/x86_64-linux/Sub/Util.pm »
1 package utf8 1.29;
2  
3 # This file only defines the import/unimport subs, the rest are implemented by
4 # always-present functions in the perl interpreter itself.
5 # See also `universal.c` in the perl source
6  
7 7 ▶use v5.40;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 7 our $utf8_hint_bits = 0x00800000;
10 7 our $ascii_hint_bits = 0x00000010; # Turned off when utf8 turned on
11  
12 38 ▶sub import {
Subroutine import: called CC=1 SCAR=0.0
13 38 $^H |= $utf8_hint_bits;
14 38 $^H &= ~$ascii_hint_bits;
15 }
16  
17 0 ▶sub unimport {
Subroutine unimport: not called CC=1 SCAR=6.9
18 0 $^H &= ~$utf8_hint_bits;
19 }
20  
21 __END__
« /usr/local/lib/perl5/5.44.0/JSON/PP/Boolean.pm ↑ Summary /usr/local/lib/perl5/5.44.0/x86_64-linux/Sub/Util.pm »