Branch Coverage

blib/lib/XS/TCC.pm
Criterion Covered Total %
branch 36 58 62.0


line true false branch
163 0 6 if ($^O eq 'darwin') { }
0 6 elsif ($^O =~ /MSWin/) { }
178 7 1 if $core_typemap
183 1 10 if -e $file
188 0 1 unless -f $typemap_loc
190 0 1 unless -T $typemap_loc
209 8 0 if @_ % 2
212 0 8 if (defined $code and defined $args{'code'})
216 0 8 unless defined $code
223 7 1 if (not defined $typemap_arg) { }
1 0 elsif (ref $typemap_arg) { }
239 2 6 unless $parse_result and @{$parse_result->{'function_names'};}
251 0 6 if $args{'warn_code'}
264 0 1 ref $args{'add_files'} ? :
1 5 if defined $args{'add_files'}
273 0 6 if (defined $errmsg)
275 0 0 if ($fatal) { }
312 0 8 $is_void_function ? :
317 8 0 unless ($is_void_function)
319 8 0 $out_typemap ? :
322 0 8 unless $outputmap
357 0 7 !$tm ? :
359 0 7 unless $im
386 5 2 if ($out =~ /^\s*\Q$aname\E\s*=/) { }
397 0 8 $is_void_function ? :
400 3 5 if ($do_pass_threading_context)
401 1 2 scalar @{$fun_info->{'arg_names'};} == 0 ? :
407 8 0 unless ($is_void_function)
432 0 8 $is_void_function ? :