| blib/lib/XiaoI.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 1 | 14 | 7.1 |
| line | true | false | branch |
|---|---|---|---|
| 35 | 0 | 1 | if ($login_page =~ /L_IDS_SEND_MESSAGE_URL\s*=\s*"(.*?)";.*?L_IDS_RECV_MESSAGE_URL\s*=\s*"(.*?)";.*?L_IDS_GET_RESOURCE_URL\s*=\s*"(.*?)";.*?__sessionId\s*=\s*"(.*?)";/is) { } |
| 51 | 0 | 0 | if (time - $$self{'last_login_time'} > 18000) |
| 63 | 0 | 0 | if ($text eq '') { } |
| 78 | 0 | 0 | if $res->code ne '200' |
| 80 | 0 | 0 | if $res->code ne '200' |
| 82 | 0 | 0 | if ($text =~ /processMessageReceived\((.*)\)/s) |
| 85 | 0 | 0 | if (@$ra > 0 and $$ra[0]{'CMD'} eq 'CHAT') |