Branch Coverage

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


line true false branch
58 181 1944 if (not defined $form and defined $name and $name =~ /^(\w+)\((\w+)\)$/)
62 0 1946 unless defined $fullname
63 1944 2 unless $form
72 0 2122 unless $id =~ /^\d{3}$/
80 0 6238 unless ref $typesref eq 'ARRAY'
138 0 1904 unless exists $Data::Pokemon::Go::Pokemon::All->{$name}{'Stamina'}
145 0 1904 unless exists $Data::Pokemon::Go::Pokemon::All->{$name}{'Attack'}
152 0 1904 unless exists $Data::Pokemon::Go::Pokemon::All->{$name}{'Defense'}
159 0 1218 unless $when =~ /(:?Boosted|Hatched|Grown)/
163 0 1218 unless exists $Data::Pokemon::Go::Pokemon::All->{$name}{'MAXCP'}{$when}
188 90 660 exists $Data::Pokemon::Go::Pokemon::All->{$name}{'Form'} ? :
195 315 4487 if exists $ref->{'Form'}
203 0 4866 unless exists $ref->{'Name'}{$lang}