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

xu-chris / toon_ex / c30cee1377182339783e60d9ac5fffe57bc31592
68%

Build:
DEFAULT BRANCH: main
Ran 21 Jan 2026 07:57AM 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

21 Jan 2026 07:57AM UTC coverage: 67.867% (+12.9%) from 54.957%
c30cee1377182339783e60d9ac5fffe57bc31592

push

github

web-flow
feat: Upgrade to TOON Specs v3.0.1 with code quality improvements

Encoder refactoring:
- Refactor arrays.ex with pattern-matched clauses for composability
- Refactor objects.ex with pattern-matched encode_regular_entry/encode_folded_value
- Rename predicates to follow Elixir conventions (tabular_array?, list_array?)
- Extract reusable helpers (apply_marker, build_*_line functions)

Decoder refactoring:
- Remove Process dictionary anti-pattern from structural_parser.ex
- Thread metadata explicitly through all parsing functions
- Add key_was_quoted? and add_key_to_metadata helpers
- Clean up parser.ex by removing Process.put/get calls

265 of 418 new or added lines in 6 files covered. (63.4%)

5 existing lines in 2 files now uncovered.

716 of 1055 relevant lines covered (67.87%)

18.9 hits per line

Uncovered Changes

Lines Coverage ∆ File
90
58.46
3.36% lib/toon/decode/structural_parser.ex
49
58.91
26.07% lib/toon/encode/arrays.ex
6
93.75
18.14% lib/toon/encode/objects.ex
4
82.69
28.15% lib/toon/decode/decode.ex
3
72.73
-10.61% lib/toon/decode/parser.ex
1
78.26
-0.5% lib/toon/encode/encode.ex

Coverage Regressions

Lines Coverage ∆ File
4
58.46
3.36% lib/toon/decode/structural_parser.ex
1
58.91
26.07% lib/toon/encode/arrays.ex
Jobs
ID Job ID Ran Files Coverage
1 c30cee1377182339783e60d9ac5fffe57bc31592.1 21 Jan 2026 07:57AM UTC 19
67.87
GitHub Action Run
Source Files on build c30cee1377182339783e60d9ac5fffe57bc31592
  • Tree
  • List 19
  • Changed 13
  • Source Changed 0
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c30cee13 on github
  • Prev Build on main (#0D6DFA77...)
  • Next Build on main (#039BD557...)
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