blib/lib/Mojo/Webqq/Client/Remote/_check_sig.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 0 | 6 | 0.0 |
branch | 0 | 2 | 0.0 |
condition | n/a | ||
subroutine | 0 | 1 | 0.0 |
pod | n/a | ||
total | 0 | 9 | 0.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | sub Mojo::Webqq::Client::_check_sig { | ||||||
2 | 0 | 0 | my $self = shift; | ||||
3 | 0 | $self->info("检查安全代码...\n"); | |||||
4 | 0 | my $api_url = $self->api_check_sig; | |||||
5 | 0 | my $content = $self->http_get($api_url,{ua_debug_res_body=>0}); | |||||
6 | 0 | 0 | return 0 unless defined $content; | ||||
7 | 0 | return 1; | |||||
8 | } | ||||||
9 | 1; |