Branch Coverage

blib/lib/Metabrik/Xorg/Screenshot.pm
Criterion Covered Total %
branch 0 30 0.0


line true false branch
63 0 0 unless my $ff = 'Metabrik::File::Find'->new_from_brik_init($self)
64 0 0 unless my $files = $ff->files($datadir, 'screenshot-\\d+\\.' . $format)
66 0 0 if (@$files == 0)
86 0 0 unless $self->execute($cmd)
101 0 0 unless $self->execute($cmd)
116 0 0 unless $self->execute($cmd)
127 0 0 unless $self->brik_help_run_undef_arg('window_id', $window_id)
129 0 0 if ($format ne 'gif')
134 0 0 unless my $r = $self->execute($cmd)
136 0 0 if ($r == 256)
148 0 0 unless $self->brik_help_run_undef_arg('continuous_by_window_id', $window_id)
152 0 0 unless my $sf = 'Metabrik::System::File'->new_from_brik_init($self)
153 0 0 unless my $list = $sf->glob("$datadir/continuous-*gif")
154 0 0 unless $sf->remove($list)
162 0 0 if ($r > 1)