Branch Coverage

blib/lib/Code/TidyAll/Plugin/Test/Vars.pm
Criterion Covered Total %
branch 6 20 30.0


line true false branch
47 0 5 unless my $package_stmt = $doc->find_first('PPI::Statement::Package')
49 0 5 unless my $package = $package_stmt->namespace
73 5 0 unless $self->_has_ignore_file
80 0 0 unless /\S/
84 0 0 unless (defined $package and defined $ignore)
88 0 0 if ($ignore =~ /^qr/) { }
93 0 0 if $@
107 0 0 if $_ =~ /$re/
125 2 1 unless $exit_code
128 1 0 if @errors