Branch Coverage

NumOnly.xs
Criterion Covered Total %
branch 15 22 68.1


line true false branch
7 9 105 if( sv_isobject(in) ) {
8 9 0 const char* h = HvNAME( SvSTASH(SvRV(in)) );
9 0 const char* h = HvNAME( SvSTASH(SvRV(in)) );
0 9 const char* h = HvNAME( SvSTASH(SvRV(in)) );
0 0 const char* h = HvNAME( SvSTASH(SvRV(in)) );
9 0 const char* h = HvNAME( SvSTASH(SvRV(in)) );
0 9 const char* h = HvNAME( SvSTASH(SvRV(in)) );
9 6 3 if(strEQ(h, "Math::NumOnly")) return 1;
12 100 8 if( !(SvPOK(in)) && (SvIOK(in) || SvNOK(in)) ) return 2;
39 61 if( !(SvPOK(in)) && (SvIOK(in) || SvNOK(in)) ) return 2;
35 4 if( !(SvPOK(in)) && (SvIOK(in) || SvNOK(in)) ) return 2;