Branch Coverage

blib/lib/DBI/Shell/FindSqlFile.pm
Criterion Covered Total %
branch 14 22 63.6


line true false branch
35 8 0 unless $file eq "$dir$base$ext"
37 0 8 unless ($ext)
41 0 8 if ($dir)
47 0 8 if $self->{'debug'}
51 8 6 -d $_ ? :
53 8 0 defined $self->{'sqlpath'} ? :
57 0 8 if $self->{'debug'}
69 8 0 if @DBI::Shell::FindSqlFile::found
75 0 208 if $DBI::Shell::FindSqlFile::debug
77 8 200 if /^.*$DBI::Shell::FindSqlFile::to_find_file\z/is
78 40 168 if -d $DBI::Shell::FindSqlFile::dir and -d $DBI::Shell::FindSqlFile::name and $DBI::Shell::FindSqlFile::dir ne $DBI::Shell::FindSqlFile::name