Branch Coverage

blib/lib/XS/TCC.pm
Criterion Covered Total %
branch 34 56 60.7


line true false branch
149 0 4 if ($^O eq 'darwin')
161 5 1 if $core_typemap
166 1 9 if -e $file
171 0 1 unless -f $typemap_loc
173 0 1 unless -T $typemap_loc
192 6 0 if @_ % 2
195 0 6 if (defined $code and defined $args{'code'})
199 0 6 unless defined $code
206 5 1 if (not defined $typemap_arg) { }
1 0 elsif (ref $typemap_arg) { }
222 2 4 unless $parse_result and @{$$parse_result{'function_names'};}
234 0 4 if $args{'warn_code'}
246 0 1 ref $args{'add_files'} ? :
1 3 if defined $args{'add_files'}
256 0 4 if (defined $errmsg)
258 0 0 if ($fatal) { }
295 0 5 $is_void_function ? :
300 5 0 unless ($is_void_function)
302 5 0 $out_typemap ? :
305 0 5 unless $outputmap
340 0 6 !$tm ? :
342 0 6 unless $im
369 4 2 if ($out =~ /^\s*\Q$aname\E\s*=/) { }
380 0 5 $is_void_function ? :
383 1 4 if ($do_pass_threading_context)
384 0 1 scalar @{$$fun_info{'arg_names'};} == 0 ? :
390 5 0 unless ($is_void_function)
415 0 5 $is_void_function ? :