| FD.xs | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 18 | 24 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 27 | 4 | 0 | SvGROW(buffer, len+read_size); //Grow the buffer if required |
| 1 | 3 | SvGROW(buffer, len+read_size); //Grow the buffer if required | |
| 31 | 3 | 1 | if(ret>=0){ |
| 43 | 1 | 2 | while(ret>0); |
| 124 | 9 | 0 | if(SvOK(fd)&& SvIOK(fd)){ |
| 9 | 0 | if(SvOK(fd)&& SvIOK(fd)){ | |
| 126 | 9 | 0 | if(irs){ |
| 127 | 6 | 3 | #Found variable. Read records |
| 128 | 5 | 1 | if(SvOK(irs)){ |
| 139 | 4 | 1 | SvPOK_on(buffer); //Make a string |
| 142 | 0 | 4 | SvCUR_set(buffer,ret); //Set the length of the string |
| 159 | 0 | 3 | //SLURP entire file |