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

fildesh / fildesh / 22845161273 / 1
96%
trunk: 96%

Build:
Build:
LAST BUILD BRANCH: sxpb
DEFAULT BRANCH: trunk
Ran 09 Mar 2026 08:44AM UTC
Files 205
Run time 5s
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 Mar 2026 08:40AM UTC coverage: 95.72% (+0.006%) from 95.714%
22845161273.1

push

github

gendeux
Refactor build_node_X functions to add_node_XXX using depth prefixes

In `test/sxproto/content/*.c`, the helper functions used to construct nested
FildeshSxpb structures were arbitrarily named `build_node_1`, `build_node_2`, etc.

This commit refactors these files to provide better semantics based on the user request:
- All helper functions are renamed to `add_node_XXX` matching the hierarchical depth
  structure of the data they construct using a fixed-width prefix based numbering.
- Root-level entries in the message get `add_node_000` (`add_node_000000` for
  `manyof.c`) and their nested children sequentially increase their parent's value
  at the next digit based on their nesting depth index (`100`, `200`, etc., then `110`,
  `120`, etc.).
- The number of digits used was kept to 3 for standard files to simplify reading,
  while `manyof.c` uses 6 to correctly support its larger testing depth.
- The entrypoints remain calling `add_node_000` rather than inlining it.

These changes are purely structural to the tests and do not affect behavior. All
tests continue to pass.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>

11047 of 11541 relevant lines covered (95.72%)

218364.35 hits per line

Source Files on job 22845161273.1
  • Tree
  • List 205
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22845161273
  • 0d637de0 on github
  • Prev Job for on refactor-sxpb-test-node-names-10195046335741737348 (#22844540186.1)
  • Delete
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