Branch Coverage

blib/lib/UI/Various/Main.pm
Criterion Covered Total %
branch 22 22 100.0


line true false branch
120 10 3 if defined $self
128 14 13 if defined $self
177 14 21 unless (defined $self)
184 13 1 if (not defined $$self{"height"} or $$self{"height"} > $$self{"max_height"})
187 3 11 if (not defined $$self{"width"} or $$self{"width"} > $$self{"max_width"})
238 6 32 if (ref $_ eq 'HASH') { }
31 1 elsif ($_->isa('UI::Various::widget')) { }
244 2 29 if ($_->isa("UI::Various::Window") or $_->isa("UI::Various::Dialog"))
309 6 29 if (ref $_ eq 'HASH') { }
28 1 elsif ($_->isa('UI::Various::widget')) { }
315 2 26 if ($_->isa("UI::Various::Window") or $_->isa("UI::Various::Dialog"))