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) |
906 (3.17 %) |
4067 (3.92 %) |
15406 (5.29 %) |
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) |
98 (0.34 %) |
386 (0.37 %) |
1955 (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 %) |
365 (0.13 %) |
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 %) |
129 (0.12 %) |
515 (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) |
986 (3.45 %) |
3448 (3.32 %) |
10958 (3.77 %) |
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) |
132 (0.46 %) |
335 (0.32 %) |
1331 (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) |
2029 (7.1 %) |
6370 (6.14 %) |
22931 (7.88 %) |
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) |
1985 (6.95 %) |
6271 (6.05 %) |
26135 (8.98 %) |
has_license_in_source_file | Does not have license information in any of its source files (defined in Module::CPANTS::Kwalitee::License) |
3201 (11.21 %) |
10753 (10.37 %) |
37813 (12.99 %) |
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) |
359 (1.26 %) |
1162 (1.12 %) |
3565 (1.23 %) |
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) |
1618 (5.67 %) |
5488 (5.29 %) |
24190 (8.31 %) |
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) |
111 (0.39 %) |
462 (0.45 %) |
4620 (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) |
1843 (6.45 %) |
7229 (6.97 %) |
19562 (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) |
1128 (3.95 %) |
3593 (3.46 %) |
8949 (3.08 %) |
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) |
54 (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) |
1437 (5.03 %) |
5425 (5.23 %) |
18330 (6.3 %) |
manifest_matches_dist | MANIFEST does not match the contents of this distribution. (defined in Module::CPANTS::Kwalitee::Manifest) |
1357 (4.75 %) |
5537 (5.34 %) |
15728 (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 %) |
676 (0.65 %) |
1524 (0.52 %) |
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 %) |
71 (0.07 %) |
132 (0.05 %) |
meta_yml_conforms_to_known_spec | META.yml does not conform to any recognised META.yml Spec. (defined in Module::CPANTS::Kwalitee::MetaYML) |
1498 (5.25 %) |
5497 (5.3 %) |
20355 (7 %) |
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) |
79 (0.28 %) |
256 (0.25 %) |
1264 (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.8 %) |
3387 (1.16 %) |
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.56 %) |
542 (0.52 %) |
1993 (0.68 %) |
no_files_to_be_skipped | This distribution contains files that should be skipped by MANIFEST.SKIP. (defined in Module::CPANTS::Kwalitee::Files) |
502 (1.76 %) |
2093 (2.02 %) |
7396 (2.54 %) |
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) |
149 (0.52 %) |
663 (0.64 %) |
1845 (0.63 %) |
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) |
211 (0.74 %) |
1065 (1.03 %) |
3671 (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) |
501 (1.75 %) |
1934 (1.86 %) |
2691 (0.92 %) |
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) |
1279 (4.48 %) |
7620 (7.35 %) |
29617 (10.18 %) |
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) |
30 (0.11 %) |
230 (0.22 %) |
845 (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) |
1698 (5.95 %) |
8496 (8.19 %) |
23487 (8.07 %) |
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) |
3028 (10.6 %) |
12920 (12.46 %) |
43370 (14.9 %) |
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) |
1326 (4.64 %) |
8036 (7.75 %) |
31769 (10.92 %) |
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) |
4272 (14.96 %) |
14971 (14.44 %) |
50189 (17.25 %) |
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) |
9214 (32.26 %) |
36912 (35.59 %) |
125239 (43.04 %) |
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) |
1813 (6.35 %) |
6478 (6.25 %) |
19364 (6.65 %) |
meta_yml_declares_perl_version | This distribution does not declare the minimum perl version in META.yml. (defined in Module::CPANTS::Kwalitee::MetaYML) |
12365 (43.29 %) |
44175 (42.6 %) |
123702 (42.51 %) |
meta_yml_has_license | This distribution does not have a license defined in META.yml. (defined in Module::CPANTS::Kwalitee::License) |
5175 (18.12 %) |
17050 (16.44 %) |
60550 (20.81 %) |
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) |
24 (0.08 %) |
115 (0.11 %) |
324 (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) |
137 (0.48 %) |
829 (0.8 %) |
1256 (0.43 %) |
no_dot_underscore_files | This distribution has dot underscore files which may cause various problems. (defined in Module::CPANTS::SiteKwalitee::Files) |
32 (0.11 %) |
105 (0.1 %) |
437 (0.15 %) |
no_invalid_versions | This distribution has .pm files with an invalid version. (defined in Module::CPANTS::SiteKwalitee::Version) |
121 (0.42 %) |
893 (0.86 %) |
3313 (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 %) |
196 (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) |
30 (0.11 %) |
188 (0.18 %) |
460 (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) |
42 (0.15 %) |
508 (0.49 %) |
2818 (0.97 %) |
no_unauthorized_packages | Apparently this distribution has unauthorized packages now. (defined in Module::CPANTS::SiteKwalitee::Permissions) |
601 (2.1 %) |
3178 (3.06 %) |
13379 (4.6 %) |
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) |
396 (1.39 %) |
2501 (2.41 %) |
9781 (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) |
806 (2.82 %) |
4251 (4.1 %) |
10315 (3.54 %) |
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) |
7058 (24.71 %) |
27851 (26.86 %) |
91032 (31.28 %) |
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) |
980 (3.43 %) |
4353 (4.2 %) |
11616 (3.99 %) |
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) |
208 (0.73 %) |
984 (0.95 %) |
2704 (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) |
12140 (42.51 %) |
46368 (44.71 %) |
143942 (49.47 %) |
meta_yml_has_provides | This distribution does not have a list of provided modules defined in META.yml. (defined in Module::CPANTS::Kwalitee::MetaYML) |
17968 (62.91 %) |
66474 (64.1 %) |
184189 (63.3 %) |
meta_yml_has_repository_resource | This distribution does not have a link to a repository in META.yml. (defined in Module::CPANTS::Kwalitee::MetaYML) |
9133 (31.98 %) |
34318 (33.09 %) |
108096 (37.15 %) |