Branch Coverage

blib/lib/Encode/Arabic/Buckwalter.pm
Criterion Covered Total %
branch 37 66 56.0


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