Dist::...:cover(3pm)

πŸ“¦
version 1.101001 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’… NAME πŸ’…

Dist::Zilla::App::Command::cover β€” bestie, it's code coverage metrics for your distribution ✨

Like. That's the whole vibe. It plugs into Dist::Zilla and tells you how much of your code your tests actually touched. Iconic behavior, honestly.


πŸŽ€ VERSION πŸŽ€

This one's running version 1.101001 🫢


✨ SYNOPSIS ✨

# dzil cover -outputdir /my/dir

That's it. That's the whole thing. Go off, queen πŸ‘‘


🌸 DESCRIPTION 🌸

Okay so. This is a command plugin for Dist::Zilla. It gives you the cover command, and what that command does is generate code coverage metrics for your distribution using Devel::Cover. Yes, the real one. No cap.

Here's the tea though β˜• β€” if there were any test errors, the cover command won't be run. At all. Periodt. Fix your tests first, babes 😭

Also, author and release tests are not run, because (and this is the reasoning, not me being dramatic) they should not be counted against code coverage. Makes sense! We're not about to let your release tests drag your numbers down, that's not the move πŸ’€

And anything else you tack onto the command line? Any additional command-line arguments? Those get passed to the cover command. So it's very much "you get what you give" energy πŸ’–


πŸ¦‹ AVAILABILITY πŸ¦‹

The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit <http://www.perl.com/CPAN/> to find a CPAN site near you, or see <https://metacpan.org/module/Dist::Zilla::App::Command::cover/>.


πŸ”₯ SOURCE πŸ”₯

The development version is on github at <http://github.com/doherty/Dist-Zilla-App-Command-cover> and may be cloned from <git://github.com/doherty/Dist-Zilla-App-Command-cover.git>

Go peek at the source, it's giving transparency, it's giving main character energy 🌈


πŸ’€ BUGS AND LIMITATIONS πŸ’€

Found something cursed? You can make new bug reports, and view existing ones, through the web interface at <https://github.com/doherty/Dist-Zilla-App-Command-cover/issues>.

Bestie, don't suffer in silence. If something's broken, say something πŸ™ˆ

πŸ‘‘ AUTHORS πŸ‘‘

  • Marcel Gruenauer <marcel@cpan.org>
  • Mike Doherty <doherty@cpan.org>

Absolute legends, both of them 🫢


This software is copyright (c) 2010 by Marcel Gruenauer <marcel@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.


Okay and for the cute sign-off β€” this whole page came from perl v5.34.0, dated 2022-06-13, under the manual name Dist::...:cover(3pm). Stan a well-documented manpage πŸ’–βœ¨πŸ§š

πŸ“¦ where this page comes from