Condition Coverage

blib/lib/CAS/User.pm
Criterion Covered Total %
condition 1 106 0.9


and 3 conditions

line !l l&&!r l&&r condition
148 0 0 0 require diagnostics and 'diagnostics'->import
158 0 0 0 defined $valid_Username and defined $valid_Password
0 0 0 defined $valid_Username and defined $valid_Password and defined $valid_Email
318 0 0 0 require diagnostics and 'diagnostics'->import
697 0 0 0 $value =~ /\d/ and $value =~ /[A-Z]/
0 0 0 $value =~ /\d/ and $value =~ /[A-Z]/ and $value =~ /[a-z]/
0 0 0 $value =~ /\d/ and $value =~ /[A-Z]/ and $value =~ /[a-z]/ and $value =~ /[^\w]/

or 2 conditions

line l !l condition
146 0 0 $$HR_params{'debug'} || $$self{'debug'} || 0
184 0 0 $$HR_params{$field} || undef
214 0 0 $$self{'client'}{'Supplemental_User_Table'} || undef
218 0 0 $$HR_params{$field} || undef
261 0 0 $$HR_params{'GROUP'} || $$self{'client'}{'Default_Group'} || $$self{'DEFAULT_GROUP'} || undef
316 0 0 $$HR_params{'DEBUG'} || $$self{'debug'} || 0
337 0 0 $$self{'client'}{'Supplemental_User_Table'} || undef
375 0 0 $$self{'client'}{'Supplemental_User_Table'} || undef
429 0 0 $$self{'client'}{'Supplemental_User_Table'} || undef
618 0 0 $$value{'Username'} || undef
665 0 0 $$value{'STRICT'} || 0
666 0 0 $$value{'Password'} || undef
723 0 0 $$value{'Firstname'} || undef
769 0 0 $$value{'Lastname'} || undef
815 0 0 $$value{'Phone'} || undef
860 0 0 $$value{'Email'} || undef
910 0 0 $$value{'Address1'} || undef
957 0 0 $$value{'Address2'} || undef
1004 0 0 $$value{'City'} || undef
1050 0 0 $$value{'State'} || undef
1096 0 0 $$value{'Country'} || undef
1142 0 0 $$value{'Zip'} || undef
1259 0 0 shift() || ''

or 3 conditions

line l !l&&r !l&&!r condition
133 0 1 0 ref $proto || $proto
206 0 0 0 $dbh->selectrow_array('SELECT LAST_INSERT_ID()') || $$HR_params{'ID'}
305 0 0 0 ref $proto || $proto
321 0 0 0 $$HR_params{'ID'} || $$HR_params{'Username'}
735 0 0 0 length $value < 2 or not $value =~ /\w+/
781 0 0 0 length $value < 2 or not $value =~ /\w+/
827 0 0 0 length $value < 3 or not $value =~ /\d+/
870 0 0 0 length $value < 6 or not $value =~ /\w{2}/
922 0 0 0 length $value < 6 or not $value =~ /\w+/
969 0 0 0 length $value < 6 or not $value =~ /\w+/
1016 0 0 0 length $value < 2 or not $value =~ /\w+/
1062 0 0 0 length $value < 2 or not $value =~ /\w+/
1108 0 0 0 length $value < 2 or not $value =~ /\w+/