Branch Coverage

blib/lib/Code/TidyAll/Plugin/Test/Vars.pm
Criterion Covered Total %
branch 7 22 31.8


line true false branch
49 0 5 unless my $package_stmt = $doc->find_first('PPI::Statement::Package')
51 0 5 unless my $package = $package_stmt->namespace
68 5 0 unless $self->_ignore_for_package->{$package}
75 5 0 unless $self->_has_ignore_file
82 0 0 unless /\S/
86 0 0 unless (defined $package and defined $ignore)
90 0 0 if ($ignore =~ /^qr/) { }
95 0 0 if $@
109 0 0 if $_ =~ /$re/
127 2 1 unless $exit_code
130 1 0 if @errors