Branch Coverage

blib/lib/Lego/Ldraw/Line.pm
Criterion Covered Total %
branch 1 72 1.3


line true false branch
53 0 0 unless $line[0]
84 0 0 unless exists $self->{$field}
85 0 0 if (@_) { }
101 0 0 unless exists $self->{'part'}
140 0 0 if (@_)
148 0 0 unless $self->type == 1
157 0 0 unless @fields
169 0 0 $points > 4 ? :
174 0 0 unless $self->type == 1
183 0 0 unless my $type = $self->type
185 0 0 if ($type == 1) { }
198 0 0 if (/^0/)
201 0 0 if (/^1/)
228 0 0 unless defined $self->$1
235 0 0 unless defined $self->can($1)
240 0 0 if (eval $expr) { }
253 0 0 unless $self->type == 1
261 0 0 if @_
267 0 0 unless $self->type == 1
271 0 0 if $self->config->{'partfiles'}{$part}
282 0 0 if (-e $_)
292 0 0 unless $self->type == 1
296 0 0 unless $file
304 0 0 if (ref $_[0] eq 'HASH') { }
319 0 0 unless $self->type
320 0 0 unless $line->type == 1
322 0 0 if $self->color == 16
325 0 0 if ($self->type == 1) { }
356 0 0 if ($matrix) { }
357 0 0 $self->type == 1 ? :
362 0 0 unless $field
371 0 0 @point ? :
379 0 0 if ($matrix) { }
387 0 0 unless $field
408 0 1 if $config
438 0 0 unless /^\./