Branch Coverage

blib/lib/File/Codeowners/Util.pm
Criterion Covered Total %
branch 19 32 59.3


line true false branch
29 1 3 if $filepath
36 0 6 unless my $path = path(shift())
48 3 17 if $try->is_file
55 2 17 if ref $_[-1] eq 'CODE'
57 0 19 if $ENV{'FILE_CODEOWNERS_DEBUG'}
72 5 14 wantarray ? :
86 0 2 if $proc->wait != 0 or not $path
99 2 0 unless $_ =~ /^"(.+)"$/
113 0 0 unless %unbackslash
131 0 0 if (defined $line)
133 0 0 if (my $filter = $self->{'filter'})
144 2 3 if (my $filter = $self->{'filter'})
152 16 19 unless my $pid = $self->{'pid'}
153 19 0 if (my $fh = $self->{'fh'})
159 0 19 if $ENV{'FILE_CODEOWNERS_DEBUG'}
166 0 19 if $global_destruction