| 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.18'; | ||||||
| 3 | 1 | 1 | 396 | use Moo::Role; | |||
| 1 | 1 | ||||||
| 1 | 6 | ||||||
| 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 | proxy | ||||||
| 25 | device | ||||||
| 26 | destroy | ||||||
| 27 | ); | ||||||
| 28 | |||||||
| 29 | 1; | ||||||
| 30 | |||||||
| 31 | __END__ |