Branch Coverage

blib/lib/Lego/Ldraw/Line.pm
Criterion Covered Total %
branch 1 80 1.2


line true false branch
54 0 0 unless $line[0]
85 0 0 unless exists $$self{$field}
86 0 0 if (@_) { }
102 0 0 unless exists $$self{'part'}
141 0 0 if (@_)
149 0 0 unless $self->type == 1
158 0 0 unless @fields
170 0 0 $points > 4 ? :
175 0 0 unless $self->type == 1
184 0 0 unless my $type = $self->type
186 0 0 if ($type == 1) { }
199 0 0 if (/^0/)
202 0 0 if (/^1/)
229 0 0 unless defined $self->$1
236 0 0 unless defined $self->can($1)
241 0 0 if (eval $expr) { }
254 0 0 unless $self->type == 1
262 0 0 if @_
268 0 0 unless $self->type == 1
271 0 0 if $self->config->{'partfiles'}{$part}
283 0 0 if (-e $_)
293 0 0 unless $self->type == 1
297 0 0 unless $file
305 0 0 if (ref $_[0] eq 'HASH') { }
320 0 0 unless $self->type
321 0 0 unless $line->type == 1
323 0 0 if $self->color == 16
326 0 0 if ($self->type == 1) { }
340 0 0 unless $self->type
368 0 0 if ($matrix) { }
369 0 0 $self->type == 1 ? :
374 0 0 unless $field
383 0 0 @point ? :
391 0 0 if ($matrix) { }
401 0 0 unless $field
424 0 0 if (/^x$/)
432 0 0 if (/^y$/)
440 0 0 if (/^z$/)
460 0 1 if $config
490 0 0 unless /^\./