Branch Coverage

blib/lib/Encode/Arabic/Habash.pm
Criterion Covered Total %
branch 31 60 51.6


line true false branch
57 0 2 defined $_[1] && $_[1] eq ':xml' ? :
66 1 1 unless 'Encode'->can('export_to_level')
75 0 2 if $check
79 2 0 if &Encode::is_utf8($text)
88 0 2 if $check
90 2 0 unless &Encode::is_utf8($text)
101 0 2 if ref $cls
102 2 0 unless defined $xml
104 0 2 unless defined $mode
105 2 0 if exists $modemap{$mode}
111 2 0 if (defined $mode)
115 0 2 $kshd ? :
0 2 $kshd ? :
0 2 $kshd ? :
2 0 $mode == 0 ? :
0 2 $mode == 3 ? :
0 2 $mode == 2 ? :
0 2 $mode == 1 ? :
182 0 2 if ref $cls
183 2 0 unless defined $xml
185 0 2 unless defined $mode
186 2 0 if exists $modemap{$mode}
192 2 0 if (defined $mode)
196 0 2 $kshd ? :
0 2 $kshd ? :
0 2 $kshd ? :
2 0 $mode == 0 ? :
0 2 $mode == 3 ? :
0 2 $mode == 2 ? :
0 2 $mode == 1 ? :