| lib/Data/Pokemon/Go/Skill.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 13 | 24 | 54.1 |
| line | true | false | branch |
|---|---|---|---|
| 46 | 0 | 830 | unless $num =~ /^\d{1,3}$/ |
| 47 | 830 | 0 | unless $self->own_type |
| 0 | 830 | if grep {$_ eq $self->types;} @{[] unless $self->own_type;} | |
| 55 | 0 | 1442 | unless $num =~ /^\d{3,4}$/ |
| 63 | 0 | 1104 | unless $num =~ /^(:?0|1|2|3)$/ |
| 75 | 109 | 114 | unless $self->energy |
| 82 | 108 | 58 | $self->gauges ? : |
| 90 | 324 | 174 | $self->gauges ? : |
| 93 | 495 | 3 | if $point > 0 |
| 100 | 0 | 0 | unless $self->own_type |
| 0 | 0 | if grep {$_ eq $self->type;} @{[] unless $self->own_type;} | |
| 101 | 0 | 0 | $self->gauges ? : |