Branch Coverage

blib/lib/Eliza/Chatbot/Brain.pm
Criterion Covered Total %
branch 17 24 70.8


line true false branch
30 0 19 if (XXX) { }
13 6 elsif (XXX) { }
44 11 18 if $string =~ /$quitword/msx
63 0 13 if $use_memory
66 5 8 if ($self->_test_quit($string))
89 6 18 if ($string_part =~ /\b$keyword\b/i || $keyword eq $goto and $rank < $options->data->key->{$keyword})
114 0 6 if ($this_decomp =~ /\@/)
127 6 0 if ($string_part =~ /$this_decomp()()()()()()()()()()()/i)
159 0 6 if ($reasmb =~ /^goto\s(\w*).*/i)
194 2 6 if $reasmb eq ''
198 8 0 if ($options->memory_on)
201 0 8 if scalar @{$options->memory;} >= $options->max_memory_size