Condition Coverage

File:C4/Biblio.pm
Coverage:0.0%

line%coveragecondition
2510
ABCdec
0XX0
10X0
1100
1111
defined $options and exists $$options{'defer_marc_save'} and $$options{'defer_marc_save'}
3150
ABCdec
00X0
0100
0111
1XX1
scalar $field->subfields == 0 or scalar $field->subfields == 1 and $field->subfield('9')
3240
ABdec
000
011
1X1
not $frameworkcode or $frameworkcode eq 'Default'
4890
Adec
00
11
'C4::Context'->preference('LinkerModule') || 'Default'
5020
Adec
00
11
'C4::Context'->preference('CatalogModuleRelink') || ''
5450
ABCdec
0XX0
1000
1011
11X1
defined $current_link and !$allowrelink || !'C4::Context'->preference('LinkerRelink')
5550
ABdec
0X0
100
111
defined $current_link and $current_link == $authid
5620
ABCdec
0XX0
1000
1011
11X1
defined $current_link and !$allowrelink || 'C4::Context'->preference('LinkerKeepStale')
5780
ABdec
0X0
100
111
$$_[0] =~ /[A-z]/ and $$_[0] ne 'a'
6550
ABdec
0X0
100
111
$$row{'subfieldcode'} ne '' and $field->subfield($$row{'subfieldcode'})
9040
Adec
00
11
$1 || 0
9050
Adec
00
11
$2 || ''
9320
ABdec
0X0
100
111
$calculated and not $hasputtextbefore
9690
ABdec
0X0
100
111
$calculated and not $hasputtextbefore
10580
ABdec
0X0
100
111
defined $marc_structure_cache and exists $$marc_structure_cache{$forlibrarian}{$frameworkcode}
10770
ABdec
000
011
1X1
$forlibrarian || !$libopac
11120
ABdec
000
011
1X1
$forlibrarian || !$libopac
11480
Adec
00
11
shift @_ || ''
11720
ABdec
0X0
100
111
$kohafield and defined $frameworkcode
11930
Adec
00
11
shift @_ || 0
13140
Adec
00
11
$record->subfield('700', 'a') || ''
13150
Adec
00
11
$record->subfield('700', 'b') || ''
13280
Adec
00
11
$record->subfield('210', 'd') || ''
13290
Adec
00
11
$record->subfield('210', 'c') || ''
13300
Adec
00
11
$record->subfield('010', 'a') || ''
13310
Adec
00
11
$record->subfield('011', 'a') || ''
13480
Adec
00
11
$record->subfield('245', 'b') || ''
13510
Adec
00
11
$record->field('008') || ''
13530
Adec
00
11
$record->subfield('773', 'z') || ''
13540
Adec
00
11
$record->subfield('773', 'x') || ''
13560
ABdec
000
011
1X1
$record->subfield('773', 't') || $record->subfield('773', 'a')
13580
ABdec
000
011
1X1
$record->subfield('773', 't') || $record->subfield('773', 'a') || ''
13670
Adec
00
11
$record->subfield('260', 'c') || ''
13680
Adec
00
11
$record->subfield('260', 'b') || ''
13690
Adec
00
11
$record->subfield('020', 'a') || ''
13700
Adec
00
11
$record->subfield('022', 'a') || ''
14930
ABdec
0X0
100
111
$opac && $$data{'lib_opac'}
15120
ABCdec
0000
0011
01X1
1XX1
$marcflavour eq 'MARC21' or $marcflavour eq 'UNIMARC' or $marcflavour eq 'NORMARC'
16550
ABdec
0X0
100
111
$field->tag >= $mintag and $field->tag <= $maxtag
16660
ABdec
0X0
100
111
$marcflavour eq 'UNIMARC' and $$subject_subfield[0] =~ /2|3|4|5/
16690
ABdec
0X0
100
111
$marcflavour eq 'MARC21' and $$subject_subfield[0] =~ /2/
16920
ABdec
000
011
1X1
$$subject_subfield[0] eq 9 or $$subject_subfield[0] eq '0'
17180
ABdec
000
011
1X1
$marcflavour eq 'MARC21' or $marcflavour eq 'NORMARC'
17300
ABdec
0X0
100
111
$field->tag >= $mintag and $field->tag <= $maxtag
17410
ABdec
0X0
100
111
$marcflavour eq 'UNIMARC' and $$authors_subfield[0] =~ /3|5/
17570
ABdec
0X0
100
111
$marcflavour eq 'UNIMARC' and $$authors_subfield[0] eq '4'
17620
ABdec
0X0
100
111
$marcflavour eq 'UNIMARC' and $$authors_subfield[0] =~ /4/
17690
ABdec
000
011
1X1
$$authors_subfield[0] eq '9' or $$authors_subfield[0] eq '0'
18260
ABCDdec
00000
00011
001X1
01XX1
1XXX1
$link || $s3 || 'C4::Context'->preference('URLLinkText') || $url
18280
ABdec
0X0
100
111
defined $s3 and $s3 =~ /^[Tt]able/
18300
ABCdec
0000
0011
01X1
1XX1
$field->subfield('2') || 'C4::Context'->preference('URLLinkText') || $url
19330
Adec
00
11
$marcflavour ||= 'MARC21'
19340
ABdec
000
011
1X1
$marcflavour eq 'MARC21' or $marcflavour eq 'NORMARC'
20240
Adec
00
11
$marcflavour ||= 'MARC21'
20310
ABdec
000
011
1X1
$marcflavour eq 'MARC21' or $marcflavour eq 'NORMARC'
21310
ABCdec
0XX0
10X0
1100
1111
'C4::Context'->preference('marcflavour') eq 'UNIMARC' and @$tags[$i] eq '100' and @$subfields[$i] eq 'a'
21360
ABCdec
0000
0011
01X1
1XX1
$enc eq '01' or $enc eq '50' or $enc eq '03'
21650
ABCdec
0XX0
10X0
1100
1111
@$tags[$i] and @$tags[$i] > 10 and @$values[$i] ne ''
22150
ABdec
0X0
100
111
'C4::Context'->preference('marcflavour') eq 'UNIMARC' and not $unimarc_and_100_exist
22430
ABdec
000
011
1X1
not defined $s or $s eq ''
23380
ABdec
0X0
100
111
defined $params[$j] and $params[$j] =~ /_code_/
23450
ABdec
0X0
100
111
$fval ne '' and $newfield
23800
Adec
00
11
$limit_table || 0
23880
ABdec
0X0
100
111
defined $limit_table and $limit_table eq 'items'
24070
ABCdec
00X0
0100
0111
1X00
1X11
$key eq 'biblionumber' || $key eq 'biblioitemnumber' and $field->data eq ''
24260
ABCdec
00X0
0100
0111
1X00
1X11
$key eq 'biblionumber' || $key eq 'biblioitemnumber' and $value eq ''
24410
ABdec
0X0
100
111
$temp =~ /c(\d\d\d\d)/ and $1 > 0
24520
ABdec
0X0
100
111
$temp =~ /c(\d\d\d\d)/ and $1 > 0
25200
ABdec
000
011
1X1
$column eq 'cn_sort' or $column eq 'cn_source'
28420
ABdec
000
011
1X1
$index{$key} =~ /$tag\*/ or $index{$key} =~ /$tag$subfieldcode/
28530
ABdec
0X0
100
111
defined $result{$key}{$_} and $result{$key}{$_} =~ /$biblionumber,$title\-(\d);/
29570
ABdec
000
011
1X1
$index{$key} =~ /$tag\*/ or $index{$key} =~ /$tag$subfieldcode/
29700
ABdec
0X0
100
111
exists $result{$key}{$_} and $result{$key}{"$_"} =~ /$biblionumber,\Q$title\E\-(\d+);/
30080
Adec
00
11
$result{'__RAW__'}{"$_"} || ''
32220
ABdec
000
011
1X1
$dbh->errstr or not $$biblio{'biblionumber'}
34870
ABdec
0X0
100
111
$string and length $record->subfield(100, 'a') == 36
35690
ABdec
0X0
100
111
defined $$tagslib{$tag}{$subfield}{'authorised_value'} and exists $$bibliolevel_authorised_values{$$tagslib{$tag}{$subfield}{'authorised_value'}}
36630
ABdec
000
011
1X1
$marcflavour ||= 'C4::Context'->preference('marcflavour')
36700
ABdec
000
011
1X1
$marcflavour eq 'MARC21' or $marcflavour eq 'NORMARC'
36710
ABCdec
0000
0011
01X1
1XX1
$host->field('100') || $host->field('110') || $host->field('11')
37150
ABCdec
0000
0011
01X1
1XX1
$host->field('700') || $host->field('710') || $host->field('720')