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

SAP / ui5-builder / 1898
95%
main: 95%

Build:
Build:
LAST BUILD BRANCH: v4
DEFAULT BRANCH: main
Ran 30 Sep 2019 04:14PM UTC
Jobs 1
Files 78
Run time 5s
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

pending completion
1898

push

travis-ci

web-flow
[FIX] Improve recognition of main module in case of bundles (#341)

This is a port of several changes from the Java bundle tooling, which have been made after the initial migration of the tooling. Additionally, code coverage has been slightly improved by adding further unit and integration tests. Errors that have been revealed by the new tests have been fixed, too.

Details about the migrated changes:

----
Change 3312369 (improve recognition of main module in case of bundles):

So far, the module analyzer always assumed the first module definition to be the main definition. This failed at least for CVOM bundles but might also fail for others.

The analysis has been improved and now accepts a module as main module only in the following cases:
- if it is an unnamed module
- if it is a named module whose name matches the external name
- if it is a named module and there's only one module (no bundle)

If multiple module definitions match the above criteria, this is
reported as an error.

Additionally, AMD special dependencies ('require', 'exports', 'module') are no longer reported in the dependency info.

----
Change 3945349 (JSModuleAnalyzer fails on modules that don't declare a name)

Basically, the JavaScript implementation was less sensitive to this issue. But if a resource could have a dependency to another resource named "null", the JavaScript tooling would fail, too. Although this looked like a purely theoretical scenario, adding a protective 'if' was trivial enough to just do it. 

----
Change 3562114 (fix dep. analysis of new evo bundles)

- recognize and evaluate sap.ui.require.preload calls
- write and extract bundle name and raw module names

1487 of 1781 branches covered (83.49%)

Branch coverage included in aggregate %.

76 of 89 new or added lines in 5 files covered. (85.39%)

3041 of 3303 relevant lines covered (92.07%)

39.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1898.1 30 Sep 2019 04:14PM UTC 0
89.06
Travis Job 1898.1
Source Files on build 1898
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1898
  • 7a560b4b on github
  • Prev Build on master (#1889)
  • Next Build on master (#1903)
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

© 2025 Coveralls, Inc