NAME

generate_index.pl - Generate an HTML coverage dashboard for Database::Abstraction

SYNOPSIS

cd /path/to/Database-Abstraction
cover -test
perl scripts/generate_index.pl

The output is written to cover_html/index.html.

DESCRIPTION

Reads the JSON coverage summary produced by Devel::Cover (cover_db/cover.json), compares it against historical snapshots in coverage_history/, and renders a sortable HTML table with per-file coverage metrics, delta indicators, and a Chart.js trend line. A git commit SHA is embedded so each row links back to the corresponding source on GitHub.

PREREQUISITES

Devel::Cover must have been run first (cover -test) to populate cover_db/cover.json. The script also requires a git repository and network access to load Chart.js from a CDN at view time.

AUTHOR

Nigel Horne <njh@nigelhorne.com>

LICENSE

Same as Database::Abstraction — GPL2 for personal single-user use; contact the author for all other uses.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 35:

Non-ASCII character seen before =encoding in '—'. Assuming UTF-8