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})
113 0 6 if ($this_decomp =~ /\@/)
126 6 0 if ($string_part =~ /$this_decomp()()()()()()()()()()()/i)
158 0 6 if ($reasmb =~ /^goto\s(\w*).*/i)
193 2 6 if $reasmb eq ''
197 8 0 if ($options->memory_on)
200 0 8 if scalar @{$options->memory;} >= $options->max_memory_size