App-CPANChangesCwaliteeUtils

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN


         calc_cpan_changes_cwalitee();

        Result:

         [
           200,
           "OK",
           [
             {
               indicator => "not_too_wide",
               num => 1,
               result => 1,
               result_summary => "",
               severity => 3,
             },
             {
               indicator => "parsable",
               num => 2,
               result => 1,
               result_summary => "",

README  view on Meta::CPAN

               severity => 3,
             },
             {
               indicator => "preamble_has_no_releases",
               num => 11,
               result => 1,
               result_summary => "",
               severity => 3,
             },
             {
               indicator => "release_dates_not_future",
               num => 12,
               result => 0,
               result_summary => "Release date '2021-05-27' (2021-05-27) is in the future",
               severity => 3,
             },
             {
               indicator => "releases_in_descending_date_order",
               num => 13,
               result => 1,
               result_summary => "",

lib/App/CPANChangesCwaliteeUtils.pm  view on Meta::CPAN


 calc_cpan_changes_cwalitee();

Result:

 [
   200,
   "OK",
   [
     {
       indicator => "not_too_wide",
       num => 1,
       result => 1,
       result_summary => "",
       severity => 3,
     },
     {
       indicator => "parsable",
       num => 2,
       result => 1,
       result_summary => "",

lib/App/CPANChangesCwaliteeUtils.pm  view on Meta::CPAN

       severity => 3,
     },
     {
       indicator => "preamble_has_no_releases",
       num => 11,
       result => 1,
       result_summary => "",
       severity => 3,
     },
     {
       indicator => "release_dates_not_future",
       num => 12,
       result => 0,
       result_summary => "Release date '2021-05-27' (2021-05-27) is in the future",
       severity => 3,
     },
     {
       indicator => "releases_in_descending_date_order",
       num => 13,
       result => 1,
       result_summary => "",

script/calc-cpan-changes-cwalitee  view on Meta::CPAN

     [path]

Examples:

Run against the the Changes of App-CPANChangesCwaliteeUtils distribution:

 % calc-cpan-changes-cwalitee
 +-----------------------------------+-----+--------+---------------------------------------------------------+----------+
 | indicator                         | num | result | result_summary                                          | severity |
 +-----------------------------------+-----+--------+---------------------------------------------------------+----------+
 | not_too_wide                      | 1   | 1      |                                                         | 3        |
 | parsable                          | 2   | 1      |                                                         | 3        |
 | date_correct_format               | 3   | 1      |                                                         | 3        |
 | date_parsable                     | 4   | 1      |                                                         | 3        |
 | english                           | 5   | 1      |                                                         | 3        |
 | has_releases                      | 6   | 1      |                                                         | 3        |
 | no_duplicate_version              | 7   | 1      |                                                         | 3        |
 | no_empty_group                    | 8   | 1      |                                                         | 3        |
 | no_shouting                       | 9   | 1      |                                                         | 3        |
 | no_useless_text                   | 10  | 1      |                                                         | 3        |
 | preamble_has_no_releases          | 11  | 1      |                                                         | 3        |
 | release_dates_not_future          | 12  | 0      | Release date '2021-05-27' (2021-05-27) is in the future | 3        |
 | releases_in_descending_date_order | 13  | 1      |                                                         | 3        |
 | Score                             |     | 92.31  | 12 out of 13                                            |          |
 +-----------------------------------+-----+--------+---------------------------------------------------------+----------+

=head1 OPTIONS

C<*> marks required options.

=head2 Main options

script/cc-cwa  view on Meta::CPAN

     [path]

Examples:

Run against the the Changes of App-CPANChangesCwaliteeUtils distribution:

 % cc-cwa
 +-----------------------------------+-----+--------+---------------------------------------------------------+----------+
 | indicator                         | num | result | result_summary                                          | severity |
 +-----------------------------------+-----+--------+---------------------------------------------------------+----------+
 | not_too_wide                      | 1   | 1      |                                                         | 3        |
 | parsable                          | 2   | 1      |                                                         | 3        |
 | date_correct_format               | 3   | 1      |                                                         | 3        |
 | date_parsable                     | 4   | 1      |                                                         | 3        |
 | english                           | 5   | 1      |                                                         | 3        |
 | has_releases                      | 6   | 1      |                                                         | 3        |
 | no_duplicate_version              | 7   | 1      |                                                         | 3        |
 | no_empty_group                    | 8   | 1      |                                                         | 3        |
 | no_shouting                       | 9   | 1      |                                                         | 3        |
 | no_useless_text                   | 10  | 1      |                                                         | 3        |
 | preamble_has_no_releases          | 11  | 1      |                                                         | 3        |
 | release_dates_not_future          | 12  | 0      | Release date '2021-05-27' (2021-05-27) is in the future | 3        |
 | releases_in_descending_date_order | 13  | 1      |                                                         | 3        |
 | Score                             |     | 92.31  | 12 out of 13                                            |          |
 +-----------------------------------+-----+--------+---------------------------------------------------------+----------+

=head1 OPTIONS

C<*> marks required options.

=head2 Main options

script/list-cpan-changes-cwalitee-indicators  view on Meta::CPAN


 % list-cpan-changes-cwalitee-indicators
 date_correct_format
 date_parsable
 english
 has_releases
 no_duplicate_version
 no_empty_group
 no_shouting
 no_useless_text
 not_too_wide
 parsable
 preamble_has_no_releases
 release_dates_not_future
 releases_in_descending_date_order

List only certain names, show details:

 % list-cpan-changes-cwalitee-indicators --detail --include parsable --include date_parsable --include date_correct_format
 +-------------------------------+---------------------+----------+----------+--------+----------------------------------------------------------------------+
 | module                        | name                | priority | severity | status | summary                                                              |
 +-------------------------------+---------------------+----------+----------+--------+----------------------------------------------------------------------+
 | CPAN::Changes::Cwalitee::Core | date_correct_format | 50       | 3        | stable | Dates are specified in the correct specified format, e.g. YYYY-MM-DD |
 | CPAN::Changes::Cwalitee::Core | date_parsable       | 50       | 3        | stable | Dates are parsable by CPAN::Changes                                  |



( run in 0.634 second using v1.01-cache-2.11-cpan-4d4bc49f3ae )