Branch Coverage

encode_gen.h
Criterion Covered Total %
branch 148 404 36.6


line true false branch
4 0 0 if( sv!=NULL ){
6 0 if( sv!=NULL ){
11 0 if( sv!=NULL ){
40 1 if( sv!=NULL ){
5 0 0 if( SvROK(sv) && (!UNBLESSED || !sv_isobject(sv)) ){
0 0 if( SvROK(sv) && (!UNBLESSED || !sv_isobject(sv)) ){
4 2 if( SvROK(sv) && (!UNBLESSED || !sv_isobject(sv)) ){
2 2 if( SvROK(sv) && (!UNBLESSED || !sv_isobject(sv)) ){
5 6 if( SvROK(sv) && (!UNBLESSED || !sv_isobject(sv)) ){
19 21 if( SvROK(sv) && (!UNBLESSED || !sv_isobject(sv)) ){
7 0 0 for(int i=visited_p-1; i>=0; --i)
1 2 for(int i=visited_p-1; i>=0; --i)
1 5 for(int i=visited_p-1; i>=0; --i)
6 18 for(int i=visited_p-1; i>=0; --i)
8 0 0 if( visited[i] == rvs )
0 1 if( visited[i] == rvs )
0 1 if( visited[i] == rvs )
1 5 if( visited[i] == rvs )
23 0 0 for(int i=0; i<=n; ++i)
5 1 for(int i=0; i<=n; ++i)
5 3 for(int i=0; i<=n; ++i)
23 11 for(int i=0; i<=n; ++i)
25 0 0 if( PRETTY && n>0 )
2 1 if( PRETTY && n>0 )
35 0 0 for(HE * entry = hv_iternext(hv); entry; entry = hv_iternext(hv)){
0 0 for(HE * entry = hv_iternext(hv); entry; entry = hv_iternext(hv)){
2 2 for(HE * entry = hv_iternext(hv); entry; entry = hv_iternext(hv)){
3 3 for(HE * entry = hv_iternext(hv); entry; entry = hv_iternext(hv)){
47 0 0 if( len==1 )
0 0 if( len==1 )
0 2 if( len==1 )
0 3 if( len==1 )
57 0 0 if( SvTYPE(rvs) < SVt_PVAV ){
1 0 if( SvTYPE(rvs) < SVt_PVAV ){
0 0 if( SvTYPE(rvs) < SVt_PVAV ){
4 0 if( SvTYPE(rvs) < SVt_PVAV ){
58 0 0 NV nv = SvNV(rvs);
0 1 NV nv = SvNV(rvs);
0 0 NV nv = SvNV(rvs);
1 3 NV nv = SvNV(rvs);
61 0 0 if( !Perl_isnan(nv) && nv == (NV)(iv = (IV) nv) ){
0 0 if( !Perl_isnan(nv) && nv == (NV)(iv = (IV) nv) ){
1 0 if( !Perl_isnan(nv) && nv == (NV)(iv = (IV) nv) ){
1 0 if( !Perl_isnan(nv) && nv == (NV)(iv = (IV) nv) ){
0 0 if( !Perl_isnan(nv) && nv == (NV)(iv = (IV) nv) ){
0 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) ){
62 0 0 if( iv == 0 )
0 1 if( iv == 0 )
0 0 if( iv == 0 )
0 4 if( iv == 0 )
64 0 0 if( iv < 0 )
0 1 if( iv < 0 )
0 0 if( iv < 0 )
0 4 if( iv < 0 )
66 0 0 while( iv ){
1 1 while( iv ){
0 0 while( iv ){
6 4 while( iv ){
74 0 0 while( buffer[len] )
0 0 while( buffer[len] )
0 0 while( buffer[len] )
0 0 while( buffer[len] )
80 0 0 if( SvOK(sv) ){
0 0 if( SvOK(sv) ){
0 0 if( SvOK(sv) ){
0 4 if( SvOK(sv) ){
0 0 if( SvOK(sv) ){
0 0 if( SvOK(sv) ){
0 6 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) ){
82 0 0 char * str = SvPV(sv, len);
2 2 char * str = SvPV(sv, len);
4 2 char * str = SvPV(sv, len);
11 8 char * str = SvPV(sv, len);
90 0 0 if( sv!=NULL ){
6 0 if( sv!=NULL ){
11 0 if( sv!=NULL ){
40 1 if( sv!=NULL ){
91 0 0 if( SvROK(sv) && (!UNBLESSED || !sv_isobject(sv)) ){
0 0 if( SvROK(sv) && (!UNBLESSED || !sv_isobject(sv)) ){
4 2 if( SvROK(sv) && (!UNBLESSED || !sv_isobject(sv)) ){
2 2 if( SvROK(sv) && (!UNBLESSED || !sv_isobject(sv)) ){
5 6 if( SvROK(sv) && (!UNBLESSED || !sv_isobject(sv)) ){
19 21 if( SvROK(sv) && (!UNBLESSED || !sv_isobject(sv)) ){
93 0 0 for(int i=visited_p-1; i>=0; --i)
1 2 for(int i=visited_p-1; i>=0; --i)
1 5 for(int i=visited_p-1; i>=0; --i)
6 18 for(int i=visited_p-1; i>=0; --i)
94 0 0 if( visited[i] == rvs )
0 1 if( visited[i] == rvs )
0 1 if( visited[i] == rvs )
1 5 if( visited[i] == rvs )
106 0 0 for(int i=0; i
4 1 for(int i=0; i
2 3 for(int i=0; i
12 11 for(int i=0; i
112 0 0 for(int i=0; i
0 2 for(int i=0; i
119 0 0 if( PRETTY && n>0 )
2 1 if( PRETTY && n>0 )
124 0 0 for(int i=0; i
0 2 for(int i=0; i
140 0 0 for(HE * entry = hv_iternext(hv); entry; entry = hv_iternext(hv)){
0 0 for(HE * entry = hv_iternext(hv); entry; entry = hv_iternext(hv)){
2 2 for(HE * entry = hv_iternext(hv); entry; entry = hv_iternext(hv)){
3 3 for(HE * entry = hv_iternext(hv); entry; entry = hv_iternext(hv)){
157 0 0 for(int i=0; i
1 2 for(int i=0; i
165 0 0 if( *(buffer-1) == '{' )
0 0 if( *(buffer-1) == '{' )
0 2 if( *(buffer-1) == '{' )
0 3 if( *(buffer-1) == '{' )
176 0 0 if( SvTYPE(rvs) < SVt_PVAV ){
1 0 if( SvTYPE(rvs) < SVt_PVAV ){
0 0 if( SvTYPE(rvs) < SVt_PVAV ){
4 0 if( SvTYPE(rvs) < SVt_PVAV ){
177 0 0 NV nv = SvNV(rvs);
1 0 NV nv = SvNV(rvs);
0 0 NV nv = SvNV(rvs);
2 2 NV nv = SvNV(rvs);
179 0 0 if( !Perl_isnan(nv) && nv == (NV)(iv = (IV) nv) ){
0 0 if( !Perl_isnan(nv) && nv == (NV)(iv = (IV) nv) ){
1 0 if( !Perl_isnan(nv) && nv == (NV)(iv = (IV) nv) ){
1 0 if( !Perl_isnan(nv) && nv == (NV)(iv = (IV) nv) ){
0 0 if( !Perl_isnan(nv) && nv == (NV)(iv = (IV) nv) ){
0 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) ){
180 0 0 if( -59074 <= iv && iv <= 59074 ){
0 0 if( -59074 <= iv && iv <= 59074 ){
1 0 if( -59074 <= iv && iv <= 59074 ){
1 0 if( -59074 <= iv && iv <= 59074 ){
0 0 if( -59074 <= iv && iv <= 59074 ){
0 0 if( -59074 <= iv && iv <= 59074 ){
4 0 if( -59074 <= iv && iv <= 59074 ){
4 0 if( -59074 <= iv && iv <= 59074 ){
187 0 0 if( iv < 0 ){
0 1 if( iv < 0 ){
0 0 if( iv < 0 ){
0 4 if( iv < 0 ){
201 0 0 digit = u >> 28; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0xfffffffUL) * 5;
0 0 digit = u >> 28; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0xfffffffUL) * 5;
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;
0 0 digit = u >> 28; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0xfffffffUL) * 5;
0 0 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;
202 0 0 digit = u >> 27; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0x7ffffffUL) * 5;
0 0 digit = u >> 27; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0x7ffffffUL) * 5;
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;
0 0 digit = u >> 27; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0x7ffffffUL) * 5;
0 0 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;
203 0 0 digit = u >> 26; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0x3ffffffUL) * 5;
0 0 digit = u >> 26; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0x3ffffffUL) * 5;
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;
0 0 digit = u >> 26; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0x3ffffffUL) * 5;
0 0 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;
204 0 0 digit = u >> 25; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0x1ffffffUL) * 5;
0 0 digit = u >> 25; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0x1ffffffUL) * 5;
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;
0 0 digit = u >> 25; *buffer = digit + '0'; buffer += (nz = nz || digit); u = (u & 0x1ffffffUL) * 5;
0 0 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;
209 0 0 while( *buffer )
0 0 while( *buffer )
0 0 while( *buffer )
0 0 while( *buffer )
215 0 0 while( *buffer )
0 0 while( *buffer )
0 0 while( *buffer )
0 0 while( *buffer )
221 0 0 if( SvOK(sv) ){
0 0 if( SvOK(sv) ){
0 0 if( SvOK(sv) ){
0 4 if( SvOK(sv) ){
0 0 if( SvOK(sv) ){
0 0 if( SvOK(sv) ){
0 6 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) ){
223 0 0 char * str = SvPV(sv, len);
2 2 char * str = SvPV(sv, len);
6 0 char * str = SvPV(sv, len);
18 1 char * str = SvPV(sv, len);