blib/lib/Games/Rezrov/ZDict.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 143 | 6.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
429 | 4 | 0 | 0 | @tokens == 3 and Games::Rezrov::ZOptions::SHAMELESS() |
4 | 0 | 0 | @tokens == 3 and Games::Rezrov::ZOptions::SHAMELESS() and $tokens[0][0] =~ /^(who|what)$/i | |
0 | 0 | 0 | @tokens == 3 and Games::Rezrov::ZOptions::SHAMELESS() and $tokens[0][0] =~ /^(who|what)$/i and $tokens[1][0] =~ /^is$/ | |
0 | 0 | 0 | @tokens == 3 and Games::Rezrov::ZOptions::SHAMELESS() and $tokens[0][0] =~ /^(who|what)$/i and $tokens[1][0] =~ /^is$/ and $tokens[2][0] =~ /^(michae\w*|edmons\w*)/ | |
460 | 0 | 0 | 0 | Games::Rezrov::ZOptions::EMULATE_NOTIFY() and $token eq 'notify' |
0 | 0 | 0 | Games::Rezrov::ZOptions::EMULATE_HELP() and $token eq 'help' | |
0 | 0 | 0 | Games::Rezrov::ZOptions::EMULATE_OOPS() and $oops_word || ($token eq 'oops' || Games::Rezrov::ZOptions::ALIASES() && $token eq 'o') | |
0 | 0 | 0 | Games::Rezrov::ZOptions::MAGIC() and exists $Games::Rezrov::ZDict::MAGIC_WORDS{$untrunc_token} | |
0 | 0 | 0 | Games::Rezrov::ZOptions::ALIASES() and exists $Games::Rezrov::ZDict::ALIASES{$untrunc_token} | |
0 | 0 | 0 | Games::Rezrov::ZOptions::EMULATE_COMMAND_SCRIPT() and $untrunc_token eq '#reco' | |
566 | 6 | 0 | 0 | $flag and $addr == 0 |
715 | 0 | 0 | 0 | $player_object and $what =~ /^(me|self)$/i |
0 | 0 | 0 | $current_room and $what =~ /^here$/ | |
872 | 0 | 0 | 0 | $player_object && Games::Rezrov::StoryFile::current_room() |
1111 | 0 | 0 | 0 | $child and $child->object_id |
0 | 0 | 0 | $child and $child->object_id and $child->object_id <= $last | |
1117 | 0 | 0 | 0 | $sib and $sib->object_id |
0 | 0 | 0 | $sib and $sib->object_id and $sib->object_id <= $last | |
1140 | 0 | 0 | 0 | @item_hits == 1 and @hits == 0 |
1544 | 0 | 0 | 0 | $browser and $ENV{'DISPLAY'} |
1774 | 0 | 0 | 0 | /-/ and /^[\w-]+$/ |
1985 | 0 | 0 | 0 | Games::Rezrov::StoryFile::get_global_var($total_weight) == $LOTSA_WEIGHT and Games::Rezrov::StoryFile::get_global_var($max_items) == $LOTSA_ITEMS |
2404 | 0 | 0 | 0 | $parent and $parent->object_id == $spellbook_id |
line | l | !l | condition |
---|---|---|---|
351 | 0 | 4 | $options{'-flag'} || 0 |
1297 | 0 | 0 | $self->support_check(@SUPPORTED_GAMES) || (return) |
1417 | 0 | 0 | Games::Rezrov::StoryFile::full_version_output() || '' |
1623 | 0 | 0 | $sl || 4 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
460 | 0 | 0 | 0 | $oops_word || ($token eq 'oops' || Games::Rezrov::ZOptions::ALIASES() && $token eq 'o') |
0 | 0 | 0 | Games::Rezrov::ZOptions::EMULATE_COMMAND_SCRIPT() and $untrunc_token eq '#reco' or $untrunc_token eq '#unre' | |
0 | 0 | 0 | Games::Rezrov::ZOptions::EMULATE_COMMAND_SCRIPT() and $untrunc_token eq '#reco' or $untrunc_token eq '#unre' or $untrunc_token eq '#comm' | |
673 | 0 | 0 | 8 | $next < 0 or $next >= $num_words |
0 | 1 | 7 | $next == $ahead or $next == $behind | |
729 | 0 | 0 | 0 | $token eq 'baste' or $token eq 'nosh' |
0 | 0 | 0 | $token eq 'travis' or $token eq 'bickle' | |
0 | 0 | 0 | $token eq '#dat' or $token eq 'spiel' | |
944 | 0 | 0 | 0 | $self->last_random || $self->last_random({}) |
948 | 0 | 0 | 0 | @messages == 1 or not defined $last_stamp |
0 | 0 | 0 | @messages == 1 or not defined $last_stamp or $index ne $last_stamp | |
1072 | 0 | 0 | 0 | $pid == 0 or not $objs{$pid} |
1522 | 0 | 0 | 0 | not $cmd or $exec_error |
1549 | 0 | 0 | 0 | $basename eq 'netscape' or $basename eq 'phoenix' |
0 | 0 | 0 | $basename eq 'netscape' or $basename eq 'phoenix' or $basename eq 'firebird' | |
1787 | 0 | 0 | 0 | /[\.\#]/ or /^h?m{2,}$/i |
0 | 0 | 0 | /[\.\#]/ or /^h?m{2,}$/i or /^\d+(rd|st|nd|th)$/ | |
0 | 0 | 0 | /[\.\#]/ or /^h?m{2,}$/i or /^\d+(rd|st|nd|th)$/ or m[^\d+/\d+] | |
1822 | 0 | 0 | 0 | $_ eq 'aa' or /^[MCLXVI]+$/ |
2217 | 1 | 5 | 0 | length $word < 3 or exists $words{$token} |
6 | 0 | 0 | length $word < 3 or exists $words{$token} or $word =~ /^#/ | |
2420 | 0 | 0 | 0 | $found or $quiet |