• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kettle-rb / ast-merge / 20649563244
94%

Build:
DEFAULT BRANCH: main
Ran 02 Jan 2026 02:37AM UTC
Jobs 1
Files 48
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Jan 2026 02:35AM UTC coverage: 95.133% (-0.2%) from 95.315%
20649563244

push

github

pboling
✨ `Ast::Merge::NodeWrapperBase` abstract base class for format-specific node wrappers

- Provides common functionality shared by `*::Merge::NodeWrapper` classes across gems
- Handles source context (lines, source string), line info, comments, content extraction
- Defines abstract `#compute_signature` that subclasses must implement
- Includes `#node_wrapper?` to distinguish from `NodeTyping::Wrapper`
- Includes `#underlying_node` to access the raw TreeHaver node (NOT `#unwrap` to avoid
    conflict with `NodeTyping::Wrapper#unwrap` semantics in `FileAnalyzable`)
- Documents relationship between `NodeWrapperBase` and `NodeTyping::Wrapper`:
- `NodeWrapperBase`: Format-specific functionality (line info, signatures, type predicates)
- `NodeTyping::Wrapper`: Custom merge classification (`merge_type` attribute)
- Nodes can be double-wrapped: `NodeTyping::Wrapper(Format::Merge::NodeWrapper(tree_sitter_node))`
- Accepts `**options` in initialize for subclass-specific parameters (e.g., `backend`, `document_root`)

882 of 983 branches covered (89.73%)

Branch coverage included in aggregate %.

70 of 78 new or added lines in 3 files covered. (89.74%)

2636 of 2715 relevant lines covered (97.09%)

30.39 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
87.64
lib/ast/merge/node_wrapper_base.rb
Jobs
ID Job ID Ran Files Coverage
1 20649563244.1 02 Jan 2026 02:37AM UTC 48
95.13
GitHub Action Run
Source Files on build 20649563244
  • Tree
  • List 48
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 36c8d583 on github
  • Prev Build on main (#20647521772)
  • Next Build on main (#20649584255)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc