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

eclipse-aascw / aas-core-codegen
90%

Build:
DEFAULT BRANCH: main
Repo Added 08 Sep 2026 12:32PM UTC
Token 6OEr7MwyCApRy9pVaul2mNkdHJbxMzUly regen
Build 336 Last
Files 309
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

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • Add-roots-to-named-unions
  • Import-List-in-Java-verification
  • Skip-parse-loop-of-classes-without-properties-in-TypeScript
  • Test-nested-any-in-all
  • Transpile-isinstance
  • Transpile-modulo-negation-and-abs
  • add-float-only-fixture
  • compose-cpp-json-deserialization
  • compose-cpp-json-serialization
  • compose-cpp-xml-deserialization
  • compose-cpp-xml-serialization
  • cpp-fix-clang-debug-builds
  • main
  • mristin/Accept-an-integral-JSON-number-as-a-float-in-Python
  • mristin/Add-CLAUDE.md
  • mristin/Add-XSD-edge-case-fixtures-for-the-primitive-types
  • mristin/Add-fast-checks-for-live-tests
  • mristin/Add-missing-unserializable-assert-test-data
  • mristin/Add-visibility-to-functions-and-methods
  • mristin/Align-cpp-description-of-xml-nodes
  • mristin/Allow-Final-on-local-variables
  • mristin/Allow-collections-in-returns
  • mristin/Allow-functions-without-arguments
  • mristin/Allow-importing-constant-markers
  • mristin/Allow-length-as-switch-subject
  • mristin/Avoid-naming-collisions-in-cpp-verification
  • mristin/Avoid-pessimizing-move-in-cpp-xmlization-tests
  • mristin/Carry-the-literal-text-on-the-Java-enum
  • mristin/Check-the-argument-of-len-and-support-tuples
  • mristin/Check-the-membership-in-a-JSON-able-object
  • mristin/Collapse-whitespace-per-XSD-in-the-XML
  • mristin/Compare-JSON-names-in-union-dispatch-check
  • mristin/Compose-Go-JSON-de-serialization
  • mristin/Compose-Go-JSON-serialization
  • mristin/Compose-Go-XML-de-serialization
  • mristin/Compose-Go-XML-serialization
  • mristin/Compose-Java-JSON-de-serialization
  • mristin/Compose-Java-JSON-serialization
  • mristin/Compose-Java-XML-serialization
  • mristin/Compose-Python-JSON-de-serialization
  • mristin/Compose-Python-JSON-serialization
  • mristin/Compose-the-C++-descent
  • mristin/Compose-the-CSharp-deep-copy
  • mristin/Compose-the-Go-enhancing
  • mristin/Compose-the-Java-descent
  • mristin/Compose-the-Python-XML-deserialization
  • mristin/Compose-the-Python-XML-serialization
  • mristin/Compose-the-TypeScript-JSON-de-serialization
  • mristin/Compose-the-TypeScript-JSON-serialization
  • mristin/Compose-the-TypeScript-XML-de-serialization
  • mristin/Compose-the-TypeScript-XML-serialization
  • mristin/Compose-the-TypeScript-descent
  • mristin/Compose-the-TypeScript-verification
  • mristin/Compose-the-cpp-enhancing
  • mristin/Compose-the-csharp-descent
  • mristin/Compose-the-csharp-enhancing
  • mristin/Compose-the-csharp-verification
  • mristin/Compose-the-golang-verification
  • mristin/Compose-the-java-verification
  • mristin/Copy-read-only-sets-in-Python-set-ops
  • mristin/Count-code-points-in-len-slicing-and-find
  • mristin/De-compose-XML-de-serialization-in-Java
  • mristin/Declare-integer-locals-as-64-bit
  • mristin/Declare-mutability-of-verification-params
  • mristin/Decompose-csharp-json-deserialization
  • mristin/Decompose-csharp-json-serialization
  • mristin/Decompose-csharp-xml-serialization
  • mristin/Decompose-csharp-xmlization-property-reading
  • mristin/Drop-the-implementation-specific-classes
  • mristin/Emit-the-JSON-able-using-in-the-csharp-verification
  • mristin/Enforce-Final-on-global-constants
  • mristin/Expect-csharp-property-names-in-JSON-tests
  • mristin/Explain-reads-from-previous-loop-iterations
  • mristin/Extend-the-common-meta-model-for-tuples-with-an-optional-tuple
  • mristin/Fix-Java-enhancing-lambda-collision
  • mristin/Fix-constructor-headers-without-arguments
  • mristin/Fix-empty-tag-regex-in-Go-XML-tests
  • mristin/Fix-line-breaks-of-returns-in-TypeScript
  • mristin/Fix-module-of-ts-verification-return-types
  • mristin/Fix-mypy-narrowing-of-index-target
  • mristin/Fix-optional-arguments-and-locals
  • mristin/Fix-signatures-of-methods-with-two-arguments
  • mristin/Fix-the-DeserializeException-in-the-generated-Java-tests
  • mristin/Fix-the-XSD-lexical-forms-in-the-CSharp-XML
  • mristin/Fix-the-XSD-lexical-forms-in-the-Java-XML
  • mristin/Fix-the-XSD-lexical-forms-in-the-Python-XML
  • mristin/Fix-the-XSD-lexical-forms-in-the-TypeScript-XML
  • mristin/Fix-the-double-precision-in-the-C++-XML
  • mristin/Fix-the-type-monikers-in-CSharp-and-Golang
  • mristin/Handle-null-from-JsonValue-Create-in-csharp
  • mristin/Handle-variable-long-indices-in-csharp-and-java
  • mristin/Index-into-and-compute-the-length-of-a-JSON-able-object-or-array
  • mristin/Index-the-Java-XML-writers-by-kind
  • mristin/Index-the-TypeScript-enum-tables
  • mristin/Inline-single-use-functions-in-the-Java-generator
  • mristin/Introduce-built-in-function-kinds
  • mristin/Iterate-cpp-lazily-with-iterator-combinators
  • mristin/Key-model-cache-on-translation-code
  • mristin/Make-generated-code-AAS-agnostic
  • mristin/Move-uses-checks-to-intermediate-uses
  • mristin/Name-the-Java-XML-writers-without-a-kind-enum
  • mristin/Narrow-in-if-statements
  • mristin/Nest-containers
  • mristin/Parse-lone-if-as-if-statement
  • mristin/Polyfill-the-cpp-variant-for-cpp11
  • mristin/Refuse-a-malformed-base64-uniformly-in-the-XML
  • mristin/Reject-duplicate-properties-in-the-XML
  • mristin/Reject-non-finite-floats-in-the-C++-JSON
  • mristin/Reject-non-finite-floats-in-the-CSharp-JSON
  • mristin/Reject-non-finite-floats-in-the-Go-JSON
  • mristin/Reject-non-finite-floats-in-the-Java-JSON
  • mristin/Reject-non-finite-floats-in-the-Python-JSON
  • mristin/Reject-non-finite-floats-in-the-TypeScript-JSON
  • mristin/Release-0.0.27rc1
  • mristin/Release-0.0.27rc2
  • mristin/Remove-dates-in-NOTE-comments
  • mristin/Remove-unrolling
  • mristin/Report-the-XML-serialization-error-path
  • mristin/Round-out-of-range-doubles-per-XSD-in-the-XML
  • mristin/Simplify-JSON-and-XML-serialization
  • mristin/Simplify-de-serialization
  • mristin/Simplify-the-infallible-cpp-generators
  • mristin/Smoke-test-all-generators
  • mristin/State-the-type-instead-of-contracting-it
  • mristin/Support-meth-role-in-descriptions
  • mristin/Support-named-unions
  • mristin/Support-set-properties
  • mristin/Support-the-implementation-specific-in-cpp
  • mristin/Support-tuples
  • mristin/Support-value-only
  • mristin/Track-test-data-of-Instance-in-naming-collisions
  • mristin/Transpile-annotated-assignments
  • mristin/Transpile-assert-statements
  • mristin/Transpile-break-in-for-statements
  • mristin/Transpile-continue-in-for-statements
  • mristin/Transpile-equality-if-chains-as-switches
  • mristin/Transpile-for-statements
  • mristin/Transpile-if-statements
  • mristin/Transpile-local-sets-of-primitives
  • mristin/Transpile-member-and-index-assignment-targets
  • mristin/Transpile-methods
  • mristin/Transpile-string-slicing-and-find
  • mristin/Type-the-runtime-IDs
  • mristin/Unwrap-narrowed-nullables-in-cs-tuples
  • mristin/Verify-cpp-lazily-with-iterator-combinators
  • mristin/Wrap-an-optional-list-of-non-instances-in-cpp
  • mristin/clean-up-comments-and-implement-noted-tests
  • mristin/compose-golang-descent
  • mristin/compose-golang-test-deep-equal
  • mristin/compose-java-deep-copy
  • mristin/compose-java-enhancing
  • mristin/compose-java-test-copying
  • mristin/compose-python-descent
  • mristin/compose-python-verification
  • mristin/transpile-int-and-lstrip
  • mristin/upgrade-pip-in-python-live-test
  • prepend-path-segments-in-constant-time
  • remove-textwrap-dedent
  • simplify-csharp-jsonization-modeltype
  • support-func-role-in-docs
  • v0.0.27rc1
  • v0.0.27rc2

03 Oct 2026 11:21PM UTC coverage: 90.139% (+0.004%) from 90.135%
37161529322

push

github

web-flow
Fix constructor headers without arguments (#839)

The Python, C# and TypeScript constructors checked for no arguments and
for one argument in two separate ``if``'s, so a constructor without
arguments got two headers. For example, Python rendered both
``def __init__(self) -> None:`` and ``def __init__(\n self\n) -> None:``
when the constructor only called the parent constructor. We now use
``elif len(arg_codes) == 1:``.

In C# and TypeScript the branch is not reachable at the moment, as
the constructors without arguments have no inlined statements, and are
not generated at all. We fix them nevertheless for consistency.

We test it with ``Plain_marker``, which only calls ``Marker.__init__``,
in the ``deep_class_hierarchy`` meta-model, and add its JSON and XML
examples for the live tests.

3 of 3 new or added lines in 3 files covered. (100.0%)

45257 of 50208 relevant lines covered (90.14%)

2.7 hits per line

Relevant lines Covered
Build:
Build:
50208 RELEVANT LINES 45257 COVERED LINES
2.7 HITS PER LINE
Source Files on main
  • Tree
  • List 309
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
37161529322 main Fix constructor headers without arguments (#839) The Python, C# and TypeScript constructors checked for no arguments and for one argument in two separate ``if``'s, so a constructor without arguments got two headers. For example, Python rendered b... push 03 Oct 2026 11:32PM UTC web-flow github
90.14
37160735322 mristin/Fix-constructor-headers-without-arguments Merge 045158a81 into 4337abbac Pull #839 03 Oct 2026 11:16PM UTC web-flow github
90.14
37159573389 main Fix module of TS verification return types (#838) The TypeScript verification functions referred to the types module as ``our_types`` in their return type, though the module is imported as ``OurTypes``. Hence a function returning an enumeration o... push 03 Oct 2026 10:56PM UTC web-flow github
90.14
37158802754 mristin/Fix-module-of-ts-verification-return-types Merge 3a6b0428e into 4eee7cd2e Pull #838 03 Oct 2026 10:44PM UTC web-flow github
90.14
37157964990 main Unwrap narrowed nullables in C# tuples (#837) A narrowed optional value type stays nullable in C#, so a tuple literal such as ``(x, y)`` with ``y`` declared as ``long?`` could not be assigned to a ``(string, long)``. We now unwrap the narrowed nu... push 03 Oct 2026 10:29PM UTC web-flow github
90.14
37157174829 mristin/Unwrap-narrowed-nullables-in-cs-tuples Merge 1f03177aa into 641bbe92d Pull #837 03 Oct 2026 10:15PM UTC web-flow github
90.14
37156716774 main Allow functions without arguments (#836) The parser rejected all the functions without arguments, though a verification function can operate on constants alone, as in: @verification def seven_is_lucky() -> bool: return 7 in Lucky... push 03 Oct 2026 10:06PM UTC web-flow github
90.14
37155591089 mristin/Allow-functions-without-arguments Merge 62365d91d into b69721b3a Pull #836 03 Oct 2026 09:41PM UTC web-flow github
90.14
37155041392 main Fix signatures of methods with two arguments (#835) The C#, Java and TypeScript interfaces rendered the public methods with more than two arguments on multiple lines, with exactly one on a single line, and otherwise asserted that there were no ar... push 03 Oct 2026 09:32PM UTC web-flow github
90.12
37153715928 mristin/Fix-signatures-of-methods-with-two-arguments Merge 955160b6c into cfcf99839 Pull #835 03 Oct 2026 09:10PM UTC web-flow github
90.12
See All Builds (336)

Badge your Repo: aas-core-codegen

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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