Condition Coverage

blib/lib/spice.pm
Criterion Covered Total %
condition 22 36 61.1


and 3 conditions

line !l l&&!r l&&r condition
52 0 0 1 -f $file and -T $file
94 45 0 0 $lineNo / 1000 == int $lineNo / 1000 and $spice::verbose
211 0 0 1 $subckt and $spice::subckts{$subckt}
227 0 0 1 $subcktName and $spice::subckts{$subcktName}
254 0 0 1 $subcktName and $spice::subckts{$subcktName}
296 0 0 1 $subcktName and $spice::subckts{$subcktName}
360 0 0 20 $subcktName and $spice::subckts{$subcktName}

or 3 conditions

line l !l&&r !l&&!r condition
132 12 1 21 $line =~ /^\s*x/i or $line =~ /^\s*r/i
13 1 20 $line =~ /^\s*x/i or $line =~ /^\s*r/i or $line =~ /^\s*c/i
2 6 14 $line =~ /^\s*x/i or $line =~ /^\s*r/i or $line =~ /^\s*c/i or $line =~ /^\s*m/i
7 6 8 $line =~ /^\s*x/i or $line =~ /^\s*r/i or $line =~ /^\s*c/i or $line =~ /^\s*m/i or $line =~ /^\s*\.subckt/i
12 7 1 $line =~ /^\s*x/i or $line =~ /^\s*r/i or $line =~ /^\s*c/i or $line =~ /^\s*m/i or $line =~ /^\s*\.subckt/i or $line =~ /^\s*\.end/i