Kwalitee Issues

has_tests

Add tests!

no_generated_files

Remove the offending files/directories!

Error: pm_to_blib

no_mymeta_files

Update MANIFEST.SKIP to exclude MYMETA files. If you are lazy, add "#!install_default" in your MANIFEST.SKIP and update your ExtUtils::Manifest if necessary, then some of the most common files will be excluded.

manifest_matches_dist

Run a proper command ("make manifest" or "./Build manifest", maybe with a force option), or use a distribution builder to generate the MANIFEST. Or update MANIFEST manually.

Error:

  • MANIFEST (74) does not match dist (69):
  • Missing in Dist: example, version/v5.14/MANIFEST, version/v5.28/MANIFEST, version/v5.40/MANIFEST, version/v5.8/MANIFEST

main_module_version_matches_dist_version

Make sure that the main module name and version are the same of the distribution.

no_pod_errors

Remove the POD errors. You can check for POD errors automatically by including Test::Pod to your test suite.

Error: FindBin-libs-v4.0.2/version/v5.28/lib/FindBin/libs.pm -- Around line 1085: You forgot a '=back' before '=head2'

meta_yml_declares_perl_version

If you are using Build.PL define the {requires}{perl} = VERSION field. If you are using MakeMaker (Makefile.PL) you should upgrade ExtUtils::MakeMaker to 6.48 and use MIN_PERL_VERSION parameter. Perl::MinimumVersion can help you determine which version of Perl your module needs.

has_tests_in_t_dir

Add tests or move tests.pl to the t/ directory!

proper_libs

Move your *.pm files in a directory named 'lib'. The directory structure should look like 'lib/Your/Module.pm' for a module named 'Your::Module'. If you need to provide additional files, e.g. for testing, that should not be considered for Kwalitee, then you should look at the 'provides' map in META.yml to limit the files scanned; or use the 'no_index' map to exclude parts of the distribution.

Error: version/v5.40/lib/FindBin/Bin.pm, version/v5.40/lib/FindBin/Parents.pm, version/v5.8/lib/FindBin/libs.pm, version/v5.14/lib/FindBin/libs.pm, version/v5.28/lib/FindBin/libs.pm, version/v5.40/lib/FindBin/libs.pm

use_warnings

Add 'use warnings' (or its equivalents) to all modules, or convince us that your favorite module is well-known enough and people can easily see the modules warn when something bad happens.

Error: FindBin::libs, FindBin::libs v2.12.01, FindBin::libs v3.0.0

consistent_version

Split the distribution, or fix the version numbers to make them consistent (use the highest version number to avoid version downgrade).

Error: 0.001000,1.062_01

meta_yml_has_provides

Add all modules contained in this distribution to the META.yml field 'provides'. Module::Build or Dist::Zilla::Plugin::MetaProvides do this automatically for you.

meta_yml_has_repository_resource

Add a 'repository' resource to the META.yml via 'meta_add' accessor (for Module::Build) or META_ADD parameter (for ExtUtils::MakeMaker).

has_separate_license_file

This is not a critical issue. Currently mainly informative for the CPANTS authors. It might be removed later.

Modules

Name Abstract Version View
FindBin::libs locate and a 'use lib' or export directories based on $FindBin::Bin. 1.062_01 metacpan

Provides

Name File View
FindBin::Bin version/v5.40/lib/FindBin/Bin.pm metacpan
FindBin::Parents version/v5.40/lib/FindBin/Parents.pm metacpan

Other Files

MANIFEST metacpan
META.json metacpan
META.yml metacpan
Makefile.PL metacpan
README metacpan