logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Thomas Klausner <https://metacpan.org/author/domm> and Gábor Szabó <https://metacpan.org/author/szabgab>

Description

Methodsorder

       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 named LICENSE

       kwalitee_indicators

       Returns the Kwalitee Indicators data structure.

       •   meta_yml_has_license

       •   has_known_license_in_source_file

       •   has_license_in_source_file

       •   has_human_readable_license

       •   has_separate_license_file

   Licenseinformation
       Places where the license 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

Name

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

See Also

       Module::CPANTS::Analyse

Synopsis

       Checks if the distribution specifies a license.

See Also