Branch Coverage

lib/Data/Pokemon/Go/Pokemon.pm
Criterion Covered Total %
branch 17 26 65.3


line true false branch
58 193 1941 if (not defined $form and defined $name and $name =~ /^(\w+)\((\w+)\)$/)
62 0 1943 unless defined $fullname
63 1941 2 unless $form
72 0 2131 unless $id =~ /^\d{3}$/
80 0 6259 unless ref $typesref eq 'ARRAY'
138 0 1930 unless exists $Data::Pokemon::Go::Pokemon::All->{$name}{'Stamina'}
145 0 1930 unless exists $Data::Pokemon::Go::Pokemon::All->{$name}{'Attack'}
152 0 1930 unless exists $Data::Pokemon::Go::Pokemon::All->{$name}{'Defense'}
159 0 1242 unless $when =~ /(:?Boosted|Hatched|Grown)/
163 0 1242 unless exists $Data::Pokemon::Go::Pokemon::All->{$name}{'MAXCP'}{$when}
188 96 659 exists $Data::Pokemon::Go::Pokemon::All->{$name}{'Form'} ? :
195 336 4480 if exists $ref->{'Form'}
203 0 4883 unless exists $ref->{'Name'}{$lang}