Branch Coverage

blib/lib/Chess/FIDE/Player.pm
Criterion Covered Total %
branch 21 24 87.5


line true false branch
49 1 429917 unless (exists $FIDE_defaults{$_})
50 0 1 if $ENV{'CHESS_FIDE_VERBOSE'}
53 429917 0 defined $param{$_} ? :
58 34 29962 if $player->{'fed'} eq '*'
59 1964 18035 $player->{'flag'} =~ /^w/ ? :
60 124 29872 if $player->{'otit'}
61 164 29832 if $player->{'tit'} and $player->{'tit'} eq 'm'
62 36 29960 if $player->{'tit'} and $player->{'tit'} eq 'wm'
64 780 217 if $player->{'tit'} and $player->{'tit'} ne 'WH' and not $player->{'tit'} =~ /m$/i
78 0 474054 if $method =~ /^destroy$/
79 2 474052 unless (exists $self->{$method})
83 1 474051 if $param