Condition Coverage

blib/lib/Acme/Ghost/FilePid.pm
Criterion Covered Total %
condition 12 21 57.1


or 2 conditions

line l !l condition
178 0 8 $self->{'owner'} ||= 0
212 8 3 $self->load->owner || 0
255 9 0 $content || 0

or 3 conditions

line l !l&&r !l&&!r condition
174 4 2 2 $self->{'autoremove'} ||= $args->{'auto'} ? 1 : 0
175 0 2 6 $self->{'autosave'} ||= $args->{'auto'} ? 1 : 0
176 8 0 0 $self->{'file'} //= "File::Spec"->catfile("File::Spec"->tmpdir, sprintf("%s.pid", File::Basename::basename($0)))
177 0 8 0 $self->{'pid'} ||= $$
228 7 0 0 $self->pid || $$