Branch Coverage

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


line true false branch
58 173 1947 if (not defined $form and defined $name and $name =~ /^(\w+)\((\w+)\)$/)
62 0 1949 unless defined $fullname
63 1947 2 unless $form
72 0 2117 unless $id =~ /^\d{3}$/
80 0 6227 unless ref $typesref eq 'ARRAY'
138 0 1725 unless exists $Data::Pokemon::Go::Pokemon::All->{$name}{'Stamina'}
145 0 1725 unless exists $Data::Pokemon::Go::Pokemon::All->{$name}{'Attack'}
152 0 1725 unless exists $Data::Pokemon::Go::Pokemon::All->{$name}{'Defense'}
159 0 1040 unless $when =~ /(:?Boosted|Hatched|Grown)/
163 0 1040 unless exists $Data::Pokemon::Go::Pokemon::All->{$name}{'MAXCP'}{$when}
188 86 661 exists $Data::Pokemon::Go::Pokemon::All->{$name}{'Form'} ? :
195 301 4494 if exists $ref->{'Form'}
203 0 4857 unless exists $ref->{'Name'}{$lang}