code-coverage/frontend
Marco Castelluccio e2d1a5a043 Version 1.3.35 2024-11-12 12:14:09 +01:00
..
assets
src Fix new linting issues 2024-10-21 18:33:34 +02:00
.babelrc
.eslintrc.yml Re-enable no-constant-binary-expression rule 2024-10-21 18:38:13 +02:00
.gitignore
README.md
package-lock.json Version 1.3.35 2024-11-12 12:14:09 +01:00
package.json Version 1.3.35 2024-11-12 12:14:09 +01:00
screenshot.png
webpack.common.js
webpack.config.js
webpack.prod.js
zero_coverage_report.html

README.md

Mozilla Code Coverage frontend

This is a simple JavaScript application displaying information from the Mozilla code coverage backend (hosted as https://coverage.moz.tools)

You can use it right now from coverage.moz.tools

File viewer

You can browse the aggregated code coverage data for mozilla-central, per directory, then view file coverage in detail.

File browser

Zero coverage reports

We've also developed a page to easily browse the directories & files with no coverage: these files are interesting because they can sometimes be removed altogether from mozilla-central...

Developer setup

It's a pretty simple Single Page application setup using webpack:

npm install
npm run start

The frontend should now be available on http://localhost:9000/ and will use a backend running on http://localhost:8000/

You can specify another remote backend like so:

BACKEND_URL=https://api.coverage.moz.tools npm run start

Help

You can reach us on our Matrix instance: #codecoverage:mozilla.org