Condition Coverage

File:C4/Items.pm
Coverage:0.0%

line%coveragecondition
6450
ABdec
0X0
100
111
exists $$item_ref{'barcode'} and defined $$item_ref{'barcode'}
6480
ABdec
000
011
1X1
not exists $$item_ref{'itemnumber'} or $$item_ref{'itemnumber'} != $existing_itemnumber
6560
ABdec
0X0
100
111
exists $$item_ref{'homebranch'} and defined $$item_ref{'homebranch'}
6660
ABdec
0X0
100
111
exists $$item_ref{'holdingbranch'} and defined $$item_ref{'holdingbranch'}
7400
ABdec
0X0
100
111
$tag and $subfield
8280
ABdec
0X0
100
111
$tag and $subfield
9240
ABdec
0X0
100
111
defined $orderby and grep $orderby, @ordervalues
10290
ABdec
0X0
100
111
not $offset and $size
10860
Adec
00
11
$dbh->prepare('SELECT * FROM items WHERE items.biblioitemnumber = ?') || die($dbh->errstr)
11120
Adec
00
11
$dbh->prepare($query2) || die($dbh->errstr)
12240
ABdec
0X0
100
111
$userenv and $$userenv{'flags'} % 2 != 1
13330
ABdec
000
011
1X1
$$a{'publisheddate'} || $$a{'enumchron'}
0
ABdec
000
011
1X1
$$b{'publisheddate'} || $$b{'enumchron'}
14150
ABdec
000
011
1X1
'C4::Context'->preference('marcflavour') eq 'MARC21' or 'C4::Context'->preference('marcflavour') eq 'NORMARC'
15490
ABdec
000
011
1X1
$marcflavor eq 'MARC21' or $marcflavor eq 'NORMARC'
17480
ABdec
0X0
100
111
exists $$authorised_values{$$this_authorised_value{'category'}} and $$authorised_values{$$this_authorised_value{'category'}} eq $$this_authorised_value{'authorised_value'}
18120
ABdec
0X0
100
111
defined $$itemrecord{$_} && $$itemrecord{$_} ne ''
18180
Adec
00
11
GetFrameworkCode($biblionumber) || ''
18210
ABdec
0X0
100
111
defined $unlinked_item_subfields and $#$unlinked_item_subfields > -1
19490
ABCdec
0XX0
1000
1011
11X1
exists $$item{'notforloan'} and !defined($$item{'notforloan'}) || $$item{'notforloan'} eq ''
19530
ABCdec
0XX0
1000
1011
11X1
exists $$item{'damaged'} and !defined($$item{'damaged'}) || $$item{'damaged'} eq ''
19570
ABCdec
0XX0
1000
1011
11X1
exists $$item{'itemlost'} and !defined($$item{'itemlost'}) || $$item{'itemlost'} eq ''
19610
ABCdec
0XX0
1000
1011
11X1
exists $$item{'wthdrawn'} and !defined($$item{'wthdrawn'}) || $$item{'wthdrawn'} eq ''
19650
ABdec
0X0
100
111
exists $$item{'location'} and not exists $$item{'permanent_location'}
20450
ABdec
000
011
1X1
$$item{'dateaccessioned'} ||= 'C4::Dates'->new->output('iso')
20460
Adec
00
11
$$item{$_} ||= 0
21030
ABdec
000
011
1X1
$$item{'datelastseen'} || $today
0
ABdec
000
011
1X1
$$item{'replacementpricedate'} || $today
22100
Adec
00
11
'C4::Context'->preference('HomeOrHoldingBranch') or 'homebranch'
0
ABCdec
0XX0
10X0
1100
1111
not 'C4::Context'->userenv->{'flags'} & 1 and 'C4::Context'->preference('IndependantBranches') and 'C4::Context'->userenv->{'branch'} ne $$item{'C4::Context'->preference('HomeOrHoldingBranch') or 'homebranch'}
23250
ABdec
0X0
100
111
defined $$item{$_} && $$item{$_} ne ''
23320
ABdec
0X0
100
111
defined $tag and defined $subfield
23390
ABCdec
0XX0
10X0
1100
1111
defined $unlinked_item_subfields and ref $unlinked_item_subfields eq 'ARRAY' and $#$unlinked_item_subfields > -1
23960
ABCdec
0XX0
10X0
1100
1111
defined $$subfield[1] and $$subfield[1] ne '' and not $$marcstructure{$tag}{$$subfield[0]}{'kohafield'}
24160
ABCdec
0XX0
10X0
1100
1111
defined $unlinked_item_subfields and ref $unlinked_item_subfields eq 'ARRAY' and $#$unlinked_item_subfields > -1
24370
ABdec
0X0
100
111
defined $xml and $xml ne ''
25980
ABdec
0X0
100
111
$$tagslib{$tag}{$subfield}{'kohafield'} eq 'items.itemcallnumber' and 'C4::Context'->preference('itemcallnumber')
26090
ABCdec
0XX0
10X0
1100
1111
$$tagslib{$tag}{$subfield}{'kohafield'} eq 'items.itemcallnumber' and $defaultvalues and $$defaultvalues{'callnumber'}
26200
ABCDdec
00XX0
010X0
01100
01111
1X0X0
1X100
1X111
$$tagslib{$tag}{$subfield}{'kohafield'} eq 'items.holdingbranch' || $$tagslib{$tag}{$subfield}{'kohafield'} eq 'items.homebranch' and $defaultvalues and $$defaultvalues{'branchcode'}
26310
ABCdec
0XX0
10X0
1100
1111
$$tagslib{$tag}{$subfield}{'kohafield'} eq 'items.location' and $defaultvalues and $$defaultvalues{'location'}
26390
ABdec
0X0
100
111
500 <= $tag and $tag < 600
0
ABCDdec
000X0
00100
00111
01XX1
1XXX1
length $defaultvalue > 100 or 'C4::Context'->preference('marcflavour') eq 'UNIMARC' and (300 <= $tag and $tag < 400 and $subfield eq 'a') or 'C4::Context'->preference('marcflavour') eq 'MARC21' and (500 <= $tag and $tag < 600)
0
ABCdec
0XX0
10X0
1100
1111
300 <= $tag and $tag < 400 and $subfield eq 'a'
0
ABdec
0X0
100
111
'C4::Context'->preference('marcflavour') eq 'UNIMARC' and (300 <= $tag and $tag < 400 and $subfield eq 'a')
26460
ABdec
0X0
100
111
'C4::Context'->preference('IndependantBranches') and 'C4::Context'->userenv->{'flags'} % 2 != 1
26850
ABdec
000
011
1X1
$$class_sources{$class_source}{'used'} or $class_source eq $default_source
27500
ABdec
0X0
100
111
$itemrecord and $itemrecord->field($itemtagfield)