Branch Coverage

blib/lib/Test/Weaken/Gtk2.pm
Criterion Covered Total %
branch 6 36 16.6


line true false branch
42 0 1 if (&Scalar::Util::blessed($ref) and $ref->isa('Gtk2::Container')) { }
53 0 1 if (&Scalar::Util::blessed($ref))
55 0 0 if ($ref->isa('Gtk2::MenuItem')) { }
0 0 elsif ($ref->isa('Gtk2::MenuToolButton')) { }
60 0 0 if (defined $menu)
71 1 0 unless &Scalar::Util::blessed($ref)
73 0 0 if ($ref->isa('Gtk2::CellLayout') and $ref->can('get_cells')) { }
0 0 elsif ($ref->isa('Gtk2::TreeViewColumn') or $ref->isa('Gtk2::CellView')) { }
98 0 0 if (index($str, 'Gtk-CRITICAL **: gtk_cell_view_set_cell_data: assertion') >= 0)
102 0 0 if ($old_warn) { }
113 0 0 if (@cells == 1 and not defined $cells[0])
122 0 0 if (ref $ref eq 'ARRAY')
154 0 0 if ($count >= 1000)
170 2 0 unless 'Gtk2::Gdk::Display'->can('get_default')
182 1 0 unless 'Gtk2::Gdk::Screen'->can('get_default')
194 1 0 unless 'Gtk2::Gdk'->can('get_default_root_window')
198 0 0 if ('Gtk2::Gdk::Screen'->can('get_default'))
199 0 0 unless 'Gtk2::Gdk::Screen'->get_default