Branch Coverage

blib/lib/Tapper/Reports/Web/Controller/Tapper/Metareports.pm
Criterion Covered Total %
branch 0 178 0.0


line true false branch
39 0 0 if ($hr_params->{'chart_tiny_url'}) { }
0 0 elsif ($hr_params->{'chart_id'}) { }
44 0 0 unless ($hr_params->{'chart_version'})
95 0 0 if ($hr_search)
122 0 0 $or_c->stash->{'chart'} ? :
124 0 0 if ($or_restriction->is_template_restriction)
128 0 0 if ($hr_params->{$s_restricted_value}) { }
137 0 0 if (%h_restriction_values)
194 0 0 if (defined $i_chart_tag and $i_chart_tag ne '0')
219 0 0 unless ($hr_search)
257 0 0 if (my $i_chart_tiny_url_id = $h_params{'chart_tiny_url'})
270 0 0 if ($or_tiny_url)
278 0 0 if (my(@a_chart_lines) = $or_chart->chart_lines)
310 0 0 $h_axis_type{'x'} eq 'alphanumeric' || $or_chart->order_by_x_axis == 2 && $or_chart->order_by_y_axis == 1 ? :
0 0 $h_axis_type{'y'} eq 'alphanumeric' || $or_chart->order_by_y_axis == 2 && $or_chart->order_by_x_axis == 1 ? :
313 0 0 $h_params{'graph_width'} ? :
315 0 0 if ($h_params{'pager_direction'}) { }
316 0 0 if ($h_params{'pager_direction'} eq 'prev') { }
332 0 0 if ($or_additional_column->chart_line_additional_column eq 'VALUE_ID')
340 0 0 unless ($b_value_id_exists)
350 0 0 if ($or_element->chart_line_axis eq $s_axis and $or_element->axis_column)
364 0 0 if ($or_tiny_url) { }
0 0 elsif ($or_chart_line->chart_line_restrictions) { }
367 0 0 if ($or_act_line->chart_line_id == $or_chart_line->chart_line_id)
376 0 0 if (@a_bench_value_ids) { }
392 0 0 if ($or_chart_line_restriction->is_template_restriction) { }
396 0 0 if (defined $h_params{$s_restriction_value_identifier}) { }
437 0 0 if ($ar_chart_points and @{$ar_chart_points;})
440 0 0 if ($or_element->axis_column)
452 0 0 if ($or_element->axis_column) { }
453 0 0 if (defined $$hr_point{$or_element->axis_column->chart_line_axis_column}) { }
466 0 0 if ($or_chart->chart_axis_type_x->chart_axis_type_name eq 'date')
467 0 0 if (my $dt_format = $or_chart_line->chart_axis_x_column_format) { }
477 0 0 if ($or_chart->chart_axis_type_y->chart_axis_type_name eq 'date')
478 0 0 if (my $dt_format = $or_chart_line->chart_axis_y_column_format) { }
491 0 0 if ($h_strp{$s_axis})
498 0 0 if ($or_chart->order_by_x_axis == 1 and $or_chart->order_by_y_axis == 2) { }
0 0 elsif ($or_chart->order_by_x_axis == 2 and $or_chart->order_by_y_axis == 1) { }
506 0 0 if ($h_label_type{$s_axis} eq 'list')
516 0 0 if ($ar_chart_line_addition->[1])
522 0 0 if (defined $hr_chart_point->{'x'} and defined $hr_chart_point->{'y'})
527 0 0 if ($@)
553 0 0 unless $h_sort_function{$h_axis_type{'x'}}($_[0][0], $_[1][0])
557 0 0 unless $h_sort_function{$h_axis_type{'y'}}($_[0][0], $_[1][0])
562 0 0 unless $_[0]{'x'} <=> $_[1]{'x'}
566 0 0 unless $_[0]{'y'} <=> $_[1]{'y'}
569 0 0 if ($h_label_type{'x'} eq 'list')
571 0 0 if ($or_chart->order_by_x_axis == 2 and $or_chart->order_by_y_axis == 1) { }
582 0 0 if ($h_label_type{'y'} eq 'list')
584 0 0 if ($or_chart->order_by_x_axis == 1 and $or_chart->order_by_y_axis == 2) { }
599 0 0 if ($h_label_type{$s_axis} eq 'list')
607 0 0 if ($or_chart->get_column('order_by_' . $s_axis . '_axis') == 1)
625 0 0 if ($a_markings[-1]{'chart_marking_x_from'} or $a_markings[-1]{'chart_marking_x_to'})
626 0 0 if ($or_chart->chart_axis_type_x->chart_axis_type_name eq 'date')
627 0 0 if (my $dt_format = $or_marking->chart_marking_x_format) { }
640 0 0 if ($a_markings[-1]{'chart_marking_y_from'} or $a_markings[-1]{'chart_marking_y_to'})
641 0 0 if ($or_chart->chart_axis_type_y->chart_axis_type_name eq 'date')
642 0 0 if (my $dt_format = $or_marking->chart_marking_y_format) { }
688 0 0 if ($hr_params->{'ids'})
699 0 0 if ($i_chart_tiny_url_id = $or_chart_tiny_url->chart_tiny_url_id) { }
701 0 0 if ($hr_chart_line->{'chart_line_id'}) { }
709 0 0 if (my $i_chart_tiny_url_line_id = $or_chart_tiny_url_line->chart_tiny_url_line_id) { }
783 0 0 if $hr_columns->{$s_column}
787 0 0 @a_columnlist ? :
805 0 0 unless ($or_c->stash->{'chart'})
806 0 0 if ($or_c->req->params->{'chart_id'}) { }
818 0 0 $or_c->req->params->{'asnew'} ? :
885 0 0 $or_element->axis_column ? :
921 0 0 defined $_[0] && $_[0] eq '' ? :
999 0 0 if ($or_self->is_column($or_c, $s_chart_line_x_column)) { }
1010 0 0 if ($or_self->is_column($or_c, $s_chart_line_y_column)) { }
1069 0 0 if ($hr_params->{'chart_id'})
1070 0 0 unless ($hr_params->{'asnew'})
1081 0 0 if (@a_charts)
1089 0 0 if ($hr_params->{'chart_version_id'})
1120 0 0 if (not defined $value) { }
0 0 elsif (ref $value ne 'ARRAY') { }
1139 0 0 if (my $s_error = $or_self->remove_chart($or_c->req->params->{'chart_id'}, $or_schema))
1152 0 0 unless ($or_c->stash->{'error'})
1171 0 0 unless ($i_chart_id)
1195 0 0 $hr_params->{'chart_id'} ? :
1199 0 0 if (my $i_chart_version_id = $or_chart_version->chart_version_id) { }
1213 0 0 if (my $i_chart_line_id = $or_chart_line->chart_line_id) { }
1223 0 0 if (my $i_element_id = $or_chart_element->chart_line_axis_element_id) { }
1224 0 0 if ($ar_element->[0] eq 'column') { }
1325 0 0 if ($h_chart_tags_new{$or_chart_tag->chart_tag->chart_tag}) { }
1359 0 0 unless ($i_chart_id)
1380 0 0 unless ($i_chart_version_id)
1407 0 0 unless $balib->_get_benchmark_operators