blib/lib/ZMQ/FFI/ContextRole.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 3 | 3 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 1 | 1 | 100.0 |
pod | n/a | ||
total | 4 | 4 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package ZMQ::FFI::ContextRole; | ||||||
2 | $ZMQ::FFI::ContextRole::VERSION = '0.16'; | ||||||
3 | 1 | 1 | 642 | use Moo::Role; | |||
1 | 1 | ||||||
1 | 8 | ||||||
4 | |||||||
5 | has soname => ( | ||||||
6 | is => 'ro', | ||||||
7 | required => 1, | ||||||
8 | ); | ||||||
9 | |||||||
10 | has threads => ( | ||||||
11 | is => 'ro', | ||||||
12 | predicate => 'has_threads', | ||||||
13 | ); | ||||||
14 | |||||||
15 | has max_sockets => ( | ||||||
16 | is => 'ro', | ||||||
17 | predicate => 'has_max_sockets', | ||||||
18 | ); | ||||||
19 | |||||||
20 | requires qw( | ||||||
21 | get | ||||||
22 | set | ||||||
23 | socket | ||||||
24 | destroy | ||||||
25 | ); | ||||||
26 | |||||||
27 | 1; | ||||||
28 | |||||||
29 | __END__ |