Scroll to navigation

Module::CPANTS::Kwalitee::License(3pm) User Contributed Perl Documentation Module::CPANTS::Kwalitee::License(3pm)

NAME

Module::CPANTS::Kwalitee::License - Checks if there is a license

SYNOPSIS

Checks if the disttribution specifies a license.

DESCRIPTION

Methods

order
Defines the order in which Kwalitee tests should be run.
Returns 100.
analyse
"MCK::License" checks if there's a "license" field "META.yml". Additionally, it looks for a file called LICENSE and a POD section namend LICENSE
kwalitee_indicators
Returns the Kwalitee Indicators datastructure.
has_license
has_license_in_metayml

License information

Pleaces wher the licens information is taken from:
Has a LICENSE file file_license 1|0
Content of LICENSE file matches License X from Software::License
License in META.yml
License in META.yml matches one of the known licenses
License in source files recognized by Software::LicenseUtils For each file keep where is was it recognized.
Has license or copyright entry in pod (that might not be recognized by Software::LicenseUtils)
# has_license

SEE ALSO

Module::CPANTS::Analyse

AUTHOR

Thomas Klausner <https://metacpan.org/author/domm> and Gabor Szabo <https://metacpan.org/author/szabgab>

COPYRIGHT AND LICENSE

Copyright X 2003X2009 Thomas Klausner <https://metacpan.org/author/domm>
Copyright X 2006X2008 Gabor Szabo <https://metacpan.org/author/szabgab>
You may use and distribute this module according to the same terms that Perl is distributed under.
2012-06-08 perl v5.14.2