Branch Coverage

blib/lib/Text/Password/SHA.pm
Criterion Covered Total %
branch 12 14 85.7


line true false branch
74 0 309 unless length $input
75 0 309 unless length $data
77 306 3 if $data =~ m[^\$6\$[!-~]{1,$m}\$[\w/\.]{86}$]
79 1 2 if $data =~ m[^\$5\$[!-~]{1,$m}\$[\w/\.]{43}$]
81 1 1 if $data =~ /^[\da-f]{40}$/i
102 1 410 if length $input < 4
103 1 409 if $input =~ /[^ -~]/