magus v0.4.2 is out. See what's new
¶ View generated markdown

lcov

LCOV coverage reports: the percentage a badge or a floor gate shows, and the line-level merge that keeps it true across multiple test processes.

Naming convention: import the module under its bare name (import "lcov"), reach members with a backslash, and call methods in camelCase: lcov\someMethod.

Methods

percent

percent is the covered-line percentage across an lcov report, as a string

Signature: lcov\percent(lcov, keep) -> str

Parameter Type Optional Description
lcov any
keep any

Returns: any

mergePercent

mergePercent is percent over SEVERAL lcov reports of the same sources,

Signature: lcov\mergePercent(reports, keep) -> str

Parameter Type Optional Description
reports any
keep any

Returns: any

generatedreference/buzz/lcovmodulestdlibmagusfile
Last updated (4f8cc295)
Earlier changes on this page (2)

Full history ↗ · Blame source ↗

Glossary

Magusfile

The magusfile.buzz that declares a project's targets (as export funs) and binds its spells. See targets.

Op

A single tool-native command a target composes (long form: operation); the middle of the work hierarchy (Spell to Op to Target). See operations.

Module

A magus stdlib namespace a magusfile imports for host capabilities: filesystem, exec, vcs, and more. See the module reference.

Buzz

The language magusfiles are written in (the .buzz engine). See engines.

Conventions

This page uses none of the site's convention markers. The full set is on the conventions page.