Branch Coverage

blib/lib/Chess/FIDE.pm
Criterion Covered Total %
branch 29 36 80.5


line true false branch
42 1 3 if ($param{-'file'}) { }
2 1 elsif ($param{-'www'}) { }
44 1 0 if (defined $fh) { }
54 0 2 if $param{-'proxy'}
57 1 1 if ($response->is_success) { }
64 0 1 unless my $fh = 'IO::String'->new(\$webcontent)
67 0 1 unless ($status == 0)
74 0 1 unless defined $fh2
92 3 472435 unless $line =~ /^\s*\d/
94 472435 0 if $player
107 435336 37099 if ($id_and_name =~ /\S\,\s*\S/)
116 583 470540 !$surname ? :
1312 471123 !$givenname ? :
132 470942 2359389 $i == $#{$data_offsets;} ? :
134 7664 2822667 if $offset > length $rest
135 464771 2357896 if ($i == $#{$data_offsets;}) { }
180 2 1 if ($criteria =~ /^$field /)
186 0 2 unless $found