Kwalitee Indicators
Core indicators
These indicators are for important issues everyone should fix if found. These are also used to calculate your score and ranking.
Name | Description | Fail (Latest) |
Fail (CPAN) |
Fail (BackPAN) |
---|---|---|---|---|
buildtool_not_executable | The build tool (Build.PL/Makefile.PL) is executable. This is bad because you should specify which perl you want to use while installing. (defined in Module::CPANTS::SiteKwalitee::Files) |
896 (3.16 %) |
4026 (3.92 %) |
15346 (5.3 %) |
distname_matches_name_in_meta | The distribution name (eg. 'Foo-Bar' of Foo-Bar-1.42.tar.gz) does not match the 'name' field in META files. (defined in Module::CPANTS::SiteKwalitee::Distname) |
95 (0.33 %) |
378 (0.37 %) |
1947 (0.67 %) |
extractable | This distribution doesn't extract well due to several reasons such as unsupported archive type (CPANTS only supports tar.gz, tgz and zip archives), file permissions, broken links, invalid filenames, and so on. Most of other kwalitee metrics should be ignored. (defined in Module::CPANTS::SiteKwalitee::Extraction) |
13 (0.05 %) |
50 (0.05 %) |
426 (0.15 %) |
extracts_nicely | This distribution doesn't create a directory and extracts its content into this directory. Instead, it creates more than one directories (some of which are probably system-specific hidden files/directories), or it spews its content into the current directory, making it really hard/annoying to remove the unpacked package. (defined in Module::CPANTS::SiteKwalitee::Extraction) |
62 (0.22 %) |
128 (0.12 %) |
514 (0.18 %) |
has_abstract_in_pod | No abstract (short description of a module) is found in pod from this distribution. (defined in Module::CPANTS::Kwalitee::Pod) |
974 (3.43 %) |
3405 (3.32 %) |
10882 (3.76 %) |
has_buildtool | Makefile.PL and/or Build.PL are missing. This makes installing this distribution hard for humans and impossible for automated tools like CPAN/CPANPLUS/cpanminus. (defined in Module::CPANTS::Kwalitee::Files) |
133 (0.47 %) |
338 (0.33 %) |
1332 (0.46 %) |
has_changelog | The distribution hasn't got a Changelog (named something like m/^chang(es?|log)|history$/i). A Changelog helps people decide if they want to upgrade to a new version. (defined in Module::CPANTS::Kwalitee::Files) |
2007 (7.07 %) |
6255 (6.09 %) |
22772 (7.87 %) |
has_human_readable_license | This distribution does not have a license defined in the documentation or in a file called LICENSE (defined in Module::CPANTS::Kwalitee::License) |
1963 (6.91 %) |
6203 (6.04 %) |
26045 (9 %) |
has_license_in_source_file | Does not have license information in any of its source files (defined in Module::CPANTS::Kwalitee::License) |
3172 (11.17 %) |
10649 (10.37 %) |
37638 (13 %) |
has_manifest | The file "MANIFEST" is missing from this distribution. The MANIFEST lists all files included in the distribution. (defined in Module::CPANTS::Kwalitee::Files) |
357 (1.26 %) |
1137 (1.11 %) |
3538 (1.22 %) |
has_meta_yml | The file "META.yml" is missing from this distribution. META.yml is needed by people maintaining module collections (like CPAN), for people writing installation tools, or just people who want to know some stuff about a distribution before downloading it. (defined in Module::CPANTS::Kwalitee::Files) |
1616 (5.69 %) |
5461 (5.32 %) |
24255 (8.38 %) |
has_proper_version | The version number isn't a number. It probably contains letter besides a leading 'v', which it shouldn't (defined in Module::CPANTS::SiteKwalitee::DistVersion) |
107 (0.38 %) |
454 (0.44 %) |
4612 (1.59 %) |
has_readme | The file "README" is missing from this distribution. The README provides some basic information to users prior to downloading and unpacking the distribution. (defined in Module::CPANTS::Kwalitee::Files) |
1828 (6.44 %) |
7149 (6.96 %) |
19451 (6.72 %) |
has_tests | This distribution doesn't contain either a file called 'test.pl' or a directory called 't'. This indicates that it doesn't contain even the most basic test-suite. This is really BAD! (defined in Module::CPANTS::Kwalitee::Files) |
1111 (3.91 %) |
3548 (3.46 %) |
8845 (3.06 %) |
has_version | The distribution filename (eg. Foo-Bar-1.42.tar.gz) does not include a version number (or something that looks like a reasonable version number to CPAN::DistnameInfo) (defined in Module::CPANTS::SiteKwalitee::DistVersion) |
53 (0.19 %) |
78 (0.08 %) |
338 (0.12 %) |
main_module_version_matches_dist_version | The version and/or name of the main module in this distribution doesn't match the distribution version and/or name. (defined in Module::CPANTS::SiteKwalitee::Version) |
1419 (5 %) |
5369 (5.23 %) |
18228 (6.3 %) |
manifest_matches_dist | MANIFEST does not match the contents of this distribution. (defined in Module::CPANTS::Kwalitee::Manifest) |
1342 (4.73 %) |
5493 (5.35 %) |
15650 (5.41 %) |
meta_json_conforms_to_known_spec | META.json does not conform to any recognised META Spec. (defined in Module::CPANTS::Kwalitee::MetaYML) |
151 (0.53 %) |
672 (0.65 %) |
1520 (0.53 %) |
meta_json_is_parsable | The META.json file of this distribution could not be parsed by the version of JSON parser CPANTS is using. (defined in Module::CPANTS::Kwalitee::MetaYML) |
22 (0.08 %) |
69 (0.07 %) |
130 (0.04 %) |
meta_yml_conforms_to_known_spec | META.yml does not conform to any recognised META.yml Spec. (defined in Module::CPANTS::Kwalitee::MetaYML) |
1506 (5.3 %) |
5496 (5.35 %) |
20367 (7.04 %) |
meta_yml_is_parsable | The META.yml file of this distribution could not be parsed by the version of CPAN::Meta::YAML.pm CPANTS is using. (defined in Module::CPANTS::Kwalitee::MetaYML) |
78 (0.27 %) |
254 (0.25 %) |
1258 (0.43 %) |
no_broken_auto_install | This distribution uses an old version of Module::Install. Versions of Module::Install prior to 0.89 do not detect correctly that CPAN/CPANPLUS shell is used. (defined in Module::CPANTS::Kwalitee::BrokenInstaller) |
210 (0.74 %) |
827 (0.81 %) |
3387 (1.17 %) |
no_broken_module_install | This distribution uses an obsolete version of Module::Install. Versions of Module::Install prior to 0.61 might not work on some systems at all. Additionally if your Makefile.PL uses the 'auto_install()' feature, you need at least version 0.64. Also, 1.04 is known to be broken. (defined in Module::CPANTS::Kwalitee::BrokenInstaller) |
161 (0.57 %) |
542 (0.53 %) |
1993 (0.69 %) |
no_files_to_be_skipped | This distribution contains files that should be skipped by MANIFEST.SKIP. (defined in Module::CPANTS::Kwalitee::Files) |
486 (1.71 %) |
2057 (2 %) |
7323 (2.53 %) |
no_generated_files | This distribution has files/directories that should be generated at build time, not distributed by the author. (defined in Module::CPANTS::SiteKwalitee::Files) |
146 (0.51 %) |
663 (0.65 %) |
1850 (0.64 %) |
no_mymeta_files | This distribution contains MYMETA.* files which should be used only locally. This metric should be integrated into 'no_generated_files' eventually, but as MYMETA.* files are recent inventions, you might need to take special care if MANIFEST.SKIP exists in your distribution. Hence this metric. (defined in Module::CPANTS::SiteKwalitee::MyMeta) |
207 (0.73 %) |
1053 (1.03 %) |
3649 (1.26 %) |
no_pax_headers | This distribution is archived with PAX extended headers, which may be useful under some environments, but may also make extraction fail under other environments (Archive::Tar ignores PAX information as well). (defined in Module::CPANTS::SiteKwalitee::Extraction) |
487 (1.72 %) |
1872 (1.82 %) |
2619 (0.9 %) |
no_pod_errors | The documentation for this distribution contains syntactic errors in its POD. Note that this metric tests all .pl, .pm and .pod files, even if they are in t/. See 'pod_message' in the dist error view for more info. (defined in Module::CPANTS::SiteKwalitee::Pod) |
1277 (4.5 %) |
7631 (7.43 %) |
29558 (10.21 %) |
no_symlinks | This distribution includes symbolic links (symlinks). This is bad, because there are operating systems that do not handle symlinks. (defined in Module::CPANTS::Kwalitee::Files) |
13 (0.05 %) |
29 (0.03 %) |
100 (0.03 %) |
portable_filenames | This distribution has at least one file with non-portable characters in its filename, which may cause problems under some environments. (defined in Module::CPANTS::SiteKwalitee::Files) |
29 (0.1 %) |
226 (0.22 %) |
841 (0.29 %) |
prereq_matches_use | This distribution uses a module or a dist that's not listed as a prerequisite. (defined in Module::CPANTS::SiteKwalitee::Prereq) |
1687 (5.94 %) |
8384 (8.16 %) |
23399 (8.08 %) |
use_strict | This distribution does not 'use strict;' (or its equivalents) in all of its modules. Note that this is not about the actual strictness of the modules. It's bad if nobody can tell whether the modules are strictly written or not, without reading the source code of your favorite clever module that actually enforces strictness. In other words, it's bad if someone feels the need to add 'use strict' to your modules. (defined in Module::CPANTS::Kwalitee::Uses) |
3014 (10.62 %) |
12855 (12.52 %) |
43158 (14.91 %) |
Extra indicators
These indicators are for less important (or more controversial) issues that you might or might not want to ignore. These are not used while calculating your ranking.
Name | Description | Fail (Latest) |
Fail (CPAN) |
Fail (BackPAN) |
---|---|---|---|---|
consistent_version | This distribution has .pm files with inconsistent versions. (defined in Module::CPANTS::SiteKwalitee::Version) |
1321 (4.65 %) |
7997 (7.79 %) |
31684 (10.94 %) |
has_known_license_in_source_file | Does not have license information in any of its source files, or the information is not recognized by Software::License (defined in Module::CPANTS::Kwalitee::License) |
4234 (14.91 %) |
14785 (14.4 %) |
49902 (17.24 %) |
has_meta_json | The file "META.json" is missing from this distribution. META.json has better information than META.yml and is preferred by people maintaining module collections (like CPAN), for people writing installation tools, or just people who want to know some stuff about a distribution before downloading it. (defined in Module::CPANTS::Kwalitee::Files) |
9208 (32.43 %) |
36737 (35.77 %) |
125130 (43.22 %) |
has_tests_in_t_dir | This distribution contains either a file called 'test.pl' (the old test file) or is missing a directory called 't'. This indicates that it uses the old test mechanism or it has no test-suite. (defined in Module::CPANTS::Kwalitee::Files) |
1795 (6.32 %) |
6436 (6.27 %) |
19321 (6.67 %) |
meta_yml_declares_perl_version | This distribution does not declare the minimum perl version in META.yml. (defined in Module::CPANTS::Kwalitee::MetaYML) |
12305 (43.34 %) |
43843 (42.69 %) |
123210 (42.56 %) |
meta_yml_has_license | This distribution does not have a license defined in META.yml. (defined in Module::CPANTS::Kwalitee::License) |
5170 (18.21 %) |
16993 (16.55 %) |
60602 (20.93 %) |
no_abstract_stub_in_pod | A well-known abstract stub (typically generated by an authoring tool) is found in this distribution. (defined in Module::CPANTS::Kwalitee::Pod) |
18 (0.06 %) |
104 (0.1 %) |
313 (0.11 %) |
no_dot_dirs | This distribution has a dot directory, which most probably derives from a version control system. (defined in Module::CPANTS::SiteKwalitee::Files) |
135 (0.48 %) |
774 (0.75 %) |
1200 (0.41 %) |
no_dot_underscore_files | This distribution has dot underscore files which may cause various problems. (defined in Module::CPANTS::SiteKwalitee::Files) |
32 (0.11 %) |
104 (0.1 %) |
436 (0.15 %) |
no_invalid_versions | This distribution has .pm files with an invalid version. (defined in Module::CPANTS::SiteKwalitee::Version) |
121 (0.43 %) |
886 (0.86 %) |
3309 (1.14 %) |
no_local_dirs | This distribution contains a well-known directory for local use (i.e. not suitable for a public distribution). (defined in Module::CPANTS::SiteKwalitee::Files) |
7 (0.02 %) |
34 (0.03 %) |
70 (0.02 %) |
no_maniskip_error | This distribution's MANIFEST.SKIP has a problematic entry. (defined in Module::CPANTS::Kwalitee::Files) |
9 (0.03 %) |
61 (0.06 %) |
198 (0.07 %) |
no_missing_files_in_provides | Provides field in the META.yml lists a file that does not found in the distribution. (defined in Module::CPANTS::Kwalitee::FindModules) |
31 (0.11 %) |
186 (0.18 %) |
453 (0.16 %) |
no_stdin_for_prompting | This distribution is using direct call from STDIN instead of prompt(). Make sure STDIN is not used in Makefile.PL or Build.PL. (defined in Module::CPANTS::Kwalitee::Files) |
43 (0.15 %) |
508 (0.49 %) |
2815 (0.97 %) |
no_unauthorized_packages | Apparently this distribution has unauthorized packages now. (defined in Module::CPANTS::SiteKwalitee::Permissions) |
593 (2.09 %) |
3130 (3.05 %) |
13421 (4.64 %) |
proper_libs | There is more than one .pm file in the base dir, or the .pm files are not in lib/ directory. (defined in Module::CPANTS::Kwalitee::FindModules) |
386 (1.36 %) |
2477 (2.41 %) |
9739 (3.36 %) |
test_prereq_matches_use | This distribution uses a module or a dist in its test suite that's not listed as a test prerequisite. (defined in Module::CPANTS::SiteKwalitee::Prereq) |
798 (2.81 %) |
4164 (4.05 %) |
10210 (3.53 %) |
use_warnings | This distribution does not 'use warnings;' (or its equivalents) in all of its modules. Note that this is not about that your modules actually warn when something bad happens. It's bad if nobody can tell if a module warns or not, without reading the source code of your favorite module that actually enforces warnings. In other words, it's bad if someone feels the need to add 'use warnings' to your modules. (defined in Module::CPANTS::Kwalitee::Uses) |
7024 (24.74 %) |
27637 (26.91 %) |
90720 (31.34 %) |
valid_signature | This dist failed its Module::Signature verification and does not to install automatically through the CPAN client if Module::Signature is installed. Note: unsigned dists will automatically pass this kwalitee check. (defined in Module::CPANTS::SiteKwalitee::Signature) |
51 (0.18 %) |
406 (0.4 %) |
1026 (0.35 %) |
Experimental indicators
These indicators are mainly for issues that are too new or too picky and there are a lot of failing distributions on the CPAN, or just to gather information. These are not used while calculating your score and ranking.
Name | Description | Fail (Latest) |
Fail (CPAN) |
Fail (BackPAN) |
---|---|---|---|---|
configure_prereq_matches_use | This distribution uses a module or a dist in its Makefile.PL/Build.PL that's not listed as a configure prerequisite. (defined in Module::CPANTS::SiteKwalitee::Prereq) |
205 (0.72 %) |
970 (0.94 %) |
2679 (0.93 %) |
has_separate_license_file | This distribution does not have a LICENSE or LICENCE file in its root directory. (defined in Module::CPANTS::Kwalitee::License) |
12094 (42.6 %) |
46047 (44.84 %) |
143590 (49.6 %) |
meta_yml_has_provides | This distribution does not have a list of provided modules defined in META.yml. (defined in Module::CPANTS::Kwalitee::MetaYML) |
17879 (62.98 %) |
65972 (64.24 %) |
183223 (63.29 %) |
meta_yml_has_repository_resource | This distribution does not have a link to a repository in META.yml. (defined in Module::CPANTS::Kwalitee::MetaYML) |
9087 (32.01 %) |
34073 (33.18 %) |
107725 (37.21 %) |