Branch Coverage

blib/lib/Acme/ReturnValue.pm
Criterion Covered Total %
branch 11 48 22.9


line true false branch
48 0 0 if ($self->inc) { }
0 0 elsif ($self->dir) { }
0 0 elsif ($self->file) { }
0 0 elsif ($self->cpan) { }
66 0 0 if (@$interesting > 0) { }
91 16 16 if ($node->isa('PPI::Token::Word'))
102 2 6 if $rv eq 1
103 0 6 if $rv eq '__PACKAGE__'
104 1 5 if $rv =~ /^__PACKAGE__->meta->make_immutable/
116 0 5 if (&any(sub {
4 1 elsif ($rv =~ /^('|"|\d|qw|qq|q|!|~)/) { }
144 0 0 unless (-d $out)
145 0 0 unless $out->mkpath
151 0 0 unless $file =~ /\.json/
158 0 0 if -e $out->file($dist->distvname . '.json')
171 0 0 if ($@)
179 0 0 unless unlink $out->file($del)
198 0 0 unless $self->quiet
204 0 0 unless /\.pm\z/
205 0 0 if $File::Find::name =~ m[/x?t/]
206 0 0 if $File::Find::name =~ m[/inc/]
215 0 0 if ($self->interesting and @{$self->interesting;}) { }
0 0 elsif ($self->bad and @{$self->bad;}) { }
231 0 8 if ($@)