| blib/lib/UV/UDP.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 18 | 18 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 6 | 6 | 100.0 |
| pod | 1 | 1 | 100.0 |
| total | 25 | 25 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package UV::UDP; | ||||||
| 2 | |||||||
| 3 | our $VERSION = '1.900'; | ||||||
| 4 | |||||||
| 5 | 4 | 4 | 1969 | use strict; | |||
| 4 | 15 | ||||||
| 4 | 128 | ||||||
| 6 | 4 | 4 | 19 | use warnings; | |||
| 4 | 7 | ||||||
| 4 | 99 | ||||||
| 7 | 4 | 4 | 18 | use Carp (); | |||
| 4 | 5 | ||||||
| 4 | 68 | ||||||
| 8 | 4 | 4 | 16 | use Exporter qw(import); | |||
| 4 | 6 | ||||||
| 4 | 122 | ||||||
| 9 | 4 | 4 | 1866 | use parent 'UV::Handle'; | |||
| 4 | 1351 | ||||||
| 4 | 20 | ||||||
| 10 | |||||||
| 11 | our @EXPORT_OK = (@UV::UDP::EXPORT_XS,); | ||||||
| 12 | |||||||
| 13 | sub open | ||||||
| 14 | { | ||||||
| 15 | 2 | 2 | 1 | 713 | my $self = shift; | ||
| 16 | 2 | 5 | my ($fh) = @_; | ||||
| 17 | 2 | 13 | return $self->_open($fh->fileno); | ||||
| 18 | } | ||||||
| 19 | |||||||
| 20 | 1; | ||||||
| 21 | |||||||
| 22 | __END__ |