blib/lib/WWW/Pastebin/PastebinCom/Create.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 20 | 65.0 |
line | true | false | branch |
---|---|---|---|
31 | 1 | 1 | unless defined $args{'text'} and length $args{'text'} |
37 | 0 | 1 | unless $mech->success |
39 | 0 | 1 | unless $mech->form_name('myform') |
50 | 0 | 1 | unless $mech->success |
53 | 0 | 1 | if $uri =~ m[/index\.php] |
56 | 0 | 1 | if $uri =~ m[/warning\.php] |
69 | 0 | 2 | if defined $args{'desc'} and length $args{'desc'} > 60 |
75 | 1 | 1 | unless defined $args{'format'} |
80 | 1 | 1 | unless defined $args{'expiry'} |
83 | 2 | 0 | unless defined $args{'private'} and $args{'private'} eq '0' |