The Firefox code coverage diff viewer allows determining code coverage changes for added lines per changeset.
Перейти к файлу
Mozilla-GitHub-Standards eba7170a5b Add Mozilla Code of Conduct (#263)
* Add Mozilla Code of Conduct file

Fixes #262.

_(Message COC002)_

* Update CODE_OF_CONDUCT.md
2019-03-30 15:57:15 +01:00
src Fix development set up issue 2019-01-15 11:23:07 -05:00
test Remove arrayToMap 2018-06-08 14:33:05 -04:00
.babelrc chore: Add bable-cli and babel-preset-flow as dev dependencies 2017-09-13 15:40:58 -04:00
.eslintrc.js Issue #98 - Switch from react-scripts to Neutrino (#109) 2018-02-09 08:37:49 -05:00
.flowconfig chore: Add Flow's statistical analysis 2017-09-14 13:34:37 -04:00
.gitignore Bootstrap project with Neutrino 2017-08-02 16:21:29 -04:00
.neutrinorc.js Replace the pixelated GitHub ribbon with a nicer CSS version. 2018-04-19 18:19:07 +02:00
.travis.yml Few Travis CI changes 2019-01-02 09:57:42 -05:00
CODE_OF_CONDUCT.md Add Mozilla Code of Conduct (#263) 2019-03-30 15:57:15 +01:00
CONTRIBUTING.md Update CONTRIBUTING.md (#234) 2018-10-05 11:39:22 +02:00
LICENSE Initial commit 2017-07-19 12:44:33 -04:00
README.md Specify that coverage data comes from Windows too (#235) 2018-10-08 11:18:10 +02:00
app.json Issue #98 - Switch from react-scripts to Neutrino (#109) 2018-02-09 08:37:49 -05:00
package.json chore(deps): update dependency lint-staged to v7.3.0 2018-09-20 08:40:01 -04:00
renovate.json Add renovate.json 2018-07-24 15:54:48 +02:00
static.json Changes to allow deployments via Heroku 2017-09-05 14:22:44 -04:00
yarn.lock Upgrade all dependencies 2019-01-02 11:11:50 -05:00

README.md

Firefox code coverage diff viewer

This project is the code coverage changeset viewer for Firefox. You can view the frontend running in here.

To understand the big picture of code coverage at Mozilla read this blog post.

The app will show recent changesets from mozilla-central that have code coverage (pending changesets will be automatically be fetched). From there you can navigate to the diff of each changeset and see the code coverage for added lines. It is very important to reiterate that it is code coverage for added lines and not for a specific file (as most code coverage viewers focus on).

The data used in this UI is based on data submitted to codecov.io.

Planning and views

This is document tracks the original plans while these track grid view of plans and long term plans. You view all coverage collection work tracked in here. You can preview this app here while over here we track files without any coverage.

Disclaimers

  • Linux 64-bit and Windows 64-bit only.
    • partial debug build type: some flags are disabled
    • debug only tests are run
  • A few tests are disabled on coverage builds due to high failures
  • We ignore C++ files generated from IDL, IPDL, WebIDL
  • Coverage collections are for .c*, .h*, and .js* files
    • However, not all of these are covered (either no coverage or zero coverage)
    • Some of these are because we don't cover all platforms
  • Intermittent failures during testing cause different code paths to be hit (such as crash reporting)
  • Broken builds/failures might prevent us from running a test, set of tests, or a few jobs, coverage could be abnormally low

Filing issues

You can file frontend issues in Firefox code coverage frontend. For backend issues file them in releng-services with the 4.app: shipit_code_coverage label.

Requirements

Set up

Checkout the code and run:

yarn install
yarn start

Attribution

Icons from Material Design Icons.