Branch Coverage

blib/lib/X11/Muralis.pm
Criterion Covered Total %
branch 0 126 0.0


line true false branch
95 0 0 if ($be->active)
158 0 0 if ($args{'outfile'} and $args{'outfile'} ne '-')
163 0 0 if ($args{'listformat'} and $args{'listformat'} =~ /full/i) { }
175 0 0 if ($dir ne $this_dir)
184 0 0 if ($args{'outfile'} and $args{'outfile'} ne '-')
205 0 0 if (X11::Muralis::Backend::name($be) eq $backend_name)
280 0 0 if ($args{'random'}) { }
0 0 elsif ($args{'nth'}) { }
0 0 elsif ($args{'repeat_last'}) { }
291 0 0 if (-f "$cdir/last")
293 0 0 unless open LIN, "$cdir/last"
300 0 0 unless ($filename)
310 0 0 if (X11::Muralis::Backend::name($be) eq $backend_name)
338 0 0 unless (defined $self->{'_files'} and $self->{'_files'})
373 0 0 if ($args{'unseen'} and -f $unseen_file)
376 0 0 unless open UNSEEN, '<', $unseen_file
386 0 0 unless (@files)
393 0 0 if ($get_all_files)
395 0 0 unless (defined $self->{'_dirs'} and $self->{'_dirs'})
406 0 0 if ($update_unseen)
408 0 0 unless (-d $self->{'config_dir'})
412 0 0 unless open LOUT, ">$unseen_file"
416 0 0 if ($args{'verbose'})
422 0 0 if ($self->{'verbose'} and not @files)
427 0 0 if ($args{'match'} and $args{'exclude'}) { }
0 0 elsif ($args{'match'}) { }
0 0 elsif ($args{'exclude'}) { }
429 0 0 if /$args{'match'}/
443 0 0 if ($self->{'verbose'} and not @ret_files)
462 0 0 if ($args{'recursive'})
485 0 0 unless open $fh, 'xwininfo -root |'
488 0 0 if (/Width/)
493 0 0 if (/Height/)
498 0 0 if (/Depth/)
505 0 0 if ($verbose)
526 0 0 if ($nth <= 0)
530 0 0 unless (defined $self->{'_files'} and $self->{'_files'})
556 0 0 unless ($file_name and -f $file_name)
561 0 0 if ($args{'verbose'})
563 0 0 if ($args{'match'} or $args{'exclude'}) { }
566 0 0 if $args{'match'}
567 0 0 if $args{'exclude'}
589 0 0 unless (defined $image_name)
596 0 0 if (-f $image_name) { }
607 0 0 if (-f $ff)
640 0 0 unless (defined $self->{'_root_width'} and $self->{'_root_width'})
649 0 0 if (my $error = $info->{'error'}) { }
652 0 0 unless defined $args{'fullscreen'}
653 0 0 unless defined $args{'center'}
657 0 0 if ($args{'verbose'})
665 0 0 if (defined $args{'tile'} and $args{'tile'})
670 0 0 unless (defined $args{'fullscreen'})
681 0 0 if ($info->{'width'} == $info->{'height'}) { }
0 0 elsif ($info->{'width'} > $self->{'_root_width'} * 0.5 and $info->{'height'} > $self->{'_root_height'} * 0.5 and not $info->{'width'} == $self->{'_root_width'} && $info->{'height'} <= $self->{'_root_height'} || $info->{'height'} == $self->{'_root_height'} && $info->{'width'} <= $self->{'_root_width'}) { }
683 0 0 if ($info->{'width'} > $self->{'_root_width'} * 0.7)
704 0 0 unless (defined $args{'center'})
708 0 0 unless ($args{'fullscreen'})
712 0 0 if ($info->{'width'} > $self->{'_root_width'} * 0.9 and $info->{'height'} > $self->{'_root_height'} * 0.9)
736 0 0 unless (-d $self->{'config_dir'})
741 0 0 unless open LOUT, ">$cdir/last"
744 0 0 if ($args{'unseen'})
750 0 0 unless open UNSEEN, '>', $unseen_file
754 0 0 if ($file ne $filename)