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

freeeve / tinykvs / 21184992773
81%

Build:
DEFAULT BRANCH: main
Ran 20 Jan 2026 07:50PM UTC
Jobs 1
Files 27
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

20 Jan 2026 07:46PM UTC coverage: 70.89% (+0.1%) from 70.771%
21184992773

push

github

freeeve
refactor(shell): reduce cognitive complexity in SQL handlers

Extract helper functions from high-complexity functions:
- shell_csv.go: importCSV split into detectCSVFormat, parseFieldSpecs,
  importCSVRecords, parseCSVRecord, and format-specific parsers
- shell_sql.go: extractValueForLike split into extractSQLValForLike,
  extractStrValForLike, tryDecodeHexMarkerPattern, tryDecodeHexPrefixPattern
- shell_write.go: handleInsert split into insertRow, storeInsertValue,
  tryStoreMsgpack, tryStoreJSON, storeRawValue
- shell_select.go: parseWhere split into parseComparisonExpr, isKeyColumn,
  parseKeyFilter, parseKeyLikeFilter, parseValueFieldFilter, resolveFieldName,
  parseRangeCond

176 of 237 new or added lines in 4 files covered. (74.26%)

5645 of 7963 relevant lines covered (70.89%)

404213.27 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
93.43
0.77% cmd/tinykvs/shell_write.go
7
83.2
-0.45% cmd/tinykvs/shell_csv.go
25
73.36
-1.35% cmd/tinykvs/shell_sql.go
26
69.35
-0.05% cmd/tinykvs/shell_select.go
Jobs
ID Job ID Ran Files Coverage
1 21184992773.1 20 Jan 2026 07:50PM UTC 27
70.89
GitHub Action Run
Source Files on build 21184992773
  • Tree
  • List 27
  • Changed 5
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #21184992773
  • bce4df69 on github
  • Prev Build on main (#21183767788)
  • Next Build on main (#21185614423)
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