Branch Coverage

blib/lib/Class/DBI/Loader/Relationship.pm
Criterion Covered Total %
branch 11 18 61.1


line true false branch
65 0 4 unless $text =~ s/^((an?|the)\s+)?($table_re)\s*//i
71 1 3 if $2
72 0 4 if $1
74 0 4 unless $text =~ s/.*?($table_re)\b//i
78 3 1 $method eq 'has_many' ? :
79 1 3 if ($text =~ /($table_re)/i)
81 1 0 if $Class::DBI::Loader::Relationship::DEBUG
93 3 0 if $Class::DBI::Loader::Relationship::DEBUG
97 0 0 unless $method eq 'has_a'