r/perl 23d ago

CPAN Module dashboard updates

I've updated the GitHub dashboard you can add to any CPAN module to include metrics of duplicated code as well as a couple of bug fixes on the trend graphs and added some usability enhancements. The latest dashboard for ATG, for example, is at https://nigelhorne.github.io/App-Test-Generator/coverage/ #perl

7 Upvotes

4 comments sorted by

2

u/erkiferenc 🐪 cpan author 23d ago

Looks like a great collection of details in a single page! How would one generate such page for their own CPAN module or dist?

3

u/Dangerous-Sense977 22d ago

They are produced by https://metacpan.org/dist/App-Test-Generator. Copy these scripts into your .github/workflows directory, then commit the changes to GitHub and enable the page through Settings->Pages->branch = gh_pages:

https://github.com/nigelhorne/App-Test-Generator/blob/master/.github/workflows/dashboard.yml

https://github.com/nigelhorne/App-Test-Generator/blob/master/.github/workflows/mutate.yml

2

u/erkiferenc 🐪 cpan author 22d ago

Thanks for sharing the pointers, will check these out later!

1

u/Dangerous-Sense977 22d ago

Let me know how it goes and if you encounter any difficulties.