Condition Coverage

blib/lib/HTML/XHTML/DVSM.pm
Criterion Covered Total %
condition 31 62 50.0


and 3 conditions

line !l l&&!r l&&r condition
142 12 0 0 $$self{'DEBUG'} and open D, "> /tmp/dvsmsubs$$.pl"
364 3 3 0 $childinstrs and @$childinstrs
385 3 69 0 $$instr{'where'} and $$instr{'where'} =~ /^tagname$/i
72 0 0 $$instr{'where'} and $$instr{'where'} =~ /^tagname$/i and $$instr{'value'}
69 0 0 $$instr{'where'} and $$instr{'where'} =~ /^tagname$/i and $$instr{'value'} and $$instr{'value'} =~ /^$tag$/i
3 40 29 $$instr{'where'} and exists $$attribs{$$instr{'where'}}
43 12 17 $$instr{'where'} and exists $$attribs{$$instr{'where'}} and $$instr{'value'} =~ /^$$attribs{$$instr{'where'}}$/i
54 1 0 not $$instr{'allocated'} || $$instr{'where'} and $$instr{'cmd'} eq 'load' || $$instr{'cmd'} eq 'run'
528 0 0 37 $$tag{'type'} == $ELEMENT and not $$tag{'tagend'}
536 0 3 0 $sbCurrentTag and $attrib
596 0 57 24 $instructionarr and $count < @$instructionarr
597 38 23 20 $count == 0 and not $instruction
598 43 1 37 $count > 0 and not $instruction
724 0 0 0 $$tag{'type'} == $ELEMENT and not $$tag{'tagend'}

or 2 conditions

line l !l condition
114 0 12 $$self{'SCRIPT_TAG'} || 'DVSM'
115 0 12 $$self{'SUBS_TAG'} || 'DSUBS'
777 0 0 $$instr{'exec'} || ''
778 0 0 $$instr{'cmd'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
92 0 0 0 open FIL, "< $htmldir/$file_name" or open FIL, "< $file_name"
120 0 0 0 open FIL, "< $htmldir/$snippet" or open FIL, "< $snippet"
385 2 52 1 $$instr{'allocated'} || $$instr{'where'}
0 1 0 $$instr{'cmd'} eq 'load' || $$instr{'cmd'} eq 'run'