line |
true |
false |
branch |
31
|
11 |
21 |
while ( IS_SPACE( (unsigned char) *str) ) { |
|
2 |
19 |
while ( IS_SPACE( (unsigned char) *str) ) { |
|
2 |
17 |
while ( IS_SPACE( (unsigned char) *str) ) { |
|
2 |
15 |
while ( IS_SPACE( (unsigned char) *str) ) { |
|
2 |
13 |
while ( IS_SPACE( (unsigned char) *str) ) { |
37
|
32 |
0 |
while (end > str && isspace( (unsigned char) *end) ) { |
|
19 |
13 |
while (end > str && isspace( (unsigned char) *end) ) { |
59
|
14 |
0 |
if ( !map || SvTYPE(map) != SVt_RV || SvTYPE(SvRV(map)) != SVt_PVAV |
|
13 |
1 |
if ( !map || SvTYPE(map) != SVt_RV || SvTYPE(SvRV(map)) != SVt_PVAV |
|
13 |
0 |
if ( !map || SvTYPE(map) != SVt_RV || SvTYPE(SvRV(map)) != SVt_PVAV |
|
0 |
13 |
if ( !map || SvTYPE(map) != SVt_RV || SvTYPE(SvRV(map)) != SVt_PVAV |
60
|
0 |
0 |
|| AvFILL( SvRV(map) ) <= 0 |
|
1 |
12 |
|| AvFILL( SvRV(map) ) <= 0 |
69
|
678 |
12 |
for ( i = 0; i < len; ++i, ++ptr, ++ix_newstr ) { |
72
|
132 |
546 |
if ( ix < 0 ) ix = 256 + ix; |
76
|
0 |
678 |
if ( ix >= AvFILL(mapav) |
|
677 |
1 |
if ( ix >= AvFILL(mapav) |
77
|
0 |
677 |
|| !AvARRAY(mapav)[ix] |
82
|
677 |
0 |
if ( SvPOK( entry ) ) { |
84
|
0 |
677 |
if ( slen <= 0 ) { |
91
|
7 |
670 |
if (str_size <= (ix_newstr + slen + 1) ) { /* +1 for \0 */ |
95
|
4 |
3 |
if ( str == buffer ) { |
97
|
0 |
4 |
Newx(str, str_size, char*); |
102
|
0 |
3 |
if ( !tmp ) Perl_croak(aTHX_ "failed to realloc string" ); |
108
|
125 |
677 |
for ( j = 0 ; j < slen - 1; ++j ) { |
124
|
4 |
8 |
if ( str != buffer ) free(str); |
136
|
17 |
0 |
if ( sv && SvPOK(sv) ) { |
|
14 |
3 |
if ( sv && SvPOK(sv) ) { |
148
|
16 |
0 |
if ( sv && SvPOK(sv) ) { |
|
13 |
3 |
if ( sv && SvPOK(sv) ) { |