Branch Coverage

File:C4/AuthoritiesMarc.pm
Coverage:0.0%

line%coveragebranch
880TFunless $kohafield
890TFunless $authtypecode
1110TFif ('C4::Context'->preference('NoZebra')) { }
1250TFif (@$value[$i])
1260TFif (@$tags[$i] =~ /mainentry|mainmainentry/) { }
1310TFif (@$operator[$i] eq 'is') { }
0TFelsif (@$operator[$i] eq '=') { }
0TFelsif (@$operator[$i] eq 'start') { }
1320TF@$tags[$i] ? :
1340TF@$tags[$i] ? :
1360TF@$tags[$i] ? :
1380TF@$tags[$i] ? :
1460TFif ($dosearch) { }
1620TFif ($sortby eq 'HeadingDsc') { }
1760TFif $numbers < $offset + $length
2170TFif ($n > 1)
2270TFif (@$value[$i])
2280TFif (@$tags[$i] eq 'mainmainentry') { }
0TFelsif (@$tags[$i] eq 'mainentry') { }
2370TFif (@$operator[$i] eq 'is') { }
0TFelsif (@$operator[$i] eq '=') { }
0TFelsif (@$operator[$i] eq 'start') { }
2540TFif ($query =~ /\S+/) { }
2610TF$sortby eq 'HeadingDsc' ? :
0TF$sortby eq 'HeadingAsc' ? :
2680TF$query ? :
2690TFif $orderstring
2710TFunless $offset
2730TFunless $length
2820TFif $ev == ZOOM::Event::ZEND()
2850TFif ($error)
2960TFif ($nbresults > 0)
3190TFif ($mainentry)
3570TFif ('C4::Context'->preference('NoZebra')) { }
3670TFif ($err)
4160TFunless defined $record
4760TFif defined $record->field($field)
4910TFunless $record and $record->field('001')
5290TFunless $authtypecode
5310TF$forlibrarian == 1 ? :
5380TFunless $total > 0
5500TF$forlibrarian || !$libopac ? :
5800TF$forlibrarian || !$libopac ? :
6130TFif (uc 'C4::Context'->preference('marcflavour') eq 'UNIMARC') { }
6230TFif (not $f5) { }
6310TFif ($format eq 'MARC21')
6320TFif (not $record->leader)
6350TFif (not $record->field('003'))
6410TFif (not $record->field('008'))
6440TFif (not $default_008 or length $default_008 < 34) { }
6530TFif (not $record->field('040'))
6630TFif ($format eq 'UNIMARCAUTH')
6640TFunless $record->leader
6660TFif (my $string = $record->subfield('100', 'a')) { }
0TFelsif ($record->field('100')) { }
6800TFif (not $authid and $format eq 'MARC21')
6840TFif (my $field = $record->field($auth_type_tag)) { }
6930TFif (not $authid) { }
6990TFunless ($record->field('001') and $record->field('001')->data eq $authid)
7070TFif ($auth_exists > 0) { }
7090TFunless $record->field('001')
7120TFunless $sth->execute($authtypecode, $record->as_usmarc, $record->as_xml_record($format), $authid)
7190TFif 'C4::Context'->preference('AuthoritiesLog')
7380TFif 'C4::Context'->preference('AuthoritiesLog')
7640TFif (not 'C4::Context'->preference('dontmerge') eq '1') { }
7720TFif 'C4::Context'->preference('AuthoritiesLog')
7870TFif (uc 'C4::Context'->preference('marcflavour') eq 'UNIMARC') { }
8200TF'C4::Context'->preference('marcflavour') eq 'UNIMARC' ? :
8220TFif $@
8240TFif ('C4::Context'->preference('marcflavour') eq 'MARC21')
8450TFif (defined $authtypecode)
8490TFif (my $res = $sth->fetchrow_hashref)
8690TFif (@$rtags[$i] ne $prevtag) { }
8700TFif ($prevtag < 10) { }
8710TFif ($prevvalue)
8750TFif ($field)
8800TFif (@$rtags[$i] < 10) { }
8890TFif (@$rtags[$i] < 10) { }
8920TFif (length @$rvalues[$i] > 0)
9000TFif $field
9280TFif ($record->field($auth_tag_to_report))
9300TFif $$_[0] =~ /[A-z]/
9350TFif (not defined $error and @{$results;})
9610TFif ($authtypecode)
9880TFif ($summary and 'C4::Context'->preference('marcflavour') eq 'UNIMARC') { }
9970TFif ($tag < 10) { }
9980TFif ($tag eq '001')
10100TFif $localsummary ne $summary
10270TFif ('C4::Context'->preference('marcflavour') eq 'UNIMARC') { }
10380TFif ($field->subfield('2'))
10460TFif ($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')) { }
10630TF$notes ? :
10640TFif $broaderterms
10650TFif $narrowerterms
10660TFif $seealso
10670TFif $see
10680TFif $seeheading
10740TFif '152' eq $field->tag
10770TFif ($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')) { }
11150TFif $summary
11420TFif ($$data{'authtrees'} and not $force) { }
11490TFunless $record
11510TFif ($field->subfield('5') and $field->subfield('5') eq 'g')
11530TFif $subfauthid eq $authid
11590TFif ($trees =~ /;/) { }
11730TFunless $hierarchies
12020TFunless $record
12090TFif ($subfauthid and $field->subfield('5') and $field->subfield('a'))
12100TFif ($field->subfield('5') eq 'h') { }
0TFelsif ($field->subfield('5') eq 'g') { }
12190TFif scalar @loopparents > 0
12200TFif scalar @loopchildren > 0
12210TFif scalar @loopparents > 0
12220TFif scalar @loopchildren > 0
12250TFif $authid eq $authid_constructed
12860TFif scalar $MARCfrom->fields == 0
12870TFif scalar $MARCto->fields == 0
12960TFif $MARCto->field($auth_tag_to_report_to)
12980TFif $MARCfrom->field($auth_tag_to_report_from)
13030TFif ('C4::Context'->preference('NoZebra')) { }
13110TFif ($_ =~ /(\d+),.*/)
13260TFif ($oResult)
13500TFif ($authtypecodeto ne $authtypecodefrom)
13600TFunless 'C4::Context'->preference('NoZebra')
13660TFif ($auth_number == $mergefrom)
13670TF$tag_to ? :
13870TFif ($bibliotag < 10) { }
13930TFunless ($biblionumber)
13970TFif ($update == 1)
14000TFif $counteditedbiblio % 10 and $ENV{'DEBUG'}
14710TF@_ ? :
14740TFif (defined $tag and defined $subfield and $tag != 0 and $subfield != 0) { }
14770TFif ('C4::Context'->preference('marcflavour') eq 'MARC21') { }