Writes one HTML file with the dashboard of recorded runs. Pages:
- Overview - the verdict against each gate rule, counts, survivors with the new ones (not survivors in the run before) first, kill kinds, new ignores, triage claims and trends of the score, mutants, wall time and reuse over the history;
- Code map - files and their functions coloured by the share of survivors, core marked;
- Mutants - filter by status, operator, file or function; the source with a margin marker per mutant; click one for its diff, status, kill kind, tests and killer;
- Tests - tests that ran but never kill, and slow killers;
- Performance - phase clocks (this run and over the history), per-mutant percentiles by test selection, fallbacks, workers, recycles and reuse.
Every figure comes from the recorded runs and history: measured by the run, or, for
reused results and earlier runs, as recorded, and labelled so. Styles, script and data
are inline and a Content Security Policy forbids network requests, so the file can be
opened anywhere or attached to a build. Light and dark themes follow the viewer's
setting (or the toggle). Open a mutant directly with index.html#inspector/<hash>.
Prints the path written.
mix juggernaut.report [--run RUN] [--limit N] [--output PATH]Options
--run RUN- The run shown first. Default:latest.--limit N- Runs that feed the trends. Default:50.--output PATH- Where to write the page (default_build/juggernaut/report/index.html).
Exit codes
- 0 - written
- 2 - unknown run, invalid
.juggernaut.exs, or another usage error - 3 - the page could not be written