| Fast.xs | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 22 | 30 | 73.3 |
| line | true | false | branch |
|---|---|---|---|
| 28 | 1 | 39 | if (!hostname) |
| 30 | 1 | 38 | if (!sender) |
| 32 | 1 | 37 | if (!name) |
| 35 | 0 | 37 | if (!RETVAL) |
| 37 | 9 | 28 | if (LSF_init(RETVAL, proto, hostname, port, facility, severity, sender, name) < 0) |
| 46 | 0 | 28 | if (LSF_destroy(logger)) |
| 59 | 35 | 0 | msgstr = SvPV(logmsg, msglen); |
| 62 | 5 | 30 | if (RETVAL < 0) |
| 76 | 0 | 108 | if (!hostname) |
| 79 | 0 | 108 | if (ret < 0) |
| 113 | 1 | 9 | if (!sender) |
| 116 | 0 | 9 | if (ret < 0) |
| 126 | 1 | 9 | if (!name) |
| 129 | 0 | 9 | if (ret < 0) |
| 149 | 0 | 14 | if (ret < 0) |