Branch Coverage

File:C4/Charset.pm
Coverage:1.1%

line%coveragebranch
10950TFif utf8::is_utf8($str)
1340TFunless $record and $record->fields
1360TFif ($field->tag >= 10)
1740TFunless utf8::is_utf8($string)
1750TFif ($nfd) { }
1810TFif ($transform)
2170TFif (ref $marc eq 'MARC::Record') { }
2340TFif ($@)
2430TFif ($@)
2570TFif (not defined $source_encoding) { }
2580TFif ($marc_blob_is_utf8) { }
2660TFif ($marc_flavour eq 'MARC21' or $marc_flavour eq 'NORMARC') { }
0TFelsif ($marc_flavour =~ /UNIMARC/) { }
2780TFif ($source_encoding =~ /utf-?8/i) { }
0TFelsif ($source_encoding =~ /marc-?8/i) { }
0TFelsif ($source_encoding =~ /5426/) { }
2790TFif ($marc_blob_is_utf8) { }
2940TFif (@errors) { }
3210TFif ($marc_flavour eq 'MARC21' or $marc_flavour eq 'NORMARC') { }
0TFelsif ($marc_flavour =~ /UNIMARC/) { }
3270TF$marc_flavour =~ /AUTH/ ? :
3290TFif (defined $string and length $string == $subflength) { }
3300TFif length $string > $subflength
3380TFif ($marc_record->subfield(100, 'a')) { }
3450TFif $debug
3780TFif (not defined $str or $str eq '')
4100TFunless (@errors)
4170TFunless (@errors)
4520TFunless (@errors)
4590TFunless (@errors)
4910TFif ($msg =~ /MARC.Charset/) { }
5070TFif ($field->is_control_field) { }
5130TFunless (IsStringUTF8ish($utf8sf))
5610TFif ($field->is_control_field) { }
6040TFif ($@)
6130TFif ($field->is_control_field) { }
6210TFif ($@) { }
0TFelsif (not defined $converted_value) { }
6290TFif ($conversion_ok) { }
6700TFif ($field->is_control_field) { }
10840TFif ($char >= 0 and $char <= 127) { }
0TFelsif ($char >= 192 and $char <= 223) { }
10870TFunless $char < 2 or $char == 15
10910TFif ($chars{$char * 256 + $data[$i + 1]}) { }
0TFelsif ($chars{$char}) { }
11040TFif ($chars{$char}) { }