CC: | bdfoy [...] cpan.org |
Subject: | Difference in cpants_lint.pl with and without --verbose |
Hi,
I was starting to use brian's module-release and the kwalitte tests failed.
I noticed the following strange behaviour with your cpants_lint.pl script that he uses:
If i run without --verbose (as module-release does), I get a Kwalitee rating of 30/25 and 3
ignored metrics, and no perfect rating.
but with --verbose and the same dist, I get 29/25 and a perfect rating.
I couldn't figure why the $total_kw var is smaller when we run with --verbose, though...
Full outputs:
melo@MrTray:App-CMAM (master) $ cpants_lint.pl App-CMAM-0.02.tar.gz ; echo
Checked dist App-CMAM-0.02.tar.gz
Kwalitee rating 120.00% (30/25)
Ignoring metrics is_prereq, prereq_matches_use, build_prereq_matches_use
melo@MrTray:App-CMAM (master) $ cpants_lint.pl --verbose App-CMAM-0.02.tar.gz
## distro: App-CMAM-0.02.tar.gz
## extractable
## extracts_nicely
## has_readme
## has_manifest
## has_meta_yml
## has_buildtool
## has_changelog
## no_symlinks
## has_tests
## has_tests_in_t_dir
## buildtool_not_executable
## has_example
## no_generated_files
## no_stdin_for_prompting
## no_large_files
## has_version
## has_proper_version
## metayml_is_parsable
## metayml_has_license
## metayml_has_provides
## metayml_conforms_to_known_spec
## metayml_conforms_spec_current
## metayml_declares_perl_version
## proper_libs
## no_pod_errors
## has_working_buildtool
## use_strict
## use_warnings
## has_test_pod
## has_test_pod_coverage
## uses_test_nowarnings
## has_version_in_each_file
## has_humanreadable_license
## has_separate_license_file
## has_license_in_source_file
## fits_fedora_license
## manifest_matches_dist
## distributed_by_debian
## latest_version_distributed_by_debian
## has_no_bugs_reported_in_debian
## has_no_patches_in_debian
## easily_repackageable_by_debian
## easily_repackageable_by_fedora
## easily_repackageable
## no_cpants_errors
## done
Checked dist App-CMAM-0.02.tar.gz
Kwalitee rating 116.00% (29/25)
Ignoring metrics is_prereq, prereq_matches_use, build_prereq_matches_use
Congratulations for building a 'perfect' distribution!
melo@MrTray:App-CMAM (master) $
Best regards,
--
Do you know where your towel is?