classCoverageSets
final class CoverageSets
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.
Maintains idempotent production sets and computes named measurements.
Type Aliases§
Measurement = array{reachedIds: list<string>, emittedIds: list<string>, notReachedIds: list<string>, notEmittedIds: list<string>, reached: int, emitted: int, total: int, reachedRate: float, emittedRate: float}Properties§
public array<string, true> $reached = []public array<string, true> $emitted = []Methods§
public function include(self $other): voidUnions history without copying counters or traces.
Parameters
$other | self |
Test cases 1
public function measurement(list<string> $denominator): MeasurementComputes rates against the root's full production inventory.
Parameters
$denominator | list<string> |
Returns
Test cases 3
Called from 1
Test cases 10§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 3
Other tests reaching this symbol 7
ByteChoicesTestcallsCoverageSnapshotStoreTestcallsGrammarCoverageInventoryTestcallsGrammarCoverageTestcallsSnapshotValidationTestcallsDerivationNodeTestcallsSqlGeneratorTestcalls
Relations§
Instantiated in 4
- new SqlFaker\Generation\Coverage\GrammarCoverage::__construct() packages/sql-faker/src/Generation/Coverage/GrammarCoverage.php:56
- new SqlFaker\Generation\Coverage\GrammarCoverage::__construct() packages/sql-faker/src/Generation/Coverage/GrammarCoverage.php:57
- new SqlFaker\Generation\Coverage\GrammarCoverage::register() packages/sql-faker/src/Generation/Coverage/GrammarCoverage.php:90
- new SqlFaker\Generation\Coverage\GrammarCoverage::reset() packages/sql-faker/src/Generation/Coverage/GrammarCoverage.php:314