Branch Coverage

blib/lib/SQL/Statement/Util.pm
Criterion Covered Total %
branch 14 18 77.7


line true false branch
23 1 1 if $self->isa('SQL::Statement::Util::Function')
24 1 0 if $self->isa('SQL::Statement::Util::Column')
39 20 1107 if ($col_name and $col_name =~ /^((?:"[^"]+")|(?:[^.]*))\.(.*)$/) { }
0 2214 elsif (defined &_ARRAY($table_name) and scalar @{$table_name;} == 1) { }
80 1 1 unless ($sub)
85 0 2 if $pkg eq '::'
107 1 1 unless $pkg eq 'SQL/Statement/Functions' or $pkg eq 'main'
110 0 2 if $@
112 1 1 unless $pkg->can($sub)