Branch Coverage

lib/UV/Util.xs
Criterion Covered Total %
branch 15 28 53.5


line true false branch
31 0 1 if (err != 0) {
36 16 1 for (i = 0; i < count; i++) {
80 0 1 if (err < 0) {
110 0 1 if (!fh) {
114 0 1 if (fn == -1) {
135 0 1 if (err != 0) {
140 2 1 for (i = 0; i < count; i++) {
148 2 0 if (interfaces[i].address.address4.sin_family == AF_INET) {
150 0 0 } else if (interfaces[i].address.address4.sin_family == AF_INET6) {
156 2 0 if (interfaces[i].netmask.netmask4.sin_family == AF_INET) {
158 0 0 } else if (interfaces[i].netmask.netmask4.sin_family == AF_INET6) {
187 3 1 for (i = 0; i < 3; i++) {
200 1 0 if (err==0) {
215 1 0 if (err==0) {