Branch Coverage

File:C4/AuthoritiesMarc.pm
Coverage:0.0%

line%coveragebranch
860TFunless $kohafield
870TFunless $authtypecode
1100TFif ('C4::Context'->preference('NoZebra')) { }
1240TFif (@$value[$i])
1250TFif (@$tags[$i] =~ /mainentry|mainmainentry/) { }
1300TFif (@$operator[$i] eq 'is') { }
0TFelsif (@$operator[$i] eq '=') { }
0TFelsif (@$operator[$i] eq 'start') { }
1310TF@$tags[$i] ? :
1330TF@$tags[$i] ? :
1350TF@$tags[$i] ? :
1370TF@$tags[$i] ? :
1450TFif ($dosearch) { }
1610TFif ($sortby eq 'HeadingDsc') { }
1750TFif $numbers < $offset + $length
2160TFif ($n > 1)
2260TFif (@$value[$i])
2270TFif (@$tags[$i] eq 'mainmainentry') { }
0TFelsif (@$tags[$i] eq 'mainentry') { }
0TFelsif (@$tags[$i] eq 'any') { }
0TFelsif (@$tags[$i] eq 'match') { }
0TFelsif (@$tags[$i] eq 'match-heading') { }
0TFelsif (@$tags[$i] eq 'see-from') { }
0TFelsif (@$tags[$i] eq 'thesaurus') { }
2480TFif (@$operator[$i] eq 'is') { }
0TFelsif (@$operator[$i] eq '=') { }
0TFelsif (@$operator[$i] eq 'start') { }
0TFelsif (@$operator[$i] eq 'exact') { }
2750TFif (defined $query and $query =~ /\S+/) { }
2760TFdefined $q2 ? :
2820TF$sortby eq 'HeadingDsc' ? :
0TF$sortby eq 'HeadingAsc' ? :
2890TF$query ? :
2900TFif $orderstring
2920TFunless $offset
2940TFunless $length
3030TFif $ev == ZOOM::Event::ZEND()
3060TFif ($error)
3170TFif ($nbresults > 0)
3350TFif (not $skipmetadata)
3450TFif ($mainentry)
3590TFif (not $skipmetadata)
3850TFif ('C4::Context'->preference('NoZebra')) { }
3950TFif ($err)
4440TFunless defined $record
5040TFif defined $record->field($field)
5190TFunless $record and $record->field('001')
5570TFunless $authtypecode
5590TF$forlibrarian == 1 ? :
5660TFunless $total > 0
5780TF$forlibrarian || !$libopac ? :
6080TF$forlibrarian || !$libopac ? :
6410TFif (uc 'C4::Context'->preference('marcflavour') eq 'UNIMARC') { }
6510TFif (not $f5) { }
6590TFif ($format eq 'MARC21')
6600TFif (not $record->leader)
6630TFif (not $record->field('003'))
6690TFif (not $record->field('008'))
6720TFif (not $default_008 or length $default_008 < 34) { }
6810TFif (not $record->field('040'))
6910TFif ($format eq 'UNIMARCAUTH')
6920TFunless $record->leader
6940TFif (my $string = $record->subfield('100', 'a')) { }
0TFelsif ($record->field('100')) { }
7080TFif (not $authid and $format eq 'MARC21')
7120TFif (my $field = $record->field($auth_type_tag)) { }
7210TFif (not $authid) { }
7270TFunless ($record->field('001') and $record->field('001')->data eq $authid)
7350TFif ($auth_exists > 0) { }
7370TFunless $record->field('001')
7400TFunless $sth->execute($authtypecode, $record->as_usmarc, $record->as_xml_record($format), $authid)
7470TFif 'C4::Context'->preference('AuthoritiesLog')
7660TFif 'C4::Context'->preference('AuthoritiesLog')
7920TFif (not 'C4::Context'->preference('dontmerge') eq '1') { }
8000TFif 'C4::Context'->preference('AuthoritiesLog')
8150TFif (uc 'C4::Context'->preference('marcflavour') eq 'UNIMARC') { }
8480TF'C4::Context'->preference('marcflavour') eq 'UNIMARC' ? :
8500TFif $@
8520TFif ('C4::Context'->preference('marcflavour') eq 'MARC21')
8730TFif (defined $authtypecode)
8770TFif (my $res = $sth->fetchrow_hashref)
9090TFif ($record->field($auth_tag_to_report))
9110TFif $$_[0] =~ /[A-z]/
9160TFif (not defined $error and @{$results;})
9420TFif ($authtypecode)
9690TFif ($summary and 'C4::Context'->preference('marcflavour') eq 'UNIMARC') { }
9780TFif ($tag < 10) { }
9790TFif ($tag eq '001')
9910TFif $localsummary ne $summary
10080TFif ('C4::Context'->preference('marcflavour') eq 'UNIMARC') { }
10190TFif ($field->subfield('2'))
10270TFif ($field->subfield('5') and $field->subfield('a') and $field->subfield('5') eq 'g') { }
0TFelsif ($field->subfield('5') and $field->as_string and $field->subfield('5') eq 'h') { }
0TFelsif ($field->subfield('a')) { }
10440TF$notes ? :
10450TFif $broaderterms
10460TFif $narrowerterms
10470TFif $seealso
10480TFif $see
10490TFif $seeheading
10550TFif '152' eq $field->tag
10580TFif ($record->field('100')) { }
0TFelsif ($record->field('110')) { }
0TFelsif ($record->field('111')) { }
0TFelsif ($record->field('130')) { }
0TFelsif ($record->field('148')) { }
0TFelsif ($record->field('150')) { }
0TFelsif ($record->field('151')) { }
0TFelsif ($record->field('155')) { }
0TFelsif ($record->field('180')) { }
0TFelsif ($record->field('181')) { }
0TFelsif ($record->field('182')) { }
0TFelsif ($record->field('185')) { }
10960TFif $summary
11230TFif ($$data{'authtrees'} and not $force) { }
11300TFunless $record
11320TFif ($field->subfield('5') and $field->subfield('5') eq 'g')
11340TFif $subfauthid eq $authid
11400TFif ($trees =~ /;/) { }
11540TFunless $hierarchies
11830TFunless $record
11900TFif ($subfauthid and $field->subfield('5') and $field->subfield('a'))
11910TFif ($field->subfield('5') eq 'h') { }
0TFelsif ($field->subfield('5') eq 'g') { }
12000TFif scalar @loopparents > 0
12010TFif scalar @loopchildren > 0
12020TFif scalar @loopparents > 0
12030TFif scalar @loopchildren > 0
12060TFif $authid eq $authid_constructed
12670TFif scalar $MARCfrom->fields == 0
12680TFif scalar $MARCto->fields == 0
12770TFif $MARCto->field($auth_tag_to_report_to)
12790TFif $MARCfrom->field($auth_tag_to_report_from)
12840TFif ('C4::Context'->preference('NoZebra')) { }
12920TFif ($_ =~ /(\d+),.*/)
13070TFif ($oResult)
13350TFif ($authtypecodeto ne $authtypecodefrom)
13500TFif ($auth_number == $mergefrom)
13510TF$tag_to ? :
13710TFif ($bibliotag < 10) { }
13770TFunless ($biblionumber)
13810TFif ($update == 1)
13840TFif $counteditedbiblio % 10 and $ENV{'DEBUG'}
14550TF@_ ? :
14580TFif (defined $tag and defined $subfield and $tag != 0 and $subfield ne '' and $subfield ne ' ') { }
14610TFif ('C4::Context'->preference('marcflavour') eq 'MARC21') { }