blib/lib/Baseball/Sabermetrics.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 18 | 27.7 |
line | true | false | branch |
---|---|---|---|
103 | 1 | 0 | if (exists $config{'data'}) { } |
0 | 0 | elsif (exists $config{'league'}) { } | |
108 | 0 | 0 | unless $self |
116 | 0 | 1 | if (exists $config{'Accumulate'} and not $config{'Accumulate'}) |
155 | 2 | 0 | unless (exists $league->{'_DontAccumulate'}) |
185 | 2 | 0 | if ($name) |
186 | 0 | 2 | unless exists $self->{'players'}{$name} |
203 | 0 | 0 | if ($name) |
204 | 0 | 0 | unless exists $self->{'teams'}{$name} |