Branch Coverage

lib/Mojolicious/Plugin/Vparam/ISIN.pm
Criterion Covered Total %
branch 21 28 75.0


line true false branch
6 0 10 unless defined $_[0]
7 1 9 unless length $_[0]
8 0 9 unless $_[0] =~ /^[A-Z0-9]+$/
17 63 67 if $i % 2
18 7 123 if $digit > 9
21 1 8 if $crc % 10
27 0 3 unless defined $_[0]
28 1 2 unless length $_[0]
29 0 2 unless $_[0] =~ /^\d+$/
35 0 5 unless defined $_[0]
36 1 4 unless length $_[0]
37 2 2 unless $_[0] =~ /^\d+$/
44 0 15 unless defined $str
51 0 3 unless defined $str