Condition Coverage

blib/lib/App/bif/new/project.pm
Criterion Covered Total %
condition 0 35 0.0


or 2 conditions

line l !l condition
138 0 0 shift() || 'project'
248 0 0 prompt('Path:', '') || (return $self->err('ProjectPathRequired', 'project path is required'))
293 0 0 prompt('Title:', '') || (return $self->err('ProjectTitleequired', 'project title is required'))
298 0 0 $opts->{'lang'} ||= 'en'

or 3 conditions

line l !l&&r !l&&!r condition
23 0 0 0 $opts->{'title'} ||= $dbw->xval('select', 'p.title', 'from', 'projects p', 'where', {'p.id', $dup_pinfo->{'id'}})
34 0 0 0 $opts->{'message'} ||= $self->prompt_edit('txt', "[ dup: $src ]\n", 'opts', $self)
38 0 0 0 $opts->{'id'} ||= $dbw->nextval('nodes')
39 0 0 0 $opts->{'change_id'} ||= $self->new_change
248 0 0 0 $opts->{'path'} ||= prompt('Path:', '') || (return $self->err('ProjectPathRequired', 'project path is required'))
293 0 0 0 $opts->{'title'} ||= prompt('Title:', '') || (return $self->err('ProjectTitleequired', 'project title is required'))
297 0 0 0 $opts->{'message'} ||= $self->prompt_edit('opts', $self)
299 0 0 0 $opts->{'id'} ||= $dbw->nextval('nodes')
300 0 0 0 $opts->{'change_id'} ||= $self->new_change