Condition Coverage

blib/lib/Games/Rezrov/StoryFile.pm
Criterion Covered Total %
condition 37 162 22.8


and 3 conditions

line !l l&&!r l&&r condition
928 1098 642 4586 $_[0] > 0 and $_[0] <= 15
0 0 0 $_[0] > 0 && $_[0] <= 15
0 0 0 $_[0] > 0 && $_[0] <= 15
144 0 0 $_[0] == 1 and Games::Rezrov::ZOptions::EMULATE_NOTIFY()
144 0 0 $_[0] == 1 and Games::Rezrov::ZOptions::EMULATE_NOTIFY() and not $header->is_time_game
0 0 0 $diff and Games::Rezrov::ZOptions::notifying()
969 0 0 1 $rows and $columns
1022 0 1 0 Games::Rezrov::ZOptions::EMULATE_UNDO() and $zdict->get_dictionary_address('undo')
1036 0 1 0 $version <= 3 and $zio->can_split
1 0 0 $version <= 3 and $zio->can_split and not $zio->manual_status_line
1272 0 0 150 $version >= 1 and $version <= 3
1441 0 41 22 $zobj && $zobj->test_attr($attribute)
1488 35 0 0 $$selected_streams[5] and $current_window == 0
1495 0 0 35 $buffering and $current_window != 1
1510 35 0 0 $$selected_streams[2] and $current_window == 0
1895 0 0 0 not $game_title and $player_object
1967 0 0 0 $s and $sz->speaking
0 0 0 $s and $sz->speaking and not $s =~ /^\#speak/
2047 4 0 0 $version >= 5 and $token_address == 0
2321 29 0 0 $_[0] >= 179 and $_[0] <= 218
17 12 0 $_[0] >= 24 and $_[0] <= 27
2350 29 0 0 $$selected_streams[5] and $current_window == 0
2357 1 0 28 $buffering and $current_window != 1
2379 29 0 0 $$selected_streams[2] and $current_window == 0
2404 0 0 0 not $success and $quetzal->error_message
2443 0 0 0 $options{'-check'} and -f $filename
2470 0 0 0 not $success and $quetzal->error_message
2591 0 0 0 $_[0] == 3 and $font_3_disabled
2758 0 0 0 $wrote_something and defined $current_window
0 0 0 $wrote_something and defined $current_window and $lower_lines
0 0 0 $wrote_something and defined $current_window and $lower_lines and $current_window == 0
2815 0 0 20 Games::Rezrov::ZOptions::BEAUTIFY_LOCATIONS() and $version < 4
0 18 2 Games::Rezrov::ZOptions::BEAUTIFY_LOCATIONS() and $version < 4 and likely_location(\$buffer)
2869 0 0 0 --$i >= 0 and substr($buffer, $i, 1) ne ' '
2938 0 8 281 $len and $len < 50
3016 0 0 0 $dict and $dict != $std_dictionary_addr
3062 0 1 0 $version <= 3 and $zstatus
3117 2 0 0 $header->release_number eq $release && $header->serial_code == $serial && $header->file_checksum == $checksum

or 2 conditions

line l !l condition
1759 4 0 $$argv[1] || 0
1934 4 0 $s || ''
2001 0 0 $last_prompt || '>'
2324 0 0 $Z_TRANSLATIONS{$_[0]} || '*'
2385 0 0 $_[0] || 0
0 0 $\ || "\n"
2397 0 0 $last_savefile || ''
2429 0 0 $options{'-ext'} || die()
2697 4 13 $fm || 0
3080 0 0 $zio->fg || ''
3081 0 0 $zio->bg || ''
3082 0 0 $zio->default_bg || ''

or 3 conditions

line l !l&&r !l&&!r condition
928 0 0 146 $args < 0 or $args > 15
0 0 0 $window < 0 or $window > 1
0 0 0 $transcript_filename || filename_prompt('-check', 1, '-ext', 'txt')
1272 0 0 0 $version == 4 or $version == 5
0 0 0 $version == 6 or $version == 7
2321 0 0 29 $_[0] >= 179 and $_[0] <= 218 or $_[0] >= 24 and $_[0] <= 27
2441 0 0 0 $zio->get_input(50, 0) || $default
2659 1 0 0 $filename || filename_prompt('-ext', 'cmd')