Branch Coverage

blib/lib/Text/Password/SHA.pm
Criterion Covered Total %
branch 11 12 91.6


line true false branch
70 0 308 unless length $data
72 105 203 if $data =~ /^\$6\$[!-~]{1,8}\$[!-~]{86}$/
74 1 202 if $data =~ /^\$5\$([!-~]{1,8})\$[!-~]{43}$/
76 1 201 if $data =~ /^[0-9a-f]{40}$/i
98 1 307 if length $input < $min
99 1 306 if $input =~ /[^ -~]/