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

bigeasy / splice / 9 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 04 Jan 2014 03:57AM UTC
Files 1
Run time –
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

04 Jan 2014 03:55AM UTC coverage: 100.0%. Remained the same
9.1

push

travis-ci

bigeasy
Recalculating the insert index after delete.

Now recalculating the insert index after deleting the record. If the
record is the first record in the leaf page, it's index is zero. After
it is deleted it's index will be one. Inserting in the zero index of a
leaf page that is not the left most leaf page raises an error. The zero
index record is only ever supposed to be changed by a balance operation,
it is the key for the leaf page and it is used in the branch pages to
find the leaf page.

The zero index record is never actually deleted, it is marked as a
ghost. Thus, when we delete then insert the record at the zero index we
actually mark the record at the zero index as a ghost, then insert an
unghosted record after it.

The correct behavior is implemented by requesting the index for the
insert using `indexOf` after the delete, to ask again having deleted
from the page.

Closes #12.

43 of 43 relevant lines covered (100.0%)

3.7 hits per line

Source Files on job 9.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 9
  • Travis Job 9.1
  • 3d282fc0 on github
  • Prev Job for on master (#8.1)
  • Next Job for on master (#10.1)
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