| lib/Term/ANSI/Sprintf.xs | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 20 | 26 | 76.9 |
| line | true | false | branch |
|---|---|---|---|
| 270 | 0 | 972 | if (len_rep == 0) return orig; |
| 272 | 7 | 972 | for (count = 0; (tmp = strstr(ins, rep)); ++count) { |
| 275 | 965 | 7 | if (count == 0) return orig; |
| 276 | 4 | 3 | if (colour) { |
| 278 | 4 | 0 | if (map[2]) { |
| 288 | 0 | 7 | if (!result) return orig; |
| 289 | 7 | 7 | while (count--) { |
| 304 | 12 | 4 | for (i = 0; i < size; i++) { |
| 308 | 960 | 4 | for (i = 0; i < size; i++) { |
| 325 | 0 | 4 | PUSHMARK(SP); |
| 326 | 4 | 0 | EXTEND(SP, len + 2); |
| 0 | 4 | EXTEND(SP, len + 2); | |
| 330 | 4 | 4 | for (i = 0; i <= len; i++) { |