Branch Coverage

blib/lib/Test/Inline/Util.pm
Criterion Covered Total %
branch 13 36 36.1


line true false branch
14 0 24 ref $_[0] ? :
15 7 17 defined $_[0] && length $_[0] ? :
21 0 0 unless $i
22 0 0 unless $parts[$i] eq '..'
23 0 0 if $parts[$i - 1] eq '..'
30 0 0 ref $_[0] ? :
32 0 0 if $path eq '.'
36 0 8 ref $_[0] ? :
38 8 0 if (not defined $path or $path eq '' or $path eq '.')
41 0 0 if file_name_is_absolute($path)
43 0 0 if $parts[0] eq '..'
47 0 8 ref $_[0] ? :
50 0 8 unless defined $first
51 0 8 unless defined $second
63 0 8 ref $_[0] ? :
64 0 8 unless my $commonised = $class->commonise(@_)
66 0 8 unless defined $from
68 1 7 if ($from eq '' and $to eq '')