Branch Coverage

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


line true false branch
92 0 0 if ($be->active)
155 0 0 if ($args{'outfile'} and $args{'outfile'} ne '-')
160 0 0 if ($args{'listformat'} and $args{'listformat'} =~ /full/i) { }
172 0 0 if ($dir ne $this_dir)
181 0 0 if ($args{'outfile'} and $args{'outfile'} ne '-')
202 0 0 if (X11::Muralis::Backend::name($be) eq $backend_name)
277 0 0 if ($args{'random'}) { }
0 0 elsif ($args{'nth'}) { }
0 0 elsif ($args{'repeat_last'}) { }
288 0 0 if (-f "$cdir/last")
290 0 0 unless open LIN, "$cdir/last"
297 0 0 unless ($filename)
307 0 0 if (X11::Muralis::Backend::name($be) eq $backend_name)
335 0 0 unless (defined $self->{'_files'} and $self->{'_files'})
370 0 0 if ($args{'unseen'} and -f $unseen_file)
373 0 0 unless open UNSEEN, '<', $unseen_file
383 0 0 unless (@files)
390 0 0 if ($get_all_files)
392 0 0 unless (defined $self->{'_dirs'} and $self->{'_dirs'})
403 0 0 if ($update_unseen)
405 0 0 unless (-d $self->{'config_dir'})
409 0 0 unless open LOUT, ">$unseen_file"
413 0 0 if ($args{'verbose'})
419 0 0 if ($self->{'verbose'} and not @files)
424 0 0 if ($args{'match'} and $args{'exclude'}) { }
0 0 elsif ($args{'match'}) { }
0 0 elsif ($args{'exclude'}) { }
426 0 0 if /$args{'match'}/
440 0 0 if ($self->{'verbose'} and not @ret_files)
459 0 0 if ($args{'recursive'})
482 0 0 unless open $fh, 'xwininfo -root |'
485 0 0 if (/Width/)
490 0 0 if (/Height/)
495 0 0 if (/Depth/)
502 0 0 if ($verbose)
523 0 0 if ($nth <= 0)
527 0 0 unless (defined $self->{'_files'} and $self->{'_files'})
553 0 0 unless ($file_name and -f $file_name)
558 0 0 if ($args{'verbose'})
560 0 0 if ($args{'match'} or $args{'exclude'}) { }
563 0 0 if $args{'match'}
564 0 0 if $args{'exclude'}
586 0 0 unless (defined $image_name)
593 0 0 if (-f $image_name) { }
604 0 0 if (-f $ff)
637 0 0 unless (defined $self->{'_root_width'} and $self->{'_root_width'})
646 0 0 if (my $error = $info->{'error'}) { }
649 0 0 unless defined $args{'fullscreen'}
650 0 0 unless defined $args{'center'}
654 0 0 if ($args{'verbose'})
662 0 0 if (defined $args{'tile'} and $args{'tile'})
667 0 0 unless (defined $args{'fullscreen'})
678 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'}) { }
680 0 0 if ($info->{'width'} > $self->{'_root_width'} * 0.7)
701 0 0 unless (defined $args{'center'})
705 0 0 unless ($args{'fullscreen'})
709 0 0 if ($info->{'width'} > $self->{'_root_width'} * 0.9 and $info->{'height'} > $self->{'_root_height'} * 0.9)
733 0 0 unless (-d $self->{'config_dir'})
738 0 0 unless open LOUT, ">$cdir/last"
741 0 0 if ($args{'unseen'})
747 0 0 unless open UNSEEN, '>', $unseen_file
751 0 0 if ($file ne $filename)