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

aas-core-works / aas-core-codegen / 33789666198
85%

Build:
DEFAULT BRANCH: main
Ran 03 Sep 2026 06:22PM UTC
Jobs 3
Files 268
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

03 Sep 2026 06:17PM UTC coverage: 84.643% (+0.02%) from 84.624%
33789666198

push

github

web-flow
Simplify XML de-serialization in TypeScript (#671)

We refactor the TypeScript XML de-serialization to modularize both
the generator code and the code it generates.

Class parsing used to be one function per concrete class which read
its own opening tag, parsed its properties, and consumed its own
closing tag. We split this into a sequence parser (properties only,
stopping -- without consuming -- at the closing tag) and a single
shared `consumeCloseTag` helper which every caller (single-property
dispatch, list items, root dispatch, interface dispatch) now calls
itself. This removes the per-class open-tag wrapper that previously
existed only to bundle that one check, and lets every caller reject
an element of the wrong type based on its opening tag alone.

List item parsing is unified behind one generic `parseList<T>`
function instead of duplicating the same while-loop for every list
property in the meta-model.

Every polymorphic dispatch function also gets a public
`{Interface}FromXmlString` entry point, mirroring the existing JSON
de-serialization API, so that it has a real caller even
when the interface happens not to be used as the type of any
property.

93 of 96 new or added lines in 2 files covered. (96.88%)

30883 of 36486 relevant lines covered (84.64%)

2.54 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
96.03
0.43% aas_core_codegen/typescript/lib/_generate_xmlization.py
Jobs
ID Job ID Ran Files Coverage
1 3.12 - 33789666198.1 03 Sep 2026 06:25PM UTC 268
84.64
GitHub Action Run
2 3.11 - 33789666198.2 03 Sep 2026 06:25PM UTC 268
84.64
GitHub Action Run
3 3.10 - 33789666198.3 03 Sep 2026 06:25PM UTC 268
84.64
GitHub Action Run
Source Files on build 33789666198
  • Tree
  • List 268
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a70bf3af on github
  • Prev Build on main (#33564203322)
  • Next Build on main (#33794539143)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc