Branch Coverage

/usr/local/lib/perl5/5.42.0/x86_64-linux/CORE/sv_inline.h
Criterion Covered Total %
branch 39 100 39.0


line true false branch
82 2140 5 if (PL_sv_root)
345 1033 9 new_body_from_arena(xpv, sv_type, bodies_by_type[sv_type]);
436 0 522 SvOK_off(sv);
475 0 0 ASSUME(type_details->arena);
484 0 0 if(type_details->arena) {
496 0 0 if (UNLIKELY(type == SVt_PVIO)) {
574 0 0 if (! (XPV *) SvANY(sv)) {
578 0 0 if ( ((XPV *) SvANY(sv))->xpv_cur > 1) { /* length > 1 */
582 0 0 if (( (XPV *) SvANY(sv))->xpv_cur == 0) {
603 18 9017 if (UNLIKELY(SvGMAGICAL(sv))) {
613 0 2055 if (UNLIKELY(sv == NULL))
643 0 2055 if (UNLIKELY(SvIMMORTAL_INTERP(sv)))
646 0 2055 if (! SvOK(sv))
649 0 2055 if (SvPOK(sv))
652 2055 0 if (SvIOK(sv))
655 0 0 if (SvROK(sv) && !(SvOBJECT(SvRV(sv)) && HvAMAGIC(SvSTASH(SvRV(sv)))))
0 0 if (SvROK(sv) && !(SvOBJECT(SvRV(sv)) && HvAMAGIC(SvSTASH(SvRV(sv)))))
0 0 if (SvROK(sv) && !(SvOBJECT(SvRV(sv)) && HvAMAGIC(SvSTASH(SvRV(sv)))))
658 0 0 if (sv_2bool_is_fallback)
661 0 0 return isGV_with_GP(sv);
0 0 return isGV_with_GP(sv);
0 0 return isGV_with_GP(sv);
667 0 0 if (LIKELY(sv != NULL))
691 26 0 if (LIKELY(sv != NULL)) {
693 0 26 if (LIKELY(rc > 1))
821 152 0 if (SvIOK_nog(sv))
830 0 33 if (SvUOK_nog(sv))
839 0 0 if (SvNOK_nog(sv))
848 4072 0 if (SvIOK(sv))
857 2 0 if (SvUOK(sv))
866 15 0 if (SvNOK(sv))
922 28 2849 if ( (type == SvPVbyte_type_ && SvPOK_byte_nog(sv))
0 28 if ( (type == SvPVbyte_type_ && SvPOK_byte_nog(sv))
923 0 2849 || (type == SvPVforce_type_ && SvPOK_pure_nogthink(sv))
0 0 || (type == SvPVforce_type_ && SvPOK_pure_nogthink(sv))
924 704 2145 || (type == SvPVutf8_type_ && SvPOK_utf8_nog(sv))
689 15 || (type == SvPVutf8_type_ && SvPOK_utf8_nog(sv))
925 2145 689 || (type == SvPVnormal_type_ && SvPOK_nog(sv))
16 2129 || (type == SvPVnormal_type_ && SvPOK_nog(sv))
926 0 705 || (type == SvPVutf8_pure_type_ && SvPOK_utf8_pure_nogthink(sv))
0 0 || (type == SvPVutf8_pure_type_ && SvPOK_utf8_pure_nogthink(sv))
927 0 705 || (type == SvPVbyte_pure_type_ && SvPOK_byte_pure_nogthink(sv))
0 0 || (type == SvPVbyte_pure_type_ && SvPOK_byte_pure_nogthink(sv))
929 79 2093 if (lp) {
935 0 2172 if (return_flags & SV_MUTABLE_RETURN) {
938 10 2162 else if(return_flags & SV_CONST_RETURN) {
946 0 705 if (or_null) { /* This is also known at compile time */
947 0 0 if (flags & SV_GMAGIC) { /* As is this */
951 0 0 if (! SvOK(sv)) {
952 0 0 if (lp) { /* As is this */