line |
true |
false |
branch |
94
|
0 |
0 |
if (defined $ENV{'HOME'}) |
97
|
0 |
0 |
if ($home_dir =~ m[^([\-A-Za-z0-9_ /\.\@\+\\:]*)$]) { } |
353
|
0 |
0 |
if $self->account_name and $self->password |
354
|
0 |
0 |
if ($self->auto_login) { } |
358
|
0 |
0 |
unless $self->account_name |
393
|
0 |
0 |
if (defined $self->site_info->{'login_verify_re'}) |
401
|
0 |
0 |
unless $self->account_name |
403
|
0 |
0 |
unless $self->password |
407
|
0 |
0 |
if $self->error |
413
|
0 |
0 |
if (not $verify_re or $self->current_page->decoded_content =~ /$verify_re/is) { } |
419
|
0 |
0 |
unless ($self->error) |
440
|
0 |
0 |
if $tries_left < 1 |
|
0 |
0 |
if ($tries_left) |
441
|
0 |
0 |
unless defined $tries_left |
445
|
0 |
0 |
unless $self->site_info->{'login_form_no'} or $self->site_info->{'login_form_name'} |
451
|
0 |
0 |
if ($submitted) { } |
455
|
0 |
0 |
unless ($self->_check_login) |
459
|
0 |
0 |
if ($self->_account_verified) { } |
531
|
0 |
0 |
unless ($res) |
536
|
0 |
0 |
if ($res->is_error == 403 or $res->decoded_content =~ /$re/is) { } |
537
|
0 |
0 |
if ($res->is_error) { } |
543
|
0 |
0 |
if ($self->logged_in) |
558
|
0 |
0 |
if $self->{'_account_verified'}{$self->account_name} |
572
|
0 |
0 |
unless ($self->my_friend_id) |
618
|
0 |
0 |
if (open PREFS, '< ', $cache_filepath) |
631
|
0 |
0 |
unless ($self->use_defaults and $prefs->{'email'} and $prefs->{'password'}) |
651
|
0 |
0 |
unless (defined $prefs->{'email'}) |
654
|
0 |
0 |
if ($res) |
658
|
0 |
0 |
unless (defined $prefs->{'password'}) |
659
|
0 |
0 |
$prefs->{'password'} ? : |
666
|
0 |
0 |
if ($res) |
676
|
0 |
0 |
unless open PREFS, '>', $cache_filepath |
680
|
0 |
0 |
unless close PREFS |
847
|
0 |
0 |
if ($options{'follow'}) |
864
|
0 |
0 |
if $self->human |
865
|
0 |
0 |
if ($self->error) { } |
915
|
0 |
0 |
if ($options{'re'}) |
921
|
0 |
0 |
if ($link) { } |
957
|
0 |
0 |
if ($self->{'page_cache'}{$url} and $self->{'page_cache'}{$url}->is_fresh) { } |
975
|
0 |
0 |
unless ($url->is_fresh) |
1007
|
0 |
0 |
if ($self->logged_in and not $self->_check_login($res)) { } |
|
0 |
0 |
elsif ($res->is_success) { } |
1020
|
0 |
0 |
if ($regexp) { } |
1022
|
0 |
0 |
unless ($page =~ /$regexp/ism) |
1030
|
0 |
0 |
if (defined $self->site_info->{'error_regexs'}) |
1033
|
0 |
0 |
if ($page =~ /$error_regex/ism) |
1054
|
0 |
0 |
unless $page_ok |
1165
|
0 |
0 |
if ($options{'form'}) { } |
1169
|
0 |
0 |
if (ref $options{'page'} eq 'HTTP::Response') { } |
|
0 |
0 |
elsif (not $options{'page'}) { } |
1178
|
0 |
0 |
if $self->error |
1183
|
0 |
0 |
if ($options{'form_no'}) |
1185
|
0 |
0 |
unless (@forms > $options{'form_no'}) |
1190
|
0 |
0 |
if ($options{'form_name'}) |
1193
|
0 |
0 |
if ($form->attr('name') and $form->attr('name') eq $options{'form_name'}) |
1205
|
0 |
0 |
if ($options{'action'}) |
1211
|
0 |
0 |
if ($f->find_input($field)) { } |
1212
|
0 |
0 |
if ($f->find_input($field)->readonly) |
1221
|
0 |
0 |
if ($options{'die'}) |
1229
|
0 |
0 |
if $trying_again |
1232
|
0 |
0 |
if ($options{'button'}) { } |
|
0 |
0 |
elsif ($options{'no_click'}) { } |
1247
|
0 |
0 |
if ($@) |
1303
|
0 |
0 |
unless ($self->logged_in) |
1309
|
0 |
0 |
if ($self->mech->uri =~ /$home_uri_re/i) |
1317
|
0 |
0 |
if ($home_link = $self->mech->find_link('url_regex', qr/$link_re/i)) |
1348
|
0 |
0 |
unless (-d $self->cache_dir) |
1349
|
0 |
0 |
unless mkdir $self->cache_dir |