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

node-opcua / node-opcua / 19226476409
91%

Build:
DEFAULT BRANCH: master
Ran 10 Nov 2025 09:44AM UTC
Jobs 1
Files 411
Run time 451min
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

10 Nov 2025 09:11AM UTC coverage: 90.746% (-0.005%) from 90.751%
19226476409

push

github

erossignon
feat(factory): improve DataTypeFactory and data type conversion

This commit introduces several improvements to the DataTypeFactory and
the data type conversion process.

- Add a new test file for `convertDataTypeDefinitionToStructureTypeSchema`
  to cover more scenarios, including enumerations and structures.
- Introduce a new XML fixture `datatype_enum2.xml` for testing.
- Enhance `convertDataTypeDefinitionToStructureTypeSchema` to correctly
  handle enumeration values, prevent re-entrant calls, and use
  `DataTypeIds` constants for better readability and maintainability.
- Improve error logging in `populate_data_type_manager_104.ts` to
  provide more context during data type processing.
- Modify `DataTypeFactory` to throw an error when attempting to
  register an enumeration that has already been registered, ensuring
  data integrity and preventing unexpected behavior.

11103 of 14112 branches covered (78.68%)

26 of 29 new or added lines in 3 files covered. (89.66%)

4 existing lines in 3 files now uncovered.

30174 of 33251 relevant lines covered (90.75%)

369139.01 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
93.6
0.08% packages/node-opcua-client-dynamic-extension-object/source/convert_data_type_definition_to_structuretype_schema.ts
1
93.59
0.0% packages/node-opcua-client-dynamic-extension-object/source/private/populate_data_type_manager_104.ts
1
72.97
-0.68% packages/node-opcua-factory/source/datatype_factory.ts

Uncovered Existing Lines

Lines Coverage ∆ File
1
93.6
0.08% packages/node-opcua-client-dynamic-extension-object/source/convert_data_type_definition_to_structuretype_schema.ts
1
86.85
-0.15% packages/node-opcua-client/source/private/client_base_impl.ts
2
81.36
0.0% packages/node-opcua-server/source/register_server_manager.ts
Jobs
ID Job ID Ran Files Coverage
1 19226476409.1 10 Nov 2025 09:44AM UTC 411
90.75
GitHub Action Run
Source Files on build 19226476409
  • Tree
  • List 411
  • Changed 5
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #19226476409
  • ee706a01 on github
  • Prev Build on master (#19072134131)
  • Next Build on master (#19229127195)
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