Condition Coverage

blib/lib/Document/Repository.pm
Criterion Covered Total %
condition 1 82 1.2


and 3 conditions

line !l l&&!r l&&r condition
75 0 0 0 $args{'debug'} and $args{'debug'} > 3
0 0 0 $args{'debug'} and $args{'debug'} > 3 and defined $value
134 0 0 0 -d $dir and not -x $dir
139 0 0 0 -f $dir and not -d $dir
219 0 0 0 -d $repo and not -x $repo
246 0 0 0 not defined $rev_number and -d $doc_path

or 2 conditions

line l !l condition
82 0 0 $$self{'_repository_dir'} ||= '/var/dms'
83 0 0 $$self{'_repository_permissions'} ||= '0700'
85 0 0 $$self{'_debug'} ||= 0
111 0 0 $$self{'_debug'} > 4 or 1
166 0 0 $$self{'_error_msg'} || ''
171 0 0 shift() || (return undef)
172 0 0 shift() || 1
186 0 0 shift() || (return undef)
240 0 0 shift() || (return undef)
328 0 0 shift() || ''
331 0 0 $self->repository_path($doc_id) || (return undef)
332 0 0 $self->current_revision($doc_id, $doc_path) || 0
399 0 0 shift() || ''
400 0 0 shift() || ''
401 0 0 shift() || ''
402 0 0 shift() || ''
441 0 0 shift() || (return undef)
442 0 0 shift() || (return undef)
445 0 0 $self->repository_path($doc_id) || (return undef)
498 0 0 shift() || (return undef)
499 0 0 shift() || (return undef)
508 0 0 $self->repository_path($doc_id) || (return undef)
532 0 0 shift() || ''
601 0 0 $self->repository_path($doc_id) || (return undef)
643 0 0 $self->repository_path($doc_id) || (return undef)
712 0 0 $self->revisions($doc_id) || 0

or 3 conditions

line l !l&&r !l&&!r condition
69 0 1 0 ref $this || $this
241 0 0 0 shift() || $self->repository_path($doc_id)
448 0 0 0 $revision ||= $self->current_revision($doc_id, $doc_path)
646 0 0 0 $revision ||= $self->current_revision($doc_id, $doc_path)