Branch Coverage

open.xs
Criterion Covered Total %
branch 38 82 46.3


line true false branch
46 10 5 if (overload_is_open(opname)) {
50 5 10 if (overload_is_sysopen(opname)) {
59 16 0 if ( !hook || !SvTRUE( hook ) ) {
16 0 if ( !hook || !SvTRUE( hook ) ) {
0 16 if ( !hook || !SvTRUE( hook ) ) {
0 0 if ( !hook || !SvTRUE( hook ) ) {
3 13 if ( !hook || !SvTRUE( hook ) ) {
3 0 if ( !hook || !SvTRUE( hook ) ) {
0 3 if ( !hook || !SvTRUE( hook ) ) {
0 13 if ( !hook || !SvTRUE( hook ) ) {
0 0 if ( !hook || !SvTRUE( hook ) ) {
0 0 if ( !hook || !SvTRUE( hook ) ) {
0 0 if ( !hook || !SvTRUE( hook ) ) {
0 0 if ( !hook || !SvTRUE( hook ) ) {
0 0 if ( !hook || !SvTRUE( hook ) ) {
0 13 if ( !hook || !SvTRUE( hook ) ) {
0 0 if ( !hook || !SvTRUE( hook ) ) {
0 0 if ( !hook || !SvTRUE( hook ) ) {
0 0 if ( !hook || !SvTRUE( hook ) ) {
0 0 if ( !hook || !SvTRUE( hook ) ) {
0 0 if ( !hook || !SvTRUE( hook ) ) {
0 13 if ( !hook || !SvTRUE( hook ) ) {
64 13 0 if ( !SvROK( hook ) || SvTYPE( SvRV(hook) ) != SVt_PVCV ) {
0 13 if ( !SvROK( hook ) || SvTYPE( SvRV(hook) ) != SVt_PVCV ) {
71 1 12 if ( CvISXSUB( code_hook ) ) {
82 11 1 if (cached_code_hook_open) {
83 3 8 if ( 0 < CvDEPTH( cached_code_hook_open ) ) {
87 6 3 if (cached_code_hook_sysopen) {
88 0 6 if ( 0 < CvDEPTH( cached_code_hook_sysopen ) ) {
93 0 9 if ( 0 < CvDEPTH( code_hook ) ) {
104 0 9 PUSHMARK(sp);
106 0 9 if (myitems < 0) {
109 9 0 EXTEND(sp, myitems);
0 9 EXTEND(sp, myitems);
111 26 9 for ( c = 0; c < myitems; c++) {
121 0 9 if (count) warn("call_sv was not supposed to get any arguments");
130 9 0 FREETMPS;
157 5 0 SAVE_AND_REPLACE_PP_IF_UNSET(real_pp_open, OP_OPEN, Perl_pp_overload_open, OP_OPEN_replace_mutex);
5 0 SAVE_AND_REPLACE_PP_IF_UNSET(real_pp_open, OP_OPEN, Perl_pp_overload_open, OP_OPEN_replace_mutex);
163 5 0 SAVE_AND_REPLACE_PP_IF_UNSET(real_pp_sysopen, OP_SYSOPEN, Perl_pp_overload_sysopen, OP_SYSOPEN_replace_mutex);
5 0 SAVE_AND_REPLACE_PP_IF_UNSET(real_pp_sysopen, OP_SYSOPEN, Perl_pp_overload_sysopen, OP_SYSOPEN_replace_mutex);