Branch Coverage

blib/lib/Medical/NHSNumber.pm
Criterion Covered Total %
branch 8 10 80.0


line true false branch
75 0 6 unless defined $number
80 2 4 unless scalar @digits == 10
83 1 3 unless $number =~ /\d{10}/
109 0 3 if ($calculated_check_digit == 11)
118 2 1 if ($calculated_check_digit == 10 or $calculated_check_digit != $check_digit) { }