Branch Coverage

blib/lib/Encode/Base32/Crockford.pm
Criterion Covered Total %
branch 24 24 100.0


line true false branch
33 1 2054 unless looks_like_number $number
35 2 2052 unless $number
66 1 3087 if $string ne $orig_string
69 3 3085 if $string =~ tr/ILOilo-/110110/d
80 1 3 if $mode eq 'warn'
81 1 3 if $mode eq 'strict'
87 1 3089 unless defined $string
88 1 3088 if $string eq ''
94 1030 2057 if ($$options{'is_checksum'}) { }
95 1 1029 if length $string > 1
105 2 3084 unless $string =~ /$valid/
135 1 1026 if $checksum_value != $modulo