Constants/V4_0_4.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 23 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Constants/V3_1_2.pm ↑ Summary
1 package ZMQ::Constants::V4_0_4;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use ZMQ::Constants ();
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use Storable ();
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 my %not_in_v4 = map { ( $_ => 1 ) } qw(
7  
8 ZMQ_DELIMITER
9 ZMQ_DOWNSTREAM
10 ZMQ_HWM
11 ZMQ_MAX_VSM_SIZE
12 ZMQ_MCAST_LOOP
13 ZMQ_MSG_MASK
14 ZMQ_MSG_MORE
15 ZMQ_MSG_SHARED
16 ZMQ_RECOVERY_IVL_MSEC
17 ZMQ_SWAP
18 ZMQ_UPSTREAM
19 ZMQ_VSM
20  
21 );
22  
23 1 my $export_tags = Storable::dclone( \%ZMQ::Constants::EXPORT_TAGS );
24 $export_tags->{socket} = [
25 1 'ZMQ_FAIL_UNROUTABLE', grep { !$not_in_v4{$_} } @{ $export_tags->{socket} }
26 ];
27 $export_tags->{message} =
28 1 [ grep { !$not_in_v4{$_} } @{ $export_tags->{message} } ];
29  
30 1 ZMQ::Constants::register_set( '4.0.4' => ( tags => $export_tags, ) );
31  
32 1 1;
« Constants/V3_1_2.pm ↑ Summary