Condition Coverage

File:C4/Letters.pm
Coverage:0.0%

line%coveragecondition
1230
ABdec
0X0
100
111
'C4::Context'->preference('IndependantBranches') and $branchcode
1950
ABdec
0X0
100
111
$borrowernumber and $borrowernumber =~ /^\d+$/
2580
ABdec
000
011
1X1
$type eq 'claimacquisition' or $type eq 'claimissues'
3950
ABdec
000
011
1X1
$$branchdetails{'branchemail'} || 'C4::Context'->preference('KohaAdminEmailAddress')
4340
Adec
00
11
$params{'branchcode'} || ''
4430
ABCdec
0000
0011
01X1
1XX1
$tables or $substitute or $repeat
5240
ABdec
0X0
100
111
$ref and $ref eq 'HASH'
5920
ABdec
0X0
100
111
$table eq 'reserves' and $$values{'waitingdate'}
6040
ABdec
0X0
100
111
$$letter{'content'} and $$letter{'content'} =~ /<<today>>/
6320
ABdec
0X0
100
111
$table eq 'borrowers' and $$letter{'content'}
6370
ABdec
000
011
1X1
$$_{'value_description'} || $$_{'value'}
6400
Adec
00
11
$attr{$code} ||= []
6920
Adec
00
11
$$params{'letter'}{'code'} || ''
0
Adec
00
11
$$params{'letter'}{'metadata'} || ''
7230
ABdec
000
011
1X1
$$params{'verbose'} or $debug
0
Adec
00
11
$$message{'borrowernumber'} || 'Admin'
7690
Adec
00
11
shift @_ || {}
8390
Adec
00
11
$$letter{'content-type'} || 'TEXT'
9270
Adec
00
11
$$message{'content_type'} || 'text/plain; charset="UTF-8"'
9290
ABdec
000
011
1X1
$$message{'from_address'} || 'C4::Context'->preference('KohaAdminEmailAddress')
9580
Adec
00
11
'C4::Context'->preference('NoticeCSS') || ''