Webqq/Client/Method/_report.pm

filter: Statementstmt 11.1% 1 / 9 Branchbran 0.0% 0 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 7.1% 1 / 14 CC 3 SCAR 24.8
CC
3
Cov
8%
_report
12.0
CRAP 12.0
« Webqq/Client/Cache.pm ↑ Summary Webqq/Client/Method/_get_msg_tip.pm »
1 0 ▶sub Webqq::Client::_report {
Subroutine _report: not called CC=3 SCAR=24.8
2 0 my $self = shift;
3 0 return 1;
4 0 ▶ return 1 if $self->{type} ne 'smartqq';
Branch: 1 branch
BranchTrueFalseTotal
if $self->{"type"} ne "smartqq" 0 0 0
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 ▶ print $response->content(),"\n" if $self->{debug};
Branch: 1 branch
BranchTrueFalseTotal
if $self->{"debug"} 0 0 0
9 0 return 1;
10 }
11 1 1;
« Webqq/Client/Cache.pm ↑ Summary Webqq/Client/Method/_get_msg_tip.pm »