Branch Coverage

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


line true false branch
36 8 0 unless $file eq "$dir$base$ext"
38 0 8 unless ($ext)
42 0 8 if ($dir)
48 0 8 if $self->{'debug'}
52 8 6 -d $_ ? :
54 8 0 defined $self->{'sqlpath'} ? :
58 0 8 if $self->{'debug'}
70 8 0 if @DBI::Shell::FindSqlFile::found
76 0 208 if $DBI::Shell::FindSqlFile::debug
78 8 200 if /^.*$DBI::Shell::FindSqlFile::to_find_file\z/is
79 40 168 if -d $DBI::Shell::FindSqlFile::dir and -d $DBI::Shell::FindSqlFile::name and $DBI::Shell::FindSqlFile::dir ne $DBI::Shell::FindSqlFile::name