Class SourceFileCoverageCollector
java.lang.Object
org.ek9lang.cli.coverage.SourceFileCoverageCollector
- All Implemented Interfaces:
Supplier<Map<String, SourceFileInfo>>
public final class SourceFileCoverageCollector
extends Object
implements Supplier<Map<String, SourceFileInfo>>
Collects coverage data from CoverageRuntime and scans source files.
Produces a map of source file paths to their coverage information.
This class is a pure orchestrator - all work is delegated to focused helpers:
SourceFileScanner- discovers .ek9 files in the source directoryCoveredProbesSupplier- supplies covered probe dataUncoveredProbesSupplier- supplies uncovered probe dataProbeProcessor- processes probes into coverage mapsSourceFileInfoBuilder- builds the final result objects
-
Constructor Summary
ConstructorsConstructorDescriptionSourceFileCoverageCollector(Path sourceDirectory) Create a collector for the given source directory. -
Method Summary
-
Constructor Details
-
SourceFileCoverageCollector
Create a collector for the given source directory.- Parameters:
sourceDirectory- The root directory containing .ek9 source files
-
-
Method Details
-
get
- Specified by:
getin interfaceSupplier<Map<String, SourceFileInfo>>
-