Condition Coverage

File:C4/Members.pm
Coverage:0.7%

line%coveragecondition
4650
Adec
00
11
$ENV{'DEBUG'} || 0
2090
ABdec
000
011
1X1
$search_on_fields ||= $member_search_on_fields
2100
ABdec
000
011
1X1
$searchtype ||= $member_searchtype
2250
ABdec
000
011
1X1
$search_on_fields ||= $member_search_on_fields
2260
ABdec
000
011
1X1
$searchtype ||= $member_searchtype
2300
ABCdec
0XX0
10X0
1100
1111
not $found_borrower and 'C4::Context'->preference('ExtendedPatronAttributes') and $search_string
2570
ABCdec
0XX0
10X0
1100
1111
$$userenv{'flags'} % 2 != 1 and $branch and $branch ne 'insecure'
2810
Adec
00
11
$searchtype ||= 'start_with'
3440
ABdec
0X0
100
111
$$borrower{'flags'} and $$borrower{'flags'} & 2 ** $bit
4340
Adec
00
11
'C4::Context'->preference('noissuescharge') || 5
4370
ABdec
0X0
100
111
$amount > $noissuescharge and not 'C4::Context'->preference('AllowFineOverride')
4480
ABdec
0X0
100
111
$$patroninformation{'gonenoaddress'} and $$patroninformation{'gonenoaddress'} == 1
4560
ABdec
0X0
100
111
$$patroninformation{'lost'} and $$patroninformation{'lost'} == 1
4620
ABdec
0X0
100
111
$$patroninformation{'debarred'} and check_date(split(/-/, $$patroninformation{'debarred'}, 0))
4720
ABdec
0X0
100
111
$$patroninformation{'borrowernotes'} and $$patroninformation{'borrowernotes'}
4800
ABdec
0X0
100
111
$odues and $odues > 0
5260
ABdec
0X0
100
111
exists $information{'borrowernumber'} and not defined $information{'borrowernumber'}
7150
ABdec
000
011
1X1
$data{'password'} eq '****' or $data{'password'} eq ''
7270
ABdec
0X0
100
111
exists $$borrowercategory{'category_type'} and $$borrowercategory{'category_type'} eq 'A'
7680
ABdec
0X0
100
111
$enrolmentfee and $enrolmentfee > 0
7860
ABdec
0X0
100
111
$uid ne '' and my $row = $sth->fetchrow_hashref
8210
ABdec
0X0
100
111
$uid ne '' and my $row = $sth->fetchrow_hashref
8510
Adec
00
11
'C4::Context'->boolean_preference('autoMemberNum') || 0
8610
ABdec
0X0
100
111
$checkdigit and $checkdigit eq 'katipo'
11340
ABdec
0X0
100
111
$date and $date ne ''
17180
ABdec
0X0
100
111
$enrolmentfee and $enrolmentfee > 0
19000
ABdec
000
011
1X1
shift @_ || POSIX::strftime('%Y-%m-%d', localtime())
19020
ABdec
000
011
1X1
shift @_ || ('C4::Context'->preference('IndependantBranches') && 'C4::Context'->userenv && 'C4::Context'->userenv->{'flags'} % 2 != 1 && 'C4::Context'->userenv->{'branch'} ? 'C4::Context'->userenv->{'branch'} : '')
0
ABCDdec
0XXX0
10XX0
110X0
11100
11111
'C4::Context'->preference('IndependantBranches') && 'C4::Context'->userenv && 'C4::Context'->userenv->{'flags'} % 2 != 1 && 'C4::Context'->userenv->{'branch'}
19220
ABdec
0X0
100
111
$filterbranch and $filterbranch ne ''
19630
ABdec
000
011
1X1
shift @_ || ('C4::Context'->preference('IndependantBranches') && 'C4::Context'->userenv && 'C4::Context'->userenv->{'flags'} % 2 != 1 && 'C4::Context'->userenv->{'branch'} ? 'C4::Context'->userenv->{'branch'} : '')
0
ABCDdec
0XXX0
10XX0
110X0
11100
11111
'C4::Context'->preference('IndependantBranches') && 'C4::Context'->userenv && 'C4::Context'->userenv->{'flags'} % 2 != 1 && 'C4::Context'->userenv->{'branch'}
19780
ABdec
0X0
100
111
$filterbranch and $filterbranch ne ''
20120
ABdec
000
011
1X1
shift @_ || POSIX::strftime('%Y-%m-%d', localtime())
20130
ABdec
000
011
1X1
shift @_ || ('C4::Context'->preference('IndependantBranches') && 'C4::Context'->userenv && 'C4::Context'->userenv->{'flags'} % 2 != 1 && 'C4::Context'->userenv->{'branch'} ? 'C4::Context'->userenv->{'branch'} : '')
0
ABCDdec
0XXX0
10XX0
110X0
11100
11111
'C4::Context'->preference('IndependantBranches') && 'C4::Context'->userenv && 'C4::Context'->userenv->{'flags'} % 2 != 1 && 'C4::Context'->userenv->{'branch'}
21380
ABCDdec
0XXX0
10XX0
110X0
11100
11111
$borrowernumber && $message_type && $message && $branchcode