Branch Coverage

lib/File/Listing/Ftpcopy.xs
Criterion Covered Total %
branch 50 60 83.3


line true false branch
14 0 11 PERL_MATH_INT64_LOAD_OR_CROAK;
25 5 1 if(val)
55 1 4 if(fp.symlink != NULL)
81 42 11 if(val && !(fp.namelen == 1 && fp.name[0] == '.') && !(fp.namelen == 2 && fp.name[0] == '.' && fp.name[1] == '.'))
4 38 if(val && !(fp.namelen == 1 && fp.name[0] == '.') && !(fp.namelen == 2 && fp.name[0] == '.' && fp.name[1] == '.'))
0 4 if(val && !(fp.namelen == 1 && fp.name[0] == '.') && !(fp.namelen == 2 && fp.name[0] == '.' && fp.name[1] == '.'))
4 34 if(val && !(fp.namelen == 1 && fp.name[0] == '.') && !(fp.namelen == 2 && fp.name[0] == '.' && fp.name[1] == '.'))
4 0 if(val && !(fp.namelen == 1 && fp.name[0] == '.') && !(fp.namelen == 2 && fp.name[0] == '.' && fp.name[1] == '.'))
0 4 if(val && !(fp.namelen == 1 && fp.name[0] == '.') && !(fp.namelen == 2 && fp.name[0] == '.' && fp.name[1] == '.'))
85 34 0 if(fp.symlink != NULL)
87 8 26 else if(fp.flagtrycwd && !fp.flagtryretr)
0 8 else if(fp.flagtrycwd && !fp.flagtryretr)
89 26 0 else if(!fp.flagtrycwd && fp.flagtryretr)
0 26 else if(!fp.flagtrycwd && fp.flagtryretr)
94 4 30 if(fp.sizetype == FTPPARSE_SIZE_UNKNOWN)
103 0 34 if(fp.mtimetype == FTPPARSE_MTIME_UNKNOWN)
142 26 1 if(!strcmp(name, "FORMAT_EPLF"))
144 25 1 else if(!strcmp(name, "FORMAT_LS"))
146 24 1 else if(!strcmp(name, "FORMAT_MLSX"))
148 23 1 else if(!strcmp(name, "FORMAT_UNKNOWN"))
150 22 1 else if(!strcmp(name, "ID_FULL"))
152 21 1 else if(!strcmp(name, "ID_UNKNOWN"))
154 15 6 else if(!strcmp(name, "MTIME_LOCAL"))
156 13 2 else if(!strcmp(name, "MTIME_REMOTEDAY"))
158 7 6 else if(!strcmp(name, "MTIME_REMOTEMINUTE"))
160 6 1 else if(!strcmp(name, "MTIME_REMOTESECOND"))
162 5 1 else if(!strcmp(name, "MTIME_UNKNOWN"))
164 4 1 else if(!strcmp(name, "SIZE_ASCII"))
166 2 2 else if(!strcmp(name, "SIZE_BINARY"))
168 0 2 else if(!strcmp(name, "SIZE_UNKNOWN"))