Branch Coverage

blib/lib/Win32/AutoItX/Window.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
101 0 0 unless defined $self{'text'}
103 0 0 unless &blessed($self{'autoitx'}) and $self{'autoitx'}->isa('Win32::AutoItX')
200 0 0 if (defined $args{'class'})
201 0 0 if (ref $args{'class'} and ref $args{'class'} eq 'Regexp') { }
202 0 0 unless $class =~ /$args{'class'}/
204 0 0 if $class ne $args{'class'}
211 0 0 if $args{'visible'} and not $control->is_visible
212 0 0 if $args{'enabled'} and not $control->is_enabled
213 0 0 if (defined $text)
215 0 0 unless defined $control_text
216 0 0 if (ref $text and ref $text eq 'Regexp') { }
217 0 0 unless $control_text =~ /$text/
219 0 0 if $control_text ne $text
222 0 0 unless wantarray
274 0 0 unless defined $args{'timeout'}
276 0 0 if defined $args{'control'}
280 0 0 if (defined $control) { }
282 0 0 if $control->is_visible and !$args{'enabled'} || $control->is_enabled
284 0 0 if (my $c = $self->find_controls($args{'text'}, 'class', $args{'class'}, 'visible', 1, 'enabled', $args{'enabled'}))
292 0 0 if time - $start < $args{'timeout'}
550 0 0 if (exists $Helper_Methods{$method})
555 0 0 if $self->{'autoitx'}->debug