| line |
true |
false |
branch |
|
28
|
3 |
6 |
unless defined $params->{'username'} |
|
39
|
2 |
4 |
unless (ref $_[-1] eq 'CODE') |
|
42
|
2 |
0 |
$tx->res ? : |
|
48
|
0 |
4 |
unless defined $tx->result |
|
51
|
0 |
4 |
unless defined $json |
|
70
|
3 |
4 |
if (ref $params eq 'HASH') { } |
|
|
3 |
1 |
elsif (ref \$params eq 'SCALAR') { } |
|
72
|
0 |
3 |
unless exists $params->{'username'} |
|
86
|
1 |
5 |
unless (ref $_[-1] eq 'CODE') |
|
89
|
1 |
0 |
if (exists $json->{'recenttracks'}{'track'}[0]) { } |
|
103
|
0 |
3 |
unless defined $json |
|
105
|
2 |
1 |
if (exists $json->{'recenttracks'}{'track'}[0]) { } |
|
146
|
1 |
2 |
unless defined $user |
|
154
|
1 |
1 |
unless (ref $_[-1] eq 'CODE') |
|
157
|
1 |
0 |
$tx->result ? : |