Branch Coverage

blib/lib/Bigtop/Backend/Control/Gantry.pm
Criterion Covered Total %
branch 0 302 0.0


line true false branch
1748 0 0 if $template_is_setup
1777 0 0 if (defined $$config_block{'full_use'} and $$config_block{'full_use'})
1781 0 0 if defined $$app_stmnts{'uses'}
1838 0 0 if ($$config_block{'dbix'})
1843 0 0 if (defined $$base_controller[0] and $$base_controller[0]) { }
1884 0 0 if ($$config_block{'dbix'})
1929 0 0 if $@
1972 0 0 if $@
1994 0 0 if $@
2013 0 0 if $@
2021 0 0 if $@
2024 0 0 if (not defined $$config_block{'run_test'} or $$config_block{'run_test'})
2036 0 0 if $var eq 'dbconn'
2039 0 0 if (ref $value)
2044 0 0 if $var eq 'root'
2047 0 0 unless $saw_root
2072 0 0 if $@
2103 0 0 if @{$configs;} == 0
2118 0 0 if (defined $config_values)
2119 0 0 unless defined $$config_values{'base'}{$config}
2126 0 0 if (ref($item) =~ /HASH/)
2130 0 0 if $condition eq 'no_accessor'
2161 0 0 if (defined $base_controller)
2163 0 0 if (defined $skip_test)
2168 0 0 unless $skip_base_test
2176 0 0 if ($loc_type eq 'rel_location')
2197 0 0 unless $$self{'__NAME__'} eq $$data{'table_of_interest'}
2211 0 0 unless $$self{'__TYPE__'} eq 'tables'
2213 0 0 unless $$self{'__NAME__'} eq $$data{'table_of_interest'}
2225 0 0 unless $$self{'__TYPE__'} eq 'field'
2256 0 0 if ($self->is_base_controller) { }
2270 0 0 if $self->is_base_controller
2276 0 0 unless $self->is_base_controller
2322 0 0 if ($self->is_base_controller) { }
2323 0 0 unless defined $$data{'sub_modules'}
2326 0 0 if defined $$data{'sub_modules'}
2343 0 0 if defined $$statements{'no_gen'} and $$statements{'no_gen'}[0]
2370 0 0 unless $self->is_base_controller
2377 0 0 if defined $gen_method_names or defined $$output_hash{'extra_stub_method_name'}
2383 0 0 if ($extra_use)
2389 0 0 if ($gen_extra_use)
2396 0 0 if (defined $$output_hash{'extra_stub_method_name'})
2403 0 0 if (defined $$output_hash{'soap_params'})
2412 0 0 if ($wsdl)
2418 0 0 if (defined $$statements{'controls_table'})
2423 0 0 if ($$config_block{'dbix'})
2427 0 0 if ($self->is_base_controller)
2434 0 0 if (defined $gen_method_names)
2451 0 0 if (@{$accessor_configs;})
2458 0 0 if (@{$accessor_configs;})
2470 0 0 if ($self->is_base_controller) { }
2480 0 0 if ($gen_method_names)
2493 0 0 if (defined $gen_method_names)
2499 0 0 if ($$data{'init_sub'})
2509 0 0 if (defined $crud_doc_methods)
2515 0 0 if (not $self->is_base_controller and defined $$statements{'plugins'} and $$statements{'plugins'}[0])
2522 0 0 defined $all_gen_methods ? :
2547 0 0 if ($self->is_base_controller) { }
2591 0 0 if (defined $$statements{'plugins'} and $$statements{'plugins'}[0])
2595 0 0 if ($plugins)
2598 0 0 if $app_level_plugins
2619 0 0 defined $all_gen_methods ? :
2652 0 0 if ($self->is_base_controller) { }
2685 0 0 if (defined $all_gen_methods)
2705 0 0 if (defined $all_gen_methods)
2713 0 0 if $@
2741 0 0 unless defined $$output_hash{$type}
2753 0 0 if (defined $all_output{'uses_output'})
2757 0 0 if (defined $all_output{'uses_gen_output'})
2762 0 0 if (defined $all_output{'output'})
2766 0 0 if (defined $all_output{'gen_output'})
2770 0 0 if (defined $all_output{'class_access'})
2785 0 0 unless ref $soap_styles eq 'ARRAY'
2789 0 0 if (keys %soap_styles > 1) { }
2793 0 0 if defined $soap_styles{'SOAP'}
2794 0 0 if defined $soap_styles{'SOAPDoc'}
2806 0 0 if (defined $retval{'label'} and $retval{'label'}) { }
2808 0 0 if ($self->is_base_controller)
2824 0 0 if $self->is_base_controller
2834 0 0 if (defined $$controller_statements{'skip_test'} and $$controller_statements{'skip_test'})
2867 0 0 unless 'Bigtop::Backend::Control'->is_controller_keyword($keyword)
2880 0 0 if (ref $module eq 'HASH') { }
2902 0 0 if ($@) { }
2912 0 0 if (@exported) { }
2993 0 0 unless $$self{'__KEYWORD__'} eq 'controls_table'
3020 0 0 unless ($self->is_crud($data))
3025 0 0 if ($self->is_dbix_class($data))
3029 0 0 if (defined $$data{'tree'}{'application'}{'lookup'}{'controllers'}{$controller}{'statements'}{'autocrud_helper'})
3071 0 0 if ($self->is_crud($data)) { }
3088 0 0 if ($$self{'__KEYWORD__'} eq 'rel_location') { }
0 0 elsif ($$self{'__KEYWORD__'} eq 'location') { }
3095 0 0 if ($$self{'__KEYWORD__'} eq 'page_link_label')
3105 0 0 unless $$self{'__KEYWORD__'} =~ /location/
3142 0 0 if $$statements{'no_gen'}
3145 0 0 unless ($method_body->can("output_$type"))
3152 0 0 if ($child_output)
3157 0 0 if ($type eq 'stub') { }
0 0 elsif (defined $$child_output{'stub_method_name'}) { }
3165 0 0 if (defined $$child_output{'gen_output'} and $$child_output{'gen_output'}{'body'})
3174 0 0 if ($$child_output{'gen_output'})
3183 0 0 if ($$child_output{'comment_output'})
3193 0 0 if ($$child_output{'extra_comment_methods'})
3204 0 0 if ($$child_output{'stub_output'})
3216 0 0 if ($$child_output{'extra_for_stub'})
3221 0 0 if ($$child_output{'crud_output'})
3229 0 0 unless (defined $model_alias and $model_alias)
3281 0 0 $$child_output{'soap_params'} ? :
3307 0 0 unless ($table_name)
3323 0 0 unless ($fields)
3343 0 0 unless ($field)
3425 0 0 if ($$choices{'authed_methods'})
3433 0 0 if ($$choices{'permissions'})
3437 0 0 if (ref $pair eq 'HASH') { }
3440 0 0 if (not $key =~ /[crud-]+/ or length $key ne 12)
3484 0 0 if ($$page{'link'} =~ m[^/]) { }
3524 0 0 if ($$choices{'paged_conf'}[0])
3530 0 0 if (defined $limit_by)
3565 0 0 if ($$fields{$col}{'pseudo_value'})
3571 0 0 if (defined $$choices{'col_labels'} and @{$$choices{'col_labels'};}) { }
3573 0 0 if (ref($element) =~ /HASH/) { }
3583 0 0 unless ($label)
3596 0 0 if (defined $$fields{$col}{'refers_to'}) { }
0 0 elsif (defined $$fields{$col}{'html_form_options'}) { }
3616 0 0 if ($$choices{'header_options'})
3617 0 0 defined $limit_by ? :
3620 0 0 if ($$choices{'header_option_perms'})
3642 0 0 if ($$choices{'order_by'})
3648 0 0 if ($$choices{'row_options'})
3650 0 0 if ($$choices{'row_option_perms'})
3664 0 0 if ($$choices{'where_terms'})
3724 0 0 unless (defined $$data{'WSDL_COMMENTS'})
3760 0 0 unless (defined $$data{'WSDL_COMMENTS'})
3802 0 0 if (ref $expected eq 'HASH') { }
3814 0 0 if (ref $returned eq 'HASH') { }
3858 0 0 if (ref($option) =~ /HASH/) { }
3861 0 0 if ($row_options)
3870 0 0 unless ($row_options)
3878 0 0 if ($row_options) { }
3926 0 0 $auto_crud ? :
3936 0 0 if ($name_of{'method'} eq '_form')
3937 0 0 if ($auto_crud) { }
3950 0 0 unless (defined $$choices{'fields'} or defined $$choices{'all_fields_but'})
3961 0 0 if (defined $$choices{'all_fields_but'}) { }
3983 0 0 if $key eq '__IDENT__'
3991 0 0 if ($clean_key eq 'refers_to') { }
0 0 elsif ($clean_key eq 'options') { }
3994 0 0 if (ref $clean_value eq 'HASH')
4020 0 0 if ($$choices{'extra_keys'})
4040 0 0 $auto_crud ? :
4082 0 0 unless $exclude_this{$field}
4095 0 0 unless $$self{'__KEYWORD__'} eq 'permissions'