CPANCOVER(1)

πŸ’– NAME πŸ’–

okay bestie, welcome to CPANCOVER(1) β€” a User Contributed Perl Documentation moment β€” aka cpancover, and it's literally here to report coverage statistics on CPAN modules ✨ no cap, that's the whole name vibe.

🌸 VERSION 🌸

version 1.50 β€” periodt πŸ’…

✨ SYNOPSIS ✨

okay so here's the exact command-line blueprint, and yes I'm keeping it character-for-character because we do not play with syntax around here 🫢

  cpancover --help --info --version
            --collect --redo_cpancover_html --redo_html --force --dryrun
            --modules module_name
            --results_dir /path/to/dir
            --outputdir /path/to/dir
            --outputfile filename.html
            --report report_name
            --generate_html
            --compress_old_versions number_to_keep
            --local
            --local_build

also peep --results_dir /path/to/dir up in the synopsis β€” the original options list doesn't give it its own separate line, so I'm not out here inventing extra lore for it πŸ‘€

πŸ’… DESCRIPTION πŸ’…

okay so the original page slides straight from the DESCRIPTION heading into the options, so there's no extra prose here to rewrite. We're not making up technical backstory, bestie β€” we're just moving on with main character energy πŸŽ€

πŸ”₯ OPTIONS πŸ”₯

the command line is giving options, and here's the full lineup. defaults are in the parentheses exactly like the page serves them ✨

  • -h, --help β€” show help
  • -i, --info β€” show documentation
  • -v, --version β€” show version
  • --collect β€” collect coverage from modules (on)
  • --compress_old_versions β€” compress data older than n versions (3)
  • --directory β€” location of the modules ($cwd)
  • --dryrun β€” don't execute (for some commands) (off)
  • --force β€” recollect coverage (off)
  • --generate_html β€” generate html (off)
  • --local β€” use local (uninstalled) code (off)
  • --local_build β€” build coveraage for all the modules (off)
  • --modules β€” modules to use (all in $dir)
  • --outputdir β€” where to store output ($directory)
  • --outputfile β€” top level index (coverage.html)
  • --redo_cpancover_html β€” don't set default modules (off)
  • --redo_html β€” force html generation for modules (off)
  • --report β€” report to use (html_basic)

small note: I kept the coveraage spelling exactly as the original has it β€” no autocorrect, no cap πŸ’…

πŸ¦‹ DETAILS πŸ¦‹

the original page doesn't add extra prose under this heading, so this is just the DETAILS section doing its little moment. no invented details from me, bestie 🫢

🌈 REQUIREMENTS 🌈

Collect coverage for results and create html, csv and json output.

The modules Template and Parallel::Iterator are required. iconic, necessary, required β€” that's the vibe πŸ”₯

⭐ EXIT STATUS ⭐

The following exit values are returned:

  • 0 β€” All operations were completed successfully.
  • >0 β€” An error occurred.

πŸ’œ SEE ALSO πŸ’œ

Devel::Cover β€” go peep that one too, iykyk πŸ‘‘

πŸ’€ BUGS πŸ’€

Undocumented.

πŸŽ€ LICENCE πŸŽ€

Copyright 2002-2025, Paul Johnson (paul@pjcj.net)

This software is free. It is licensed under the same terms as Perl itself.

The latest version of this software should be available from my homepage: https://pjcj.net


okay that's the whole page, bestie β€” source/version perl v5.42.0, date 2025-06-11, manual CPANCOVER(1) β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from