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

ossuminc / riddl / 22154082185
64%
main: 64%

Build:
Build:
LAST BUILD BRANCH: development
DEFAULT BRANCH: main
Ran 18 Feb 2026 07:20PM UTC
Jobs 1
Files 111
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

18 Feb 2026 07:16PM UTC coverage: 64.43%. First build
22154082185

push

respencer-ncl
Fix prettify to retain multi-file include/import structure

Previously, `riddlc prettify` always produced a single flattened file
regardless of --single-file flag. Root causes: singleFile defaulted to
true, PrettifyPass.Options lacked outputDir/topFile, PrettifyState used
dead "nada" paths, BASTImport was invisible to HierarchyPass, and the
include directive had a missing closing quote.

Changes:
- Default singleFile to false (multi-file is the norm)
- Add topFile/outputDir to PrettifyPass.Options, wire from command
- Fix PrettifyState URL normalization for absolute output paths
- Add BASTImport handling to HierarchyPass, PassVisitor, VisitingPass
- Fix include quote bug in PrettifyVisitor
- Fix writeOutput to use output dir consistently with TRUNCATE_EXISTING
- Add regression tests for include structure preservation and flattening

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

15 of 42 new or added lines in 5 files covered. (35.71%)

6501 of 10090 relevant lines covered (64.43%)

0.64 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
69.35
1.02% commands/shared/src/main/scala/com/ossuminc/riddl/commands/PrettifyCommand.scala
2
45.45
7.95% passes/shared/src/main/scala/com/ossuminc/riddl/passes/prettify/PrettifyPass.scala
3
76.0
-4.0% passes/shared/src/main/scala/com/ossuminc/riddl/passes/prettify/PrettifyState.scala
7
67.99
0.57% passes/shared/src/main/scala/com/ossuminc/riddl/passes/prettify/PrettifyVisitor.scala
13
76.69
-4.47% passes/shared/src/main/scala/com/ossuminc/riddl/passes/Pass.scala
Jobs
ID Job ID Ran Files Coverage
1 22154082185.1 18 Feb 2026 07:20PM UTC 111
64.43
Source Files on build 22154082185
  • Tree
  • List 111
  • Changed 35
  • Source Changed 5
  • Coverage Changed 35
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 09da84bb on github
  • Prev Build on development (#22148168634)
  • Next Build on development (#22155496632)
  • 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