line |
true |
false |
branch |
38
|
0 |
0 |
if defined $one xor defined $two |
39
|
0 |
0 |
unless defined $one |
48
|
0 |
0 |
if defined $one xor defined $two |
49
|
0 |
0 |
unless defined $one |
55
|
0 |
0 |
if (defined $price) { } |
102
|
0 |
0 |
unless 'Config::Tiny'->read("$fn", 'utf8') |
130
|
0 |
0 |
unless $exists |
139
|
0 |
0 |
if ($self->has_dbh) |
165
|
0 |
0 |
unless ($config_file->is_file) |
166
|
0 |
0 |
if $config_file->is_dir |
186
|
0 |
0 |
if (my $editor = $ENV{'VISUAL'} || $ENV{'EDITOR'}) |
268
|
0 |
0 |
unless defined $_ |
307
|
0 |
0 |
if ($book_row) { } |
309
|
0 |
0 |
unless (_eq($$book_row{'title'}, $$book{'title'}) and _eq($$book_row{'author'}, $$book{'author'})) |
325
|
0 |
0 |
if (exists $$existing_priority{$ean}) { } |
327
|
0 |
0 |
unless (_numEq($$book{'priority'}, $$existing_priority{$ean})) |
343
|
0 |
0 |
unless defined $price |
351
|
0 |
0 |
if ($current_price_row and _numEq($$current_price_row{'price'}, $$book{'price'}) and _numEq($$current_price_row{'list_price'}, $$book{'list_price'}) and _numEq($$current_price_row{'discount'}, $$book{'discount'})) { } |
360
|
0 |
0 |
if ($current_price_row) |
384
|
0 |
0 |
unless $$updates{$a}{'new'}{'price'} <=> $$updates{$b}{'new'}{'price'} |
389
|
0 |
0 |
if $old and defined $$new{'price'} |
422
|
0 |
0 |
unless (defined $wishlist_id) |
443
|
0 |
0 |
if (my $old = $$updates{$_}{'old'}) |
460
|
0 |
0 |
unless my(@eans) = $self->reduced_price_eans |
476
|
0 |
0 |
@eans > 2 ? : |
505
|
0 |
0 |
if (@$books == 1) { } |
560
|
0 |
0 |
$$row{'list_price'} ? : |
|
0 |
0 |
$$row{'discount'} ? : |
579
|
0 |
0 |
unless $$updates{$a}{'new'}{'title'} cmp $$updates{$b}{'new'}{'title'} |
601
|
0 |
0 |
if $wishlist eq '_' |
619
|
0 |
0 |
if $_[0] and $_[0] eq 'version' |
654
|
0 |
0 |
unless $getopt->getoptionsfromarray(\@args, 'email|e', \$send_email, 'quiet|q', \$quiet, 'since|s=s', \$since_date, 'update|u', \$fetch_wishlist, 'configure', sub {
$self->configure;
exit;
}
, 'help', $usage, 'version', $usage) |
660
|
0 |
0 |
if ($fetch_wishlist or $send_email) { } |
|
0 |
0 |
elsif (not @args || $since_date) { } |
663
|
0 |
0 |
if $send_email |
664
|
0 |
0 |
unless $quiet |
667
|
0 |
0 |
if ($self->config_file->is_file) { } |
674
|
0 |
0 |
if ($since_date) |
680
|
0 |
0 |
if ($arg =~ /^[0-9]{13}\z/) { } |