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

eclipse-aascw / aas-core-codegen / 39674568622
90%

Build:
DEFAULT BRANCH: main
Ran 21 Oct 2026 09:04PM UTC
Jobs 3
Files 309
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 Oct 2026 08:55PM UTC coverage: 90.2% (+0.03%) from 90.174%
39674568622

push

github

web-flow
Transpile str.startswith and str.endswith (#860)

We transpile ``text.startswith(prefix)`` and ``text.endswith(suffix)``
to all the targets. Only the form with a single string argument is
supported; a tuple of prefixes and the ``start`` and ``end`` are
refused by the type inference.

The targets use the native ordinal comparisons, which equal Python's
comparison of the characters unless a prefix or a suffix has a lone
surrogate:

    text.StartsWith(prefix, System.StringComparison.Ordinal)  // C#
    strings.HasPrefix(text, prefix)                           // Go
    text.startsWith(prefix)                                   // Java, TS

C++11 has no ``starts_with``, so we generate ``common::StartsWith`` and
``common::EndsWith`` only if the meta-model calls them.

Along the way, we fix the Java optional inference which refused
a built-in method on a constrained primitive.

153 of 154 new or added lines in 17 files covered. (99.35%)

46315 of 51347 relevant lines covered (90.2%)

2.71 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
83.79
-0.02% aas_core_codegen/java/transpilation.py
Jobs
ID Job ID Ran Files Coverage
1 3.11 - 39674568622.1 21 Oct 2026 09:08PM UTC 309
90.2
GitHub Action Run
2 3.12 - 39674568622.2 21 Oct 2026 09:08PM UTC 309
90.2
GitHub Action Run
3 3.10 - 39674568622.3 21 Oct 2026 09:08PM UTC 309
90.2
GitHub Action Run
Source Files on build 39674568622
  • Tree
  • List 309
  • Changed 20
  • Source Changed 0
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • c0305233 on github
  • Prev Build on main (#39671736248)
  • Next Build on main (#39677161356)
  • Delete
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