Branch Coverage

lib/Syntax/Operator/Matches.xs
Criterion Covered Total %
branch 24 34 70.5


line true false branch
19 92 0 if ( ! sv_defined( b ) ) {
22 70 if ( ! sv_defined( b ) ) {
20 22 0 return( sv_defined( a ) ? FALSE : TRUE );
4 18 return( sv_defined( a ) ? FALSE : TRUE );
23 24 46 else if ( ! SvROK( b ) ) {
27 28 18 else if ( sv_isobject( b ) && sv_derived_from( b, "Type::Tiny" ) ) {
2 26 else if ( sv_isobject( b ) && sv_derived_from( b, "Type::Tiny" ) ) {
33 0 2 PUSHMARK(SP);
34 0 2 XPUSHs(b);
35 0 2 XPUSHs(a);
42 2 0 FREETMPS;
53 0 44 PUSHMARK( SP );
54 0 44 XPUSHs( a );
55 0 44 XPUSHs( b );
61 0 42 FREETMPS;
77 31 15 SETs( test_pp_matches( aTHX_ a, b ) ? &PL_sv_yes : &PL_sv_no );
87 30 14 SETs( test_pp_matches( aTHX_ a, b ) ? &PL_sv_no : &PL_sv_yes );