Branch Coverage

File:C4/Charset.pm
Coverage:1.1%

line%coveragebranch
11050TFif utf8::is_utf8($str)
1350TFunless $record and $record->fields
1370TFif ($field->tag >= 10)
1750TFunless utf8::is_utf8($string)
1760TFif ($nfd) { }
1820TFif ($transform)
2180TFif (ref $marc eq 'MARC::Record') { }
2350TFif ($@)
2440TFif ($@)
2580TFif (not defined $source_encoding) { }
2590TFif ($marc_blob_is_utf8) { }
2670TFif ($marc_flavour eq 'MARC21' or $marc_flavour eq 'NORMARC') { }
0TFelsif ($marc_flavour =~ /UNIMARC/) { }
2790TFif ($source_encoding =~ /utf-?8/i) { }
0TFelsif ($source_encoding =~ /marc-?8/i) { }
0TFelsif ($source_encoding =~ /5426/) { }
2800TFif ($marc_blob_is_utf8) { }
2950TFif (@errors) { }
3220TFif ($marc_flavour eq 'MARC21' or $marc_flavour eq 'NORMARC') { }
0TFelsif ($marc_flavour =~ /UNIMARC/) { }
3280TF$marc_flavour =~ /AUTH/ ? :
3300TFif (defined $string and length $string == $subflength) { }
3310TFif length $string > $subflength
3390TFif ($marc_record->subfield(100, 'a')) { }
3460TFif $debug
3790TFif (not defined $str or $str eq '')
4450TFunless (@errors)
4520TFunless (@errors)
4870TFunless (@errors)
4940TFunless (@errors)
5260TFif ($msg =~ /MARC.Charset/) { }
5420TFif ($field->is_control_field) { }
5480TFunless (IsStringUTF8ish($utf8sf))
5960TFif ($field->is_control_field) { }
6390TFif ($@)
6480TFif ($field->is_control_field) { }
6560TFif ($@) { }
0TFelsif (not defined $converted_value) { }
6640TFif ($conversion_ok) { }
7050TFif ($field->is_control_field) { }
11190TFif ($char >= 0 and $char <= 127) { }
0TFelsif ($char >= 192 and $char <= 223) { }
11220TFunless $char < 2 or $char == 15
11260TFif ($chars{$char * 256 + $data[$i + 1]}) { }
0TFelsif ($chars{$char}) { }
11390TFif ($chars{$char}) { }