Branch Coverage

encode_gen.h
Criterion Covered Total %
branch 113 192 58.8


line true false branch
4 6 0 if( sv!=NULL ){
40 1 if( sv!=NULL ){
5 4 2 if( SvROK(sv) && (!UNBLESSED || !sv_isobject(sv)) ){
2 2 if( SvROK(sv) && (!UNBLESSED || !sv_isobject(sv)) ){
19 21 if( SvROK(sv) && (!UNBLESSED || !sv_isobject(sv)) ){
7 1 2 for(int i=visited_p-1; i>=0; --i)
6 18 for(int i=visited_p-1; i>=0; --i)
8 0 1 if( visited[i] == rvs )
1 5 if( visited[i] == rvs )
23 5 1 for(int i=0; i<=n; ++i)
23 11 for(int i=0; i<=n; ++i)
33 0 0 for(HE * entry = hv_iternext(hv); entry; entry = hv_iternext(hv)){
3 3 for(HE * entry = hv_iternext(hv); entry; entry = hv_iternext(hv)){
43 0 0 if( len==1 )
0 3 if( len==1 )
52 1 0 if( SvTYPE(rvs) < SVt_PVAV ){
4 0 if( SvTYPE(rvs) < SVt_PVAV ){
53 0 1 NV nv = SvNV(rvs);
1 3 NV nv = SvNV(rvs);
56 1 0 if( !Perl_isnan(nv) && nv == (NV)(iv = (IV) nv) ){
1 0 if( !Perl_isnan(nv) && nv == (NV)(iv = (IV) nv) ){
4 0 if( !Perl_isnan(nv) && nv == (NV)(iv = (IV) nv) ){
4 0 if( !Perl_isnan(nv) && nv == (NV)(iv = (IV) nv) ){
57 0 1 if( iv == 0 )
0 4 if( iv == 0 )
59 0 1 if( iv < 0 )
0 4 if( iv < 0 )
61 1 1 while( iv ){
6 4 while( iv ){
69 0 0 while( buffer[len] )
0 0 while( buffer[len] )
75 0 4 if( SvOK(sv) ){
0 0 if( SvOK(sv) ){
0 0 if( SvOK(sv) ){
2 19 if( SvOK(sv) ){
2 0 if( SvOK(sv) ){
0 2 if( SvOK(sv) ){
77 2 2 char * str = SvPV(sv, len);
11 8 char * str = SvPV(sv, len);
85 6 0 if( sv!=NULL ){
40 1 if( sv!=NULL ){
86 4 2 if( SvROK(sv) && (!UNBLESSED || !sv_isobject(sv)) ){
2 2 if( SvROK(sv) && (!UNBLESSED || !sv_isobject(sv)) ){
19 21 if( SvROK(sv) && (!UNBLESSED || !sv_isobject(sv)) ){
88 1 2 for(int i=visited_p-1; i>=0; --i)
6 18 for(int i=visited_p-1; i>=0; --i)
89 0 1 if( visited[i] == rvs )
1 5 if( visited[i] == rvs )
101 4 1 for(int i=0; i
12 11 for(int i=0; i
117 0 0 for(HE * entry = hv_iternext(hv); entry; entry = hv_iternext(hv)){
3 3 for(HE * entry = hv_iternext(hv); entry; entry = hv_iternext(hv)){
131 0 0 if( *(buffer-1) == '{' )
0 3 if( *(buffer-1) == '{' )
142 1 0 if( SvTYPE(rvs) < SVt_PVAV ){
4 0 if( SvTYPE(rvs) < SVt_PVAV ){
143 1 0 NV nv = SvNV(rvs);
2 2 NV nv = SvNV(rvs);
145 1 0 if( !Perl_isnan(nv) && nv == (NV)(iv = (IV) nv) ){
1 0 if( !Perl_isnan(nv) && nv == (NV)(iv = (IV) nv) ){
4 0 if( !Perl_isnan(nv) && nv == (NV)(iv = (IV) nv) ){
4 0 if( !Perl_isnan(nv) && nv == (NV)(iv = (IV) nv) ){
146 1 0 if( -59074 <= iv && iv <= 59074 ){
1 0 if( -59074 <= iv && iv <= 59074 ){
4 0 if( -59074 <= iv && iv <= 59074 ){
4 0 if( -59074 <= iv && iv <= 59074 ){
153 0 1 if( iv < 0 ){
0 4 if( iv < 0 ){
167 1 0 digit = u >> 28; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0xfffffffUL) * 5;
0 1 digit = u >> 28; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0xfffffffUL) * 5;
4 0 digit = u >> 28; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0xfffffffUL) * 5;
0 4 digit = u >> 28; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0xfffffffUL) * 5;
168 1 0 digit = u >> 27; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0x7ffffffUL) * 5;
0 1 digit = u >> 27; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0x7ffffffUL) * 5;
4 0 digit = u >> 27; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0x7ffffffUL) * 5;
0 4 digit = u >> 27; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0x7ffffffUL) * 5;
169 1 0 digit = u >> 26; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0x3ffffffUL) * 5;
0 1 digit = u >> 26; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0x3ffffffUL) * 5;
4 0 digit = u >> 26; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0x3ffffffUL) * 5;
0 4 digit = u >> 26; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0x3ffffffUL) * 5;
170 1 0 digit = u >> 25; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0x1ffffffUL) * 5;
0 1 digit = u >> 25; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0x1ffffffUL) * 5;
4 0 digit = u >> 25; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0x1ffffffUL) * 5;
2 2 digit = u >> 25; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0x1ffffffUL) * 5;
175 0 0 while( *buffer )
0 0 while( *buffer )
181 0 0 while( *buffer )
0 0 while( *buffer )
187 0 4 if( SvOK(sv) ){
0 0 if( SvOK(sv) ){
0 0 if( SvOK(sv) ){
2 19 if( SvOK(sv) ){
2 0 if( SvOK(sv) ){
0 2 if( SvOK(sv) ){
189 2 2 char * str = SvPV(sv, len);
18 1 char * str = SvPV(sv, len);