Branch Coverage

xs/HasMethods.xs
Criterion Covered Total %
branch 23 30 76.6


line true false branch
20 43332 43957 while ((method = hv_iternextsv(map, &method_name, &method_name_len))) {
24 0 43332 if (!SvROK(method)) {
28 43301 31 if (sv_derived_from(method, "Class::MOP::Method")) {
37 43330 2 if (SvROK(stash_slot) && ((CV*)SvRV(body)) == ((CV*)SvRV(stash_slot))) {
43327 3 if (SvROK(stash_slot) && ((CV*)SvRV(body)) == ((CV*)SvRV(stash_slot))) {
61 13 444298 if (!stash) {
62 0 13 mXPUSHs(newRV_noinc((SV *)newHV()));
71 440296 4002 if ( !SvROK(map_ref) || SvTYPE(SvRV(map_ref)) != SVt_PVHV ) {
0 440296 if ( !SvROK(map_ref) || SvTYPE(SvRV(map_ref)) != SVt_PVHV ) {
77 30464 413834 if ( !SvOK(cache_flag) || SvUV(cache_flag) != current ) {
30464 0 if ( !SvOK(cache_flag) || SvUV(cache_flag) != current ) {
0 30464 if ( !SvOK(cache_flag) || SvUV(cache_flag) != current ) {
0 413834 if ( !SvOK(cache_flag) || SvUV(cache_flag) != current ) {
13493 400341 if ( !SvOK(cache_flag) || SvUV(cache_flag) != current ) {
82 0 444298 XPUSHs(map_ref);