| blib/lib/WWW/ImagebinCa/Create.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 2 | 26 | 7.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 65 | 0 | 0 | 0 | $get_paste_uri and $token->is_start_tag('a') |
| 0 | 0 | 0 | $token->is_start_tag('div') and defined $token->get_attr('id') | |
| 0 | 0 | 0 | $token->is_start_tag('div') and defined $token->get_attr('id') and $token->get_attr('id') eq 'body' | |
| 0 | 0 | 0 | $is_error == 1 and $token->is_start_tag('h2') | |
| 0 | 0 | 0 | $is_error == 2 and $token->is_text | |
| 0 | 0 | 0 | $is_error == 3 and $token->is_end_tag('h2') | |
| 0 | 0 | 0 | $is_error == 4 and $token->is_text |
| line | l | !l | condition |
|---|---|---|---|
| 20 | 0 | 1 | $args{'timeout'} ||= 30 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 22 | 0 | 1 | 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') |