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

kettle-rb / tree_haver / 20837809308
87%

Build:
DEFAULT BRANCH: main
Ran 09 Jan 2026 01:20AM UTC
Jobs 1
Files 28
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

09 Jan 2026 01:16AM UTC coverage: 91.896% (+0.02%) from 91.872%
20837809308

push

github

pboling
🔥 Remove defensive code, and unused specs

### Changed

- **TreeHaver::Node**: Removed defensive `respond_to?` checks from `has_error?` and `missing?` methods
  - All tree-sitter backends (MRI, Rust, FFI, Java) must implement these methods on their inner nodes
  - This enforces proper backend API compliance rather than silently masking missing implementations

### Fixed

- **FFI Backend**: Added explicit boolean conversion (`!!`) to `has_error?` return value
  - FFI `:bool` return type may behave inconsistently across Ruby versions and platforms
  - Ensures `has_error?` always returns `true` or `false`, not truthy/falsy values

803 of 954 branches covered (84.17%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

2032 of 2131 relevant lines covered (95.35%)

43.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 20837809308.1 09 Jan 2026 01:20AM UTC 28
91.9
GitHub Action Run
Source Files on build 20837809308
  • Tree
  • List 28
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 00086ed5 on github
  • Prev Build on main (#20835923197)
  • Next Build on main (#20838033969)
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