Condition Coverage

blib/lib/Chatbot/Eliza.pm
Criterion Covered Total %
condition 11 30 36.6


and 3 conditions

line !l l&&!r l&&r condition
354 0 1 0 defined $param1 and ref $param1 eq 'HASH'
719 9 0 3 $string_part =~ /\b$keyword\b/i || $keyword eq $goto and $rank < $self->{'keyranks'}{$keyword}
768 3 0 0 defined $use_memory and $#{$$self{'reasmblist_for_memory'}{$reasmbkey};} >= 0
863 1 0 0 $#{$self->memory;} >= 0 and &{$self->{'myrand'};}(1) >= 1 - $self->likelihood_of_using_memory
884 3 0 0 $#{$$self{'reasmblist_for_memory'}{$reasmbkey};} >= 0 and not defined $use_memory

or 3 conditions

line l !l&&r !l&&!r condition
341 0 1 0 ref $that || $that
376 53 0 0 ref $self || croak("$self is not an object : $!\n")
470 0 0 0 $user_input eq 'memory' or $user_input eq 'debug memory'
719 3 0 9 $string_part =~ /\b$keyword\b/i || $keyword eq $goto
1059 0 0 9 /^\s*#/ or /^\s*$/