Branch Coverage

blib/lib/ORLite/Pod.pm
Criterion Covered Total %
branch 17 38 44.7


line true false branch
70 0 1 unless (defined $self->trace)
76 0 1 unless (&Params::Util::_CLASS($self->from) and $self->from->can('orlite'))
84 0 1 unless ($self->to)
87 0 1 unless (-d $self->to)
90 0 1 unless (-w $self->to)
93 0 1 unless (defined $self->author)
96 0 1 unless (defined $self->email)
99 1 0 unless ($self->year)
104 1 0 if ($$self{'year'} == $year) { }
138 4 0 if ($self->author and $self->email) { }
0 0 elsif ($self->author) { }
193 1 0 if $$table{'pk'}
220 0 0 unless (/^(\w+).+?REFERENCES\s+(\w+)\s*\(\s*(\w+)/)
241 0 1 unless $$table{'class'}->can('select')
263 0 2 unless ($copy =~ /^(.+?\()(.+)(\).*)\z/)
302 0 2 unless ($rv)
308 0 2 unless open FILE, '>', $file
317 0 4 if ($$self{'trace'})
371 1 0 unless (-d $dir)