Module: SimpleCov::StaticCoverageExtractor::LocationConventions
- Included in:
- Visitor
- Defined in:
- lib/simplecov/static_coverage_extractor/location_conventions.rb
Overview
The source ranges Ruby's Coverage assigns to branch conditions and arms, resolved from Prism nodes. Simulated entries only ever merge with real entries produced by the running Ruby, and CRuby 3.4 changed several of these conventions, so every resolver here emits whichever shape this Ruby's Coverage uses. See issue #1226.
Defined Under Namespace
Classes: PointLocation
Constant Summary collapse
- LEGACY_COVERAGE_LOCATIONS =
Gem::Version.new(RUBY_VERSION) < Gem::Version.new("3.4")