| line |
true |
false |
branch |
|
104
|
5 |
2 |
if (ref $args eq 'ARRAY' or ref $args eq 'HASH') { } |
|
107
|
1 |
2 |
if (ref $args eq 'HASH' and !defined($$args{'scores_csv'}) || ref $$args{'scores_csv'} ne 'ARRAY') |
|
115
|
0 |
1 |
unless __args_are_valid($args) |
|
119
|
0 |
1 |
if (ref $args eq 'HASH') |
|
125
|
1 |
0 |
$p1 > $p2 ? : |
|
129
|
1 |
0 |
if ($results{'p1'} > $results{'p2'}) { } |
|
|
0 |
0 |
elsif ($results{'p1'} < $results{'p2'}) { } |
|
146
|
0 |
1 |
if (ref $args eq 'HASH') |
|
150
|
0 |
0 |
unless $key =~ /^player[12]_votes$/ |
|
160
|
0 |
1 |
if $response->is_error |
|
254
|
0 |
4 |
if $response->is_error |
|
286
|
0 |
1 |
if $response->is_error |
|
313
|
1 |
3 |
unless defined $atth |
|
327
|
1 |
2 |
if $response->is_error |
|
382
|
1 |
12 |
unless defined $args |
|
393
|
0 |
9 |
unless WWW::Challonge::Match::Attachment::__args_are_valid($args) |
|
396
|
7 |
2 |
if defined $$args{'asset'} |
|
408
|
2 |
7 |
if $response->is_error |
|
429
|
2 |
2 |
if (ref $args eq 'HASH') |
|
434
|
1 |
3 |
unless ($result =~ /^\d*-\d*$/) |
|
443
|
2 |
1 |
if (ref $args eq 'HASH') |
|
447
|
2 |
1 |
unless defined $$args{$arg} |
|
448
|
1 |
0 |
unless ($$args{$arg} =~ /^\d*$/) |
|
462
|
1 |
5 |
if ($arg eq $valid_arg) |
|
468
|
1 |
1 |
unless $is_valid |