line |
true |
false |
branch |
36
|
0 |
0 |
if $options{'user'} |
37
|
0 |
0 |
if $options{'password'} |
86
|
0 |
0 |
if (1 == scalar @$last_row) { } |
|
0 |
0 |
elsif (2 == scalar @$last_row) { } |
99
|
0 |
0 |
if $num_rows != scalar @$data |
105
|
0 |
0 |
if defined $total |
117
|
0 |
0 |
if (@$_[$startIndex] =~ /$eu_reg/) { } |
|
0 |
0 |
elsif (@$_[$startIndex] =~ /$us_reg/) { } |
144
|
0 |
0 |
unless $status |
157
|
0 |
0 |
unless $$s{'user'} and $$s{'password'} |
159
|
0 |
0 |
if $$s{'response'}{'login'} and not $$s{'response'}{'login'}->is_error |
163
|
0 |
0 |
unless $r |
168
|
0 |
0 |
unless @forms |
170
|
0 |
0 |
unless $$s{'form'}{'login'} |
176
|
0 |
0 |
unless $$s{'response'}{'login'} and not $$s{'response'}{'login'}->is_error |
185
|
0 |
0 |
if @failure |
189
|
0 |
0 |
if (@notifications) |
211
|
0 |
0 |
unless $form |
214
|
0 |
0 |
unless $input |
222
|
0 |
0 |
if scalar @_ |
224
|
0 |
0 |
if $date and not $date =~ m[\d{2}/\d{2}/\d{4}] |
225
|
0 |
0 |
unless ($date) |
231
|
0 |
0 |
unless $date |
236
|
0 |
0 |
unless $form |
246
|
0 |
0 |
unless $r |
248
|
0 |
0 |
if $filename |
257
|
0 |
0 |
if scalar @_ |
258
|
0 |
0 |
unless $month and $month =~ /\d{4}\d{2}/ |
259
|
0 |
0 |
if scalar @_ |
260
|
0 |
0 |
unless $region |
266
|
0 |
0 |
unless $list and $$list{$month} and $$list{$month}{$region} |
270
|
0 |
0 |
unless $r and $r->is_success and $r->content |
281
|
0 |
0 |
if $$s{'financial_reports'} |
285
|
0 |
0 |
unless $r |
291
|
0 |
0 |
unless $form |
294
|
0 |
0 |
unless $r |
304
|
0 |
0 |
unless $input |
306
|
0 |
0 |
unless $table |
308
|
0 |
0 |
unless $table |
334
|
0 |
0 |
if scalar @_ |
335
|
0 |
0 |
if $date and not $date =~ /\d{4}\d{2}/ |
341
|
0 |
0 |
unless ($date) |
345
|
0 |
0 |
unless $date |
354
|
0 |
0 |
unless %report |
358
|
0 |
0 |
unless %parsed |
375
|
0 |
0 |
unless $form |
378
|
0 |
0 |
unless $input |
389
|
0 |
0 |
if scalar @_ |
391
|
0 |
0 |
if %options and $options{'To'} and $options{'From'} and not $options{'To'} =~ m[\d{2}/\d{2}/\d{4}] && $options{'From'} =~ m[\d{2}/\d{2}/\d{4}] |
394
|
0 |
0 |
unless (%options) |
398
|
0 |
0 |
unless @months |
411
|
0 |
0 |
unless $form |
421
|
0 |
0 |
unless $r |
424
|
0 |
0 |
unless index($r->as_string, 'There are no free transactions to report') == -1 |
427
|
0 |
0 |
if $filename |
440
|
0 |
0 |
unless $form |
443
|
0 |
0 |
unless $input |
454
|
0 |
0 |
if scalar @_ |
456
|
0 |
0 |
if $week and not $week =~ m[\d{2}/\d{2}/\d{4}] |
457
|
0 |
0 |
unless ($week) |
461
|
0 |
0 |
unless @weeks |
469
|
0 |
0 |
unless $form |
479
|
0 |
0 |
unless $r |
481
|
0 |
0 |
if $filename |
491
|
0 |
0 |
if scalar @_ |
498
|
0 |
0 |
if scalar @_ |
508
|
0 |
0 |
unless ($$s{'response'}{'daily_summary_sales'}) |
513
|
0 |
0 |
unless $form |
525
|
0 |
0 |
unless @forms |
535
|
0 |
0 |
unless ($$s{'response'}{'monthly_summary_free'}) |
540
|
0 |
0 |
unless $form |
552
|
0 |
0 |
unless @forms |
562
|
0 |
0 |
unless ($$s{'response'}{'weekly_summary_sales'}) |
567
|
0 |
0 |
unless $form |
579
|
0 |
0 |
unless @forms |
590
|
0 |
0 |
unless $r |
591
|
0 |
0 |
if $r->is_error |
595
|
0 |
0 |
unless @forms |
605
|
0 |
0 |
if scalar @_ |
608
|
0 |
0 |
if $$s{'response'}{'financial'}{$page} |
610
|
0 |
0 |
unless ($$s{'financial_path'}) |
613
|
0 |
0 |
unless $$s{'main_menu_tree'} |
617
|
0 |
0 |
unless $element |
619
|
0 |
0 |
unless $$s{'financial_path'} |
623
|
0 |
0 |
if ($page > 1) { } |
627
|
0 |
0 |
if $page > $$s{'num_financial_report_pages'} |
633
|
0 |
0 |
unless $form |
654
|
0 |
0 |
unless $r |
664
|
0 |
0 |
if $$s{'response'}{'sales'} |
666
|
0 |
0 |
unless ($$s{'sales_path'}) |
669
|
0 |
0 |
unless $$s{'main_menu_tree'} |
673
|
0 |
0 |
unless $element |
675
|
0 |
0 |
unless $$s{'sales_path'} |
680
|
0 |
0 |
unless $r |
684
|
0 |
0 |
unless $r |
694
|
0 |
0 |
unless $$s{'ua'} |