Branch Coverage

gen-perl/ThriftTest/Types.pm
Criterion Covered Total %
branch 20 698 2.8


line true false branch
31 0 0 if (UNIVERSAL::isa($vals, "HASH"))
32 0 0 if (defined $vals->{'message'})
35 0 0 if (defined $vals->{'type'})
56 0 0 if ($ftype == 0)
61 0 0 if ($ftype == 11) { }
0 0 if (/^1$/)
67 0 0 if ($ftype == 8) { }
0 0 if (/^2$/)
85 0 0 if (defined $self->{'message'})
90 0 0 if (defined $self->{'type'})
110 0 0 if (UNIVERSAL::isa($vals, "HASH"))
111 0 0 if (defined $vals->{'im_true'})
114 0 0 if (defined $vals->{'im_false'})
135 0 0 if ($ftype == 0)
140 0 0 if ($ftype == 2) { }
0 0 if (/^1$/)
146 0 0 if ($ftype == 2) { }
0 0 if (/^2$/)
164 0 0 if (defined $self->{'im_true'})
169 0 0 if (defined $self->{'im_false'})
191 3 0 if (UNIVERSAL::isa($vals, "HASH"))
192 0 3 if (defined $vals->{'string_thing'})
195 0 3 if (defined $vals->{'byte_thing'})
198 0 3 if (defined $vals->{'i32_thing'})
201 0 3 if (defined $vals->{'i64_thing'})
222 2 6 if ($ftype == 0)
227 2 0 if ($ftype == 11) { }
2 4 if (/^1$/)
233 0 0 if ($ftype == 3) { }
0 4 if (/^4$/)
239 2 0 if ($ftype == 8) { }
2 2 if (/^9$/)
245 2 0 if ($ftype == 10) { }
2 0 if (/^11$/)
263 2 0 if (defined $self->{'string_thing'})
268 0 2 if (defined $self->{'byte_thing'})
273 2 0 if (defined $self->{'i32_thing'})
278 2 0 if (defined $self->{'i64_thing'})
299 0 0 if (UNIVERSAL::isa($vals, "HASH"))
300 0 0 if (defined $vals->{'byte_thing'})
303 0 0 if (defined $vals->{'struct_thing'})
306 0 0 if (defined $vals->{'i32_thing'})
327 0 0 if ($ftype == 0)
332 0 0 if ($ftype == 3) { }
0 0 if (/^1$/)
338 0 0 if ($ftype == 12) { }
0 0 if (/^2$/)
345 0 0 if ($ftype == 8) { }
0 0 if (/^3$/)
363 0 0 if (defined $self->{'byte_thing'})
368 0 0 if (defined $self->{'struct_thing'})
373 0 0 if (defined $self->{'i32_thing'})
395 0 0 if (UNIVERSAL::isa($vals, "HASH"))
396 0 0 if (defined $vals->{'string_thing'})
399 0 0 if (defined $vals->{'changed'})
402 0 0 if (defined $vals->{'i32_thing'})
405 0 0 if (defined $vals->{'i64_thing'})
426 0 0 if ($ftype == 0)
431 0 0 if ($ftype == 11) { }
0 0 if (/^1$/)
437 0 0 if ($ftype == 8) { }
0 0 if (/^4$/)
443 0 0 if ($ftype == 8) { }
0 0 if (/^9$/)
449 0 0 if ($ftype == 10) { }
0 0 if (/^11$/)
467 0 0 if (defined $self->{'string_thing'})
472 0 0 if (defined $self->{'changed'})
477 0 0 if (defined $self->{'i32_thing'})
482 0 0 if (defined $self->{'i64_thing'})
502 0 0 if (UNIVERSAL::isa($vals, "HASH"))
503 0 0 if (defined $vals->{'userMap'})
506 0 0 if (defined $vals->{'xtructs'})
527 0 0 if ($ftype == 0)
532 0 0 if ($ftype == 13) { }
0 0 if (/^1$/)
553 0 0 if ($ftype == 15) { }
0 0 if (/^2$/)
584 0 0 if (defined $self->{'userMap'})
599 0 0 if (defined $self->{'xtructs'})
630 0 0 if (UNIVERSAL::isa($vals, "HASH"))
631 0 0 if (defined $vals->{'string_field'})
634 0 0 if (defined $vals->{'set_field'})
637 0 0 if (defined $vals->{'list_field'})
640 0 0 if (defined $vals->{'binary_field'})
661 0 0 if ($ftype == 0)
666 0 0 if ($ftype == 11) { }
0 0 if (/^1$/)
672 0 0 if ($ftype == 14) { }
0 0 if (/^2$/)
691 0 0 if ($ftype == 15) { }
0 0 if (/^3$/)
791 0 0 if ($ftype == 11) { }
0 0 if (/^4$/)
809 0 0 if (defined $self->{'string_field'})
814 0 0 if (defined $self->{'set_field'})
828 0 0 if (defined $self->{'list_field'})
899 0 0 if (defined $self->{'binary_field'})
922 0 0 if (UNIVERSAL::isa($vals, "HASH"))
923 0 0 if (defined $vals->{'map_thing'})
926 0 0 if (defined $vals->{'string_thing'})
929 0 0 if (defined $vals->{'i32_thing'})
932 0 0 if (defined $vals->{'xtruct_thing'})
935 0 0 if (defined $vals->{'insanity_thing'})
956 0 0 if ($ftype == 0)
961 0 0 if ($ftype == 13) { }
0 0 if (/^1$/)
982 0 0 if ($ftype == 11) { }
0 0 if (/^2$/)
988 0 0 if ($ftype == 8) { }
0 0 if (/^3$/)
994 0 0 if ($ftype == 12) { }
0 0 if (/^4$/)
1001 0 0 if ($ftype == 12) { }
0 0 if (/^5$/)
1020 0 0 if (defined $self->{'map_thing'})
1035 0 0 if (defined $self->{'string_thing'})
1040 0 0 if (defined $self->{'i32_thing'})
1045 0 0 if (defined $self->{'xtruct_thing'})
1050 0 0 if (defined $self->{'insanity_thing'})
1071 0 0 if (UNIVERSAL::isa($vals, "HASH"))
1072 0 0 if (defined $vals->{'errorCode'})
1075 0 0 if (defined $vals->{'message'})
1096 0 0 if ($ftype == 0)
1101 0 0 if ($ftype == 8) { }
0 0 if (/^1$/)
1107 0 0 if ($ftype == 11) { }
0 0 if (/^2$/)
1125 0 0 if (defined $self->{'errorCode'})
1130 0 0 if (defined $self->{'message'})
1151 0 0 if (UNIVERSAL::isa($vals, "HASH"))
1152 0 0 if (defined $vals->{'errorCode'})
1155 0 0 if (defined $vals->{'struct_thing'})
1176 0 0 if ($ftype == 0)
1181 0 0 if ($ftype == 8) { }
0 0 if (/^1$/)
1187 0 0 if ($ftype == 12) { }
0 0 if (/^2$/)
1206 0 0 if (defined $self->{'errorCode'})
1211 0 0 if (defined $self->{'struct_thing'})
1245 0 0 if ($ftype == 0)
1276 0 0 if (UNIVERSAL::isa($vals, "HASH"))
1277 0 0 if (defined $vals->{'field'})
1298 0 0 if ($ftype == 0)
1303 0 0 if ($ftype == 12) { }
0 0 if (/^1$/)
1322 0 0 if (defined $self->{'field'})
1343 0 0 if (UNIVERSAL::isa($vals, "HASH"))
1344 0 0 if (defined $vals->{'begin_in_both'})
1347 0 0 if (defined $vals->{'old_string'})
1350 0 0 if (defined $vals->{'end_in_both'})
1371 0 0 if ($ftype == 0)
1376 0 0 if ($ftype == 8) { }
0 0 if (/^1$/)
1382 0 0 if ($ftype == 11) { }
0 0 if (/^3$/)
1388 0 0 if ($ftype == 8) { }
0 0 if (/^12$/)
1406 0 0 if (defined $self->{'begin_in_both'})
1411 0 0 if (defined $self->{'old_string'})
1416 0 0 if (defined $self->{'end_in_both'})
1446 0 0 if (UNIVERSAL::isa($vals, "HASH"))
1447 0 0 if (defined $vals->{'begin_in_both'})
1450 0 0 if (defined $vals->{'newint'})
1453 0 0 if (defined $vals->{'newbyte'})
1456 0 0 if (defined $vals->{'newshort'})
1459 0 0 if (defined $vals->{'newlong'})
1462 0 0 if (defined $vals->{'newdouble'})
1465 0 0 if (defined $vals->{'newstruct'})
1468 0 0 if (defined $vals->{'newlist'})
1471 0 0 if (defined $vals->{'newset'})
1474 0 0 if (defined $vals->{'newmap'})
1477 0 0 if (defined $vals->{'newstring'})
1480 0 0 if (defined $vals->{'end_in_both'})
1501 0 0 if ($ftype == 0)
1506 0 0 if ($ftype == 8) { }
0 0 if (/^1$/)
1512 0 0 if ($ftype == 8) { }
0 0 if (/^2$/)
1518 0 0 if ($ftype == 3) { }
0 0 if (/^3$/)
1524 0 0 if ($ftype == 6) { }
0 0 if (/^4$/)
1530 0 0 if ($ftype == 10) { }
0 0 if (/^5$/)
1536 0 0 if ($ftype == 4) { }
0 0 if (/^6$/)
1542 0 0 if ($ftype == 12) { }
0 0 if (/^7$/)
1549 0 0 if ($ftype == 15) { }
0 0 if (/^8$/)
1567 0 0 if ($ftype == 14) { }
0 0 if (/^9$/)
1585 0 0 if ($ftype == 13) { }
0 0 if (/^10$/)
1606 0 0 if ($ftype == 11) { }
0 0 if (/^11$/)
1612 0 0 if ($ftype == 8) { }
0 0 if (/^12$/)
1630 0 0 if (defined $self->{'begin_in_both'})
1635 0 0 if (defined $self->{'newint'})
1640 0 0 if (defined $self->{'newbyte'})
1645 0 0 if (defined $self->{'newshort'})
1650 0 0 if (defined $self->{'newlong'})
1655 0 0 if (defined $self->{'newdouble'})
1660 0 0 if (defined $self->{'newstruct'})
1665 0 0 if (defined $self->{'newlist'})
1679 0 0 if (defined $self->{'newset'})
1693 0 0 if (defined $self->{'newmap'})
1708 0 0 if (defined $self->{'newstring'})
1713 0 0 if (defined $self->{'end_in_both'})
1733 0 0 if (UNIVERSAL::isa($vals, "HASH"))
1734 0 0 if (defined $vals->{'myints'})
1737 0 0 if (defined $vals->{'hello'})
1758 0 0 if ($ftype == 0)
1763 0 0 if ($ftype == 15) { }
0 0 if (/^1$/)
1781 0 0 if ($ftype == 11) { }
0 0 if (/^2$/)
1799 0 0 if (defined $self->{'myints'})
1813 0 0 if (defined $self->{'hello'})
1833 0 0 if (UNIVERSAL::isa($vals, "HASH"))
1834 0 0 if (defined $vals->{'strings'})
1837 0 0 if (defined $vals->{'hello'})
1858 0 0 if ($ftype == 0)
1863 0 0 if ($ftype == 15) { }
0 0 if (/^1$/)
1881 0 0 if ($ftype == 11) { }
0 0 if (/^2$/)
1899 0 0 if (defined $self->{'strings'})
1913 0 0 if (defined $self->{'hello'})
1932 0 0 if (UNIVERSAL::isa($vals, "HASH"))
1933 0 0 if (defined $vals->{'map_field'})
1954 0 0 if ($ftype == 0)
1959 0 0 if ($ftype == 13) { }
0 0 if (/^7$/)
1992 0 0 if (defined $self->{'map_field'})
2030 0 0 if (UNIVERSAL::isa($vals, "HASH"))
2031 0 0 if (defined $vals->{'b1'})
2034 0 0 if (defined $vals->{'b10'})
2037 0 0 if (defined $vals->{'b100'})
2040 0 0 if (defined $vals->{'check_true'})
2043 0 0 if (defined $vals->{'b1000'})
2046 0 0 if (defined $vals->{'check_false'})
2049 0 0 if (defined $vals->{'vertwo2000'})
2052 0 0 if (defined $vals->{'a_set2500'})
2055 0 0 if (defined $vals->{'vertwo3000'})
2058 0 0 if (defined $vals->{'big_numbers'})
2079 0 0 if ($ftype == 0)
2084 0 0 if ($ftype == 12) { }
0 0 if (/^1$/)
2091 0 0 if ($ftype == 12) { }
0 0 if (/^10$/)
2098 0 0 if ($ftype == 12) { }
0 0 if (/^100$/)
2105 0 0 if ($ftype == 2) { }
0 0 if (/^500$/)
2111 0 0 if ($ftype == 12) { }
0 0 if (/^1000$/)
2118 0 0 if ($ftype == 2) { }
0 0 if (/^1500$/)
2124 0 0 if ($ftype == 12) { }
0 0 if (/^2000$/)
2131 0 0 if ($ftype == 14) { }
0 0 if (/^2500$/)
2149 0 0 if ($ftype == 12) { }
0 0 if (/^3000$/)
2156 0 0 if ($ftype == 15) { }
0 0 if (/^4000$/)
2186 0 0 if (defined $self->{'b1'})
2191 0 0 if (defined $self->{'b10'})
2196 0 0 if (defined $self->{'b100'})
2201 0 0 if (defined $self->{'check_true'})
2206 0 0 if (defined $self->{'b1000'})
2211 0 0 if (defined $self->{'check_false'})
2216 0 0 if (defined $self->{'vertwo2000'})
2221 0 0 if (defined $self->{'a_set2500'})
2235 0 0 if (defined $self->{'vertwo3000'})
2240 0 0 if (defined $self->{'big_numbers'})
2268 0 0 if (UNIVERSAL::isa($vals, "HASH"))
2269 0 0 if (defined $vals->{'integerlist'})
2290 0 0 if ($ftype == 0)
2295 0 0 if ($ftype == 15) { }
0 0 if (/^1$/)
2337 0 0 if (defined $self->{'integerlist'})
2374 0 0 if (UNIVERSAL::isa($vals, "HASH"))
2375 0 0 if (defined $vals->{'integerlist'})
2396 0 0 if ($ftype == 0)
2401 0 0 if ($ftype == 15) { }
0 0 if (/^1$/)
2455 0 0 if (defined $self->{'integerlist'})
2503 0 0 if (UNIVERSAL::isa($vals, "HASH"))
2504 0 0 if (defined $vals->{'int_set_list'})
2507 0 0 if (defined $vals->{'map_int_strset'})
2510 0 0 if (defined $vals->{'map_int_strset_list'})
2531 0 0 if ($ftype == 0)
2536 0 0 if ($ftype == 15) { }
0 0 if (/^1$/)
2566 0 0 if ($ftype == 13) { }
0 0 if (/^2$/)
2599 0 0 if ($ftype == 15) { }
0 0 if (/^3$/)
2656 0 0 if (defined $self->{'int_set_list'})
2679 0 0 if (defined $self->{'map_int_strset'})
2703 0 0 if (defined $self->{'map_int_strset_list'})
2750 0 0 if (UNIVERSAL::isa($vals, "HASH"))
2751 0 0 if (defined $vals->{'bonk'})
2772 0 0 if ($ftype == 0)
2777 0 0 if ($ftype == 15) { }
0 0 if (/^1$/)
2808 0 0 if (defined $self->{'bonk'})
2836 0 0 if (UNIVERSAL::isa($vals, "HASH"))
2837 0 0 if (defined $vals->{'bonk'})
2858 0 0 if ($ftype == 0)
2863 0 0 if ($ftype == 15) { }
0 0 if (/^1$/)
2918 0 0 if (defined $self->{'bonk'})
2965 0 0 if (UNIVERSAL::isa($vals, "HASH"))
2966 0 0 if (defined $vals->{'b'})
2969 0 0 if (defined $vals->{'s'})
2990 0 0 if ($ftype == 0)
2995 0 0 if ($ftype == 2) { }
0 0 if (/^1$/)
3001 0 0 if ($ftype == 11) { }
0 0 if (/^2$/)
3019 0 0 if (defined $self->{'b'})
3024 0 0 if (defined $self->{'s'})
3043 0 0 if (UNIVERSAL::isa($vals, "HASH"))
3044 0 0 if (defined $vals->{'s'})
3065 0 0 if ($ftype == 0)
3070 0 0 if ($ftype == 11) { }
0 0 if (/^1$/)
3088 0 0 if (defined $self->{'s'})
3108 0 0 if (UNIVERSAL::isa($vals, "HASH"))
3109 0 0 if (defined $vals->{'aa'})
3112 0 0 if (defined $vals->{'ab'})
3133 0 0 if ($ftype == 0)
3138 0 0 if ($ftype == 12) { }
0 0 if (/^1$/)
3145 0 0 if ($ftype == 12) { }
0 0 if (/^2$/)
3164 0 0 if (defined $self->{'aa'})
3169 0 0 if (defined $self->{'ab'})
3190 0 0 if (UNIVERSAL::isa($vals, "HASH"))
3191 0 0 if (defined $vals->{'with_default'})
3212 0 0 if ($ftype == 0)
3217 0 0 if ($ftype == 14) { }
0 0 if (/^1$/)
3247 0 0 if (defined $self->{'with_default'})