blib/lib/WWW/ImagebinCa/Retrieve.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 2 | 20 | 10.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
95 | 0 | 0 | 0 | $token->is_start_tag('img') and $token->get_attr('id') |
0 | 0 | 0 | $token->is_start_tag('img') and $token->get_attr('id') and $token->get_attr('id') eq 'theimg' | |
0 | 0 | 0 | $get_description == 1 and $token->is_start_tag('div') | |
0 | 0 | 0 | $get_description == 1 and $token->is_start_tag('div') and defined $token->get_attr('style') | |
0 | 0 | 0 | $get_description == 2 and $token->is_text |
line | l | !l | condition |
---|---|---|---|
28 | 2 | 0 | $args{'timeout'} ||= 30 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
30 | 0 | 2 | 0 | $args{'ua'} ||= 'LWP::UserAgent'->new('timeout', $args{'timeout'}, 'agent', 'Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.12) Gecko/20080207 Ubuntu/7.10 (gutsy) Firefox/2.0.0.12') |