Branch Coverage

blib/lib/Perl/Lint/Policy/Modules/RequireVersionVar.pm
Criterion Covered Total %
branch 11 12 91.6


line true false branch
22 2 39 if ($token_type == 94 and $token_data eq 'vars') { }
6 33 elsif ($token_type == 194 and $token_data eq '$VERSION' or $token_type == 129 and $$next_token{'type'} == 171 or $token_type == 126 and $$next_token{'type'} == 127 and $$next_token{'data'} eq 'VERSION') { }
23 1 1 if ($$next_token{'type'} == 173 and $$next_token{'data'} eq '$VERSION')
33 0 3 if ($token_type == 106)
37 1 2 if ($token_type == 187 and $token_data eq '$VERSION')
57 6 8 unless ($does_exist_version_ver)