Condition Coverage

blib/lib/EB/Tools/Attachments.pm
Criterion Covered Total %
condition 0 35 0.0


or 2 conditions

line l !l condition
38 0 0 $self->{'encoding'} ||= 2

or 3 conditions

line l !l&&r !l&&!r condition
37 0 0 0 $id || $main::dbh->get_sequence('attachments_id_seq')
0 0 0 $self->{'id'} ||= $id || $main::dbh->get_sequence('attachments_id_seq')
42 0 0 0 $self->{'size'} ||= $self->{'encoding'} == 1 ? length $self->{'name'} : length ${$self->{'content'};}
50 0 0 0 $id ||= $self->{'id'}
58 0 0 0 $id ||= $self->{'id'}
103 0 0 0 $self->{'name'} ||= File::Basename::fileparse($file)
110 0 0 0 $id || $self->{'id'}
115 0 0 0 $id || $self->{'id'}
122 0 0 0 $id || $self->{'id'}
155 0 0 0 $id || $self->{'id'}
163 0 0 0 $id ||= $self->{'id'}