munin-monitoring / munin

Main repository for munin master / node / plugins
http://munin-monitoring.org
Other
2k stars 474 forks source link

Testing static generation #1590

Closed steveschnepp closed 1 year ago

steveschnepp commented 1 year ago

Having the static generation back is good for security. It also has an unexpected-at-the-time side-effect : it is now much easier to test HTML.pm and Graph.pm.

This PR is leveraging that side-effect.

coveralls commented 1 year ago

Pull Request Test Coverage Report for Build 6750497209


Changes Missing Coverage Covered Lines Changed/Added Lines %
lib/Munin/Master/Static/CGI.pm 12 14 85.71%
lib/Munin/Master/Graph.pm 3 8 37.5%
<!-- Total: 81 88 92.05% -->
Files with Coverage Reduction New Missed Lines %
lib/Munin/Master/UpdateWorker.pm 1 94.01%
<!-- Total: 1 -->
Totals Coverage Status
Change from base Build 6722058331: 18.8%
Covered Lines: 1579
Relevant Lines: 2249

💛 - Coveralls