blib/lib/Perl/Critic/Policy/Modules/PerlMinimumVersion.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 14 | 71.4 |
line | true | false | branch |
---|---|---|---|
52 | 4 | 1 | if ($config_string) { } |
1 | 0 | elsif (ref $Perl::Critic::Policy::Modules::PerlMinimumVersion::PERL_VERSION) { } | |
53 | 3 | 1 | if ($config_string =~ /\A \s* (5 [.] [\d.]+) \s* \z/msx) { } |
76 | 0 | 3 | unless eval { do { require Perl::MinimumVersion; 1 } } |
83 | 0 | 3 | unless ($checker) |
86 | 0 | 3 | unless $checker |
92 | 2 | 1 | if $doc_version <= $$self{'_version'} |