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

eclipsesource / jsonforms / 10852566272
83%

Build:
DEFAULT BRANCH: master
Ran 13 Sep 2024 04:22PM UTC
Jobs 1
Files 783
Run time 2min
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

13 Sep 2024 04:16PM UTC coverage: 81.733% (-1.6%) from 83.285%
10852566272

push

github

web-flow
fix(translations): memoize array translation (#2358)

This commit addresses an issue where array translations were created as new objects within the core module on each render cycle, causing unnecessary rerenders. By memoizing the translation object in the material renderer set, this commit prevents redundant rerenders.
This commit also adds memorization to the attributes of the material oneOfRenderer to further avoid unnecessary rerendering.

Co-authored-by: Stefan Dirix <sdirix@eclipsesource.com>

10158 of 23385 branches covered (43.44%)

20 of 30 new or added lines in 11 files covered. (66.67%)

1059 existing lines in 47 files now uncovered.

17267 of 21126 relevant lines covered (81.73%)

27.21 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
81.1
0.17% packages/core/src/mappers/renderer.ts
4
55.78
-0.6% packages/react/src/JsonFormsContext.tsx
5
7.41
-0.93% packages/angular-material/src/library/layouts/array-layout.renderer.ts

Uncovered Existing Lines

Lines Coverage ∆ File
1
81.1
0.17% packages/core/src/mappers/renderer.ts
4
60.0
-40.0% packages/examples-react/node_modules/@jsonforms/core/src/i18n/combinatorTranslations.ts
4
60.0
-40.0% packages/examples/node_modules/@jsonforms/core/src/i18n/combinatorTranslations.ts
4
60.0
-40.0% packages/core/src/i18n/combinatorTranslations.ts
4
60.0
-40.0% packages/vue-vanilla/node_modules/@jsonforms/core/src/i18n/combinatorTranslations.ts
4
60.0
-40.0% packages/angular/node_modules/@jsonforms/core/src/i18n/combinatorTranslations.ts
4
60.0
-40.0% packages/angular-material/node_modules/@jsonforms/core/src/i18n/combinatorTranslations.ts
4
60.0
-40.0% packages/vue-vuetify/node_modules/@jsonforms/core/src/i18n/combinatorTranslations.ts
4
60.0
-40.0% packages/material-renderers/node_modules/@jsonforms/core/src/i18n/combinatorTranslations.ts
4
60.0
-40.0% packages/react/node_modules/@jsonforms/core/src/i18n/combinatorTranslations.ts
4
60.0
-40.0% packages/vanilla-renderers/node_modules/@jsonforms/core/src/i18n/combinatorTranslations.ts
4
60.0
-40.0% packages/vue/node_modules/@jsonforms/core/src/i18n/combinatorTranslations.ts
11
70.69
-18.97% packages/vue/node_modules/@jsonforms/core/src/i18n/i18nUtil.ts
11
70.69
-18.97% packages/vanilla-renderers/node_modules/@jsonforms/core/src/i18n/i18nUtil.ts
11
70.69
-18.97% packages/angular-material/node_modules/@jsonforms/core/src/i18n/i18nUtil.ts
11
70.69
-18.97% packages/examples-react/node_modules/@jsonforms/core/src/i18n/i18nUtil.ts
11
70.69
-18.97% packages/core/src/i18n/i18nUtil.ts
11
70.69
-18.97% packages/vue-vanilla/node_modules/@jsonforms/core/src/i18n/i18nUtil.ts
11
70.69
-18.97% packages/react/node_modules/@jsonforms/core/src/i18n/i18nUtil.ts
11
70.69
-18.97% packages/examples/node_modules/@jsonforms/core/src/i18n/i18nUtil.ts
11
70.69
-18.97% packages/material-renderers/node_modules/@jsonforms/core/src/i18n/i18nUtil.ts
11
70.69
-18.97% packages/vue-vuetify/node_modules/@jsonforms/core/src/i18n/i18nUtil.ts
11
70.69
-18.97% packages/angular/node_modules/@jsonforms/core/src/i18n/i18nUtil.ts
14
53.33
-46.67% packages/angular/node_modules/@jsonforms/core/src/i18n/arrayTranslations.ts
14
53.33
-46.67% packages/vanilla-renderers/node_modules/@jsonforms/core/src/i18n/arrayTranslations.ts
14
53.33
-46.67% packages/core/src/i18n/arrayTranslations.ts
14
53.33
-46.67% packages/react/node_modules/@jsonforms/core/src/i18n/arrayTranslations.ts
14
53.33
-46.67% packages/angular-material/node_modules/@jsonforms/core/src/i18n/arrayTranslations.ts
14
53.33
-46.67% packages/examples/node_modules/@jsonforms/core/src/i18n/arrayTranslations.ts
14
53.33
-46.67% packages/vue-vanilla/node_modules/@jsonforms/core/src/i18n/arrayTranslations.ts
14
53.33
-46.67% packages/vue/node_modules/@jsonforms/core/src/i18n/arrayTranslations.ts
14
53.33
-46.67% packages/examples-react/node_modules/@jsonforms/core/src/i18n/arrayTranslations.ts
14
53.33
-46.67% packages/vue-vuetify/node_modules/@jsonforms/core/src/i18n/arrayTranslations.ts
14
53.33
-46.67% packages/material-renderers/node_modules/@jsonforms/core/src/i18n/arrayTranslations.ts
43
81.1
0.17% packages/examples-react/node_modules/@jsonforms/core/src/mappers/renderer.ts
43
81.1
0.17% packages/react/node_modules/@jsonforms/core/src/mappers/renderer.ts
43
81.1
0.17% packages/vue-vuetify/node_modules/@jsonforms/core/src/mappers/renderer.ts
43
81.1
0.17% packages/vanilla-renderers/node_modules/@jsonforms/core/src/mappers/renderer.ts
43
81.1
0.17% packages/material-renderers/node_modules/@jsonforms/core/src/mappers/renderer.ts
43
81.1
0.17% packages/vue/node_modules/@jsonforms/core/src/mappers/renderer.ts
43
81.1
0.17% packages/angular-material/node_modules/@jsonforms/core/src/mappers/renderer.ts
43
81.1
0.17% packages/angular/node_modules/@jsonforms/core/src/mappers/renderer.ts
43
81.1
0.17% packages/vue-vanilla/node_modules/@jsonforms/core/src/mappers/renderer.ts
43
81.1
0.17% packages/examples/node_modules/@jsonforms/core/src/mappers/renderer.ts
103
55.78
-0.6% packages/examples-react/node_modules/@jsonforms/react/src/JsonFormsContext.tsx
103
55.78
-0.6% packages/vanilla-renderers/node_modules/@jsonforms/react/src/JsonFormsContext.tsx
103
55.78
-0.6% packages/material-renderers/node_modules/@jsonforms/react/src/JsonFormsContext.tsx
Jobs
ID Job ID Ran Files Coverage
1 10852566272.1 13 Sep 2024 04:22PM UTC 783
81.73
GitHub Action Run
Source Files on build 10852566272
  • Tree
  • List 783
  • Changed 86
  • Source Changed 0
  • Coverage Changed 59
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 8cdd5ef6 on github
  • Prev Build on master (#10852328904)
  • Next Build on master (#10852656345)
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