Branch Coverage

blib/lib/App/Asciio/Cross.pm
Criterion Covered Total %
branch 0 76 0.0


line true false branch
27 0 0 if &any(sub { $_ eq ref $element; } , @{$$asciio{"CROSS_MODE_IGNORE"};})
39 0 0 if defined $start_y and $y < $start_y || $y >= $end_y
49 0 0 if (defined $start_x and $x < $start_x || $x >= $end_x) { }
0 0 elsif ($x >= 0 and $y >= 0) { }
57 0 0 if (exists $cross_filler_chars->{$character}) { }
59 0 0 if (defined $lines[$y][$x]) { }
295 0 0 defined $up ? :
0 0 defined $down ? :
0 0 defined $left ? :
0 0 defined $right ? :
297 0 0 unless (exists $normal_char_cache{$normal_key})
300 0 0 $scene_func ? :
303 0 0 if ($normal_char_cache{$normal_key})
305 0 0 if ($normal_char_cache{$normal_key} ne $ascii_array[$row][$col][-1])
313 0 0 unless exists $diagonal_cross_chars{$ascii_array[$row][$col][-1]}
321 0 0 defined $char_45 ? :
0 0 defined $char_135 ? :
0 0 defined $char_225 ? :
0 0 defined $char_315 ? :
323 0 0 unless (exists $diagonal_char_cache{$diagonal_key})
326 0 0 $scene_func ? :
329 0 0 if ($diagonal_char_cache{$diagonal_key} and $diagonal_char_cache{$diagonal_key} ne $ascii_array[$row][$col][-1])
345 0 0 unless defined $up and defined $down and defined $left and defined $right
366 0 0 if defined $up and &any(sub { $_ eq "|"; } , @{$up;}) and defined $down and &any(sub { $_ eq "|"; } , @{$down;}) and defined $left and &any(sub { $_ eq "-"; } , @{$left;}) and defined $right and &any(sub { $_ eq "-"; } , @{$right;})
382 0 0 if defined $up and &any(sub { $_ eq "|"; } , @{$up;}) and (defined $right and &any(sub { $_ eq "-"; } , @{$right;})) and not defined $down && &any(sub { $_ eq '|'; } , @{$down;})
395 0 0 if (exists $left_index_map{$char_index}) { }
0 0 elsif (exists $right_index_map{$char_index}) { }
0 0 elsif (exists $up_index_map{$char_index}) { }
397 0 0 unless defined $left
398 0 0 unless &any(sub { exists $unicode_cross_chars[$char_index]{$_}; } , @{$left;})
402 0 0 unless defined $right
403 0 0 unless &any(sub { exists $unicode_cross_chars[$char_index]{$_}; } , @{$right;})
407 0 0 unless defined $up
408 0 0 unless &any(sub { exists $unicode_cross_chars[$char_index]{$_}; } , @{$up;})
412 0 0 unless defined $down
413 0 0 unless &any(sub { exists $unicode_cross_chars[$char_index]{$_}; } , @{$down;})
427 0 0 unless defined $char_45 and defined $char_135 and defined $char_225 and defined $char_315
441 0 0 unless defined $char_45 and defined $char_135 and defined $char_225 and defined $char_315