Branch Coverage

blib/lib/Soar/Production/Printer.pm
Criterion Covered Total %
branch 50 58 86.2


line true false branch
31 0 0 if $#$trees == -1
34 0 0 unless my $tree = $parser->parse_text($text)
66 48 774 if (defined $doc)
91 38 2233 if $$condition{'negative'} eq 'yes'
102 22 2249 if $$condition{'conjunction'}
118 841 1408 if defined $type
121 2249 0 if defined $idTest
124 2249 0 if ($#$attrValueTests != -1)
136 221 11866 if (exists $$test{'conjunctiveTest'})
155 83 12281 if exists $$test{'disjunctionTest'}
157 330 11951 if exists $$test{'relationTest'}
187 5744 6537 if exists $$test{'variable'}
201 116 4508 if $negative eq 'yes'
205 4518 106 if ($#$values != -1)
223 4732 0 if (exists $$valueTest{'test'}) { }
230 41 4691 if $$valueTest{'+'} eq 'yes'
256 230 2242 if (exists $$action{'funcCall'})
275 15 5118 if ($#$attr != 0)
294 51 5097 if exists $$vOs{'variable'}
314 13 6356 if ($$preference{'type'} eq 'binary')
324 195 7319 if $rhsValue eq '(crlf)'
327 3605 3714 if (exists $$rhsValue{'variable'})
330 3609 105 if (exists $$rhsValue{'constant'})
333 105 0 if (exists $$rhsValue{'function'})
346 303 32 if ($#$args != -1)
357 233 102 if (ref $funcName eq 'HASH')
372 7882 2454 if $type eq 'sym'
373 2405 49 if $type eq 'int'
391 12574 638 if $type eq 'string'