Branch Coverage

blib/lib/Baseball/Sabermetrics.pm
Criterion Covered Total %
branch 7 20 35.0


line true false branch
156 1 0 if (exists $config{'data'}) { }
0 0 elsif (exists $config{'league'}) { }
161 0 0 unless $self
169 0 1 if (exists $config{'Accumulate'} and not $config{'Accumulate'})
218 3 0 unless (exists $$league{'_DontAccumulate'})
240 0 0 if ($pos eq 'lf' or $pos eq 'cf' or $pos eq 'rf')
275 2 0 if ($name)
276 0 2 unless exists $$self{'players'}{$name}
293 1 0 if ($name)
294 0 1 unless exists $$self{'teams'}{$name}