Skip Menu |

This queue is for tickets about the Module-CPANTS-Analyse CPAN distribution.

Report information
The Basics
Id: 43992
Status: resolved
Priority: 0/
Queue: Module-CPANTS-Analyse

People
Owner: Nobody in particular
Requestors: melo [...] cpan.org
Cc: bdfoy [...] cpan.org
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.82
Fixed in: (no value)



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?
Thanks for the report. This was because no_cpants_errors was skipped without --verbose. The metric is gone now, and the result should be the same with and without --verbose. Closed as resolved. On Tue Mar 10 16:39:29 2009, MELO wrote: Show quoted text
> 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,