Branch Coverage

blib/lib/Gtk2/Ex/FormFactory/Widget.pm
Criterion Covered Total %
branch 0 160 0.0


line true false branch
75 0 0 unless $_[0]{'gtk_parent_widget'}
77 0 0 unless $_[0]{'gtk_properties_widget'}
141 0 0 unless defined $active
144 0 0 if ($attr and $attr =~ /^([^.]+)\.(.*)/)
150 0 0 if (not $name and $object and $attr) { }
0 0 elsif (not $name) { }
170 0 0 if exists $WIDGET_NAMES{$name}
180 0 0 if defined $expand
181 0 0 unless defined $expand
182 0 0 unless defined $expand_h
183 0 0 unless defined $expand_v
185 0 0 unless $inactive eq 'insensitive' or $inactive eq 'invisible'
236 0 0 if $Gtk2::Ex::FormFactory::DEBUG
279 0 0 if $Gtk2::Ex::FormFactory::DEBUG
301 0 0 unless $gtk_widget
326 0 0 if $self->can('connect_changed_signal')
331 0 0 if ($signal_connect)
340 0 0 if ($signal_connect_after)
359 0 0 unless $widget = $form_factory->get_widgets_by_name->{$name}
374 0 0 if ($name =~ /sibling\s*\((.*?)\)/) { }
379 0 0 if ($sibling eq $self)
385 0 0 unless defined $self_idx
387 0 0 unless $sibling
401 0 0 unless defined $change_state
403 0 0 if $Gtk2::Ex::FormFactory::DEBUG
408 0 0 if $self->get_no_widget_update
411 0 0 unless ($self->get_object)
414 0 0 if ($self->get_gtk_parent_widget)
416 0 0 $active ? :
433 0 0 $change_state =~ /inactive/ ? :
0 0 if $change_state ne ''
438 0 0 if ($self->get_object and $self->get_gtk_parent_widget)
440 0 0 unless defined $active
450 0 0 if ($change_state eq '') { }
0 0 elsif ($change_state =~ /empty/) { }
451 0 0 if $self->get_proxy->get_object
482 0 0 if $active eq 'inactive'
485 0 0 if (defined $self->get_widget_activity)
491 0 0 $object_name ? :
495 0 0 if ($object_name and not defined $object) { }
501 0 0 if $cond
506 0 0 if ($active eq 'insensitive') { }
0 0 elsif ($active eq 'invisible') { }
0 0 elsif ($active eq 'sensitive') { }
0 0 elsif ($active eq 'visible') { }
523 0 0 if ($active) { }
525 0 0 if ($action eq 'invisible') { }
526 0 0 if $Gtk2::Ex::FormFactory::DEBUG
531 0 0 if $self->get_gtk_label_widget
534 0 0 if $Gtk2::Ex::FormFactory::DEBUG
539 0 0 if $self->get_gtk_label_widget
542 0 0 if $self->get_gtk_label_widget
548 0 0 if ($action eq 'invisible') { }
549 0 0 if $Gtk2::Ex::FormFactory::DEBUG
554 0 0 if $self->get_gtk_label_widget
557 0 0 if $Gtk2::Ex::FormFactory::DEBUG
562 0 0 if $self->get_gtk_label_widget
584 0 0 unless $self->get_object
600 0 0 if (@_ == 1)
606 0 0 unless $self->get_object
621 0 0 unless defined $rules
624 0 0 unless $self->widget_data_has_changed
631 0 0 if ($self->get_form_factory->get_sync and $self->get_object) { }
652 0 0 if ($message)
670 0 0 if $self->get_in_update
672 0 0 if $Gtk2::Ex::FormFactory::DEBUG
675 0 0 $self->get_object ? :
677 0 0 if ($self->get_form_factory->get_sync) { }
680 0 0 if $changed_hook
685 0 0 if $object
689 0 0 if $changed_hook_after
701 0 0 if $changed_hook
716 0 0 if $changed_hook_after
729 0 0 if $Gtk2::Ex::FormFactory::DEBUG
756 0 0 unless $self->get_object
761 0 0 unless $proxy->get_buffered
767 0 0 if ($self->has_additional_attrs)
792 0 0 unless $self->get_object
797 0 0 unless $proxy->get_buffered
803 0 0 if ($self->has_additional_attrs)