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, <domm@cpan.org>, http://domm.zsi.at and Gabor Szabo, <gabor@pti.co.il>, http://www.szabgab.com

COPYRIGHT

You may use and distribute this module according to the same terms that Perl is distributed under.