Condition Coverage

blib/lib/Model3D/WavefrontObject.pm
Criterion Covered Total %
condition 19 78 24.3


and 3 conditions

line !l l&&!r l&&r condition
55 0 0 1 $$obj{'objfile'} =~ /\.obj$/ and $$obj{'objfile'}
317 0 0 0 ref $c and ref $c ne 'SCALAR'
334 0 0 0 ref $c and ref $c eq 'SCALAR'

or 2 conditions

line l !l condition
30 0 1 $$obj{'v'} ||= []
31 0 1 $$obj{'vt'} ||= []
32 0 1 $$obj{'vn'} ||= []
33 0 1 $$obj{'f'} ||= []
34 0 1 $$obj{'p'} ||= []
35 0 1 $$obj{'l'} ||= []
36 0 1 $$obj{'g'} ||= {}
37 0 1 $$obj{'group'} ||= {}
38 0 1 $$obj{'mtl'} ||= {}
39 0 1 $$obj{'comments'} ||= []
40 0 1 $$obj{'r'} ||= {}
41 0 1 $$obj{'_region'} ||= 'none'
42 0 1 $$obj{'_material'} ||= 'default'
43 0 1 $$obj{'_group'} ||= 'NULL'
91 0 0 $4 + 0 || 1
613 1 0 $ax ||= 'x'
624 0 0 $ax ||= 'u'
646 0 0 $$obj{'prec'} || 8

or 3 conditions

line l !l&&r !l&&!r condition
13 0 1 0 ref $p || $p
465 0 0 1 $$rot{'centre'} || $$rot{'center'}
468 0 0 0 $$centre{'x'} or $$centre{'y'}
0 0 0 $$centre{'x'} or $$centre{'y'} or $$centre{'z'}
503 0 0 0 $$centre{'x'} or $$centre{'y'}
0 0 0 $$centre{'x'} or $$centre{'y'} or $$centre{'z'}
559 0 0 0 $$scale{'x'} ||= $$scale{'scale'}
560 0 0 0 $$scale{'y'} ||= $$scale{'scale'}
561 0 0 0 $$scale{'z'} ||= $$scale{'scale'}
563 0 0 1 $$scale{'centre'} || $$scale{'center'}
633 0 0 0 shift() || $$obj{'outfile'}