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

freeeve / tinykvs / 21083691545
73%

Build:
DEFAULT BRANCH: main
Ran 16 Jan 2026 11:13PM UTC
Jobs 1
Files 19
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

16 Jan 2026 11:05PM UTC coverage: 62.888% (-20.1%) from 83.01%
21083691545

push

github

freeeve
feat: interactive shell, aggregations, and batch operations

Interactive Shell:
- SQL-like query language (SELECT, WHERE, ORDER BY, LIMIT)
- Aggregation functions: COUNT, SUM, AVG, MIN, MAX
- Support for nested field access (e.g., payment.amount)
- Tab completion and history

Batch Operations:
- WriteBatch for atomic multi-key writes
- PutIfNotExists (insert only if key doesnt exist)
- PutIfEquals (compare-and-swap)
- Increment (atomic counter updates)
- DeleteRange and DeletePrefix

Code Organization:
- Split store.go into batch.go, query.go, convenience.go
- Split store_test.go into focused test files
- Applied gofmt -s simplifications

API Additions:
- Store.Count, Sum, Avg, Min, Max, Aggregate methods
- Programmatic access to aggregation queries
- Batch.PutMap, PutStruct, PutJson helpers

Performance:
- Direct msgpack serialization for maps (2.5x faster PutMap)
- Reduced allocations in struct serialization

1203 of 2008 new or added lines in 9 files covered. (59.91%)

4294 of 6828 relevant lines covered (62.89%)

453042.62 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
20
2.43
cmd/tinykvs/main.go
27
67.38
-4.76% store.go
28
88.24
-7.45% types.go
53
64.19
query.go
58
69.79
batch.go
143
84.8
cmd/tinykvs/shell.go
180
34.55
convenience.go
296
55.03
-36.28% reader.go
Jobs
ID Job ID Ran Files Coverage
1 21083691545.1 16 Jan 2026 11:13PM UTC 19
62.89
GitHub Action Run
Source Files on build 21083691545
  • Tree
  • List 19
  • Changed 5
  • Source Changed 3
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21083691545
  • bad4d385 on github
  • Prev Build on main (#21075509323)
  • Next Build on main (#21086972011)
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