NAME

Module::CPANTS::Kwalitee::Files - Check for various files

SYNOPSIS

Find various files and directories that should be part of every self-respecting distribution.

DESCRIPTION

Methods

order

Defines the order in which Kwalitee tests should be run.

Returns 10, as data generated by MCK::Files is used by all other tests.

map_filenames

get db_filenames from real_filenames

analyse

MCK::Files uses File::Find to get a list of all files and dirs in a dist. It checks if certain crucial files are there, and does some other file-specific stuff.

get_files

The subroutine used by File::Find. Unfortunantly, it depends on some global values.

kwalitee_indicators

Returns the Kwalitee Indicators datastructure.

  • extractable

  • extracts_nicely

  • has_readme

  • has_manifest

  • has_meta_yml

  • has_buildtool

  • has_changelog

  • no_symlinks

  • has_tests

  • has_tests_in_t_dir

  • buildfile_not_executabel

  • has_example (optional)

  • no_generated_file

  • has_version_in_each_file

  • no_stdin_for_prompting

SEE ALSO

Module::CPANTS::Analyse

AUTHOR

Thomas Klausner

COPYRIGHT AND LICENSE

Copyright © 2003–2006, 2009 Thomas Klausner

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