| blib/lib/Webqq/Client/Method/_report.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 0 | 8 | 0.0 |
| branch | 0 | 4 | 0.0 |
| condition | n/a | ||
| subroutine | 0 | 1 | 0.0 |
| pod | n/a | ||
| total | 0 | 13 | 0.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | sub Webqq::Client::_report { | ||||||
| 2 | 0 | 0 | my $self = shift; | ||||
| 3 | 0 | return 1; | |||||
| 4 | 0 | 0 | return 1 if $self->{type} ne 'smartqq'; | ||||
| 5 | 0 | console "上报登录状态...\n"; | |||||
| 6 | 0 | my $ua = $self->{ua}; | |||||
| 7 | 0 | my $response = $ua->get('https://ui.ptlogin2.qq.com/cgi-bin/report?id=488358'); | |||||
| 8 | 0 | 0 | print $response->content(),"\n" if $self->{debug}; | ||||
| 9 | 0 | return 1; | |||||
| 10 | } | ||||||
| 11 | 1; |