Branch Coverage

Interface.xs
Criterion Covered Total %
branch 11 44 25.0


line true false branch
61 0 1 if(ret<0){
78 0 0 while(next){
84 0 0 mXPUSHs(newSVuv(count));
95 4 1 while(next){
99 4 0 if(next->ifa_name){
102 4 0 if(next->ifa_flags){
105 4 0 if(next->ifa_addr){
108 3 1 if(next->ifa_netmask){
111 3 1 if(next->ifa_dstaddr){
117 0 4 mXPUSHs(newRV((SV *)h));
139 0 0 if(SvOK(name)&&SvPOK(name)){
0 0 if(SvOK(name)&&SvPOK(name)){
141 0 0 p=SvGROW(name, len+1);
0 0 p=SvGROW(name, len+1);
145 0 0 mXPUSHs(newSVuv(ret));
165 0 0 if(SvOK(index)){
167 0 0 if(ret == p){
171 0 0 mXPUSHs(result);
193 0 0 if(results ==NULL){
199 0 0 while((next->if_index !=0 )&&
200 0 0 (next->if_name != NULL)){
201 0 0 EXTEND(SP,2);