| blib/lib/DummySocket.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 10 | 10 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 6 | 6 | 100.0 |
| pod | 0 | 4 | 0.0 |
| total | 16 | 20 | 80.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package DummySocket; | ||||||
| 2 | 2 | 2 | 28 | use parent 'IO::Socket::UNIX'; | |||
| 2 | 4 | ||||||
| 2 | 20 | ||||||
| 3 | 2 | 2 | 156 | use strict; | |||
| 2 | 4 | ||||||
| 2 | 190 | ||||||
| 4 | |||||||
| 5 | # Mojo::UserAgent->_connected calls these: they're not important for a unix | ||||||
| 6 | # socket, but the methods have to be there. | ||||||
| 7 | 1 | 1 | 0 | 4940 | sub sockhost { \1 }; | ||
| 8 | 1 | 1 | 0 | 30 | sub peerhost { \1 }; | ||
| 9 | 1 | 1 | 0 | 43 | sub sockport { -1 }; | ||
| 10 | 1 | 1 | 0 | 67 | sub peerport { -1 }; | ||
| 11 | |||||||
| 12 | 1; |