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

wp-graphql / wp-graphql-woocommerce / 23779262545
92%

Build:
DEFAULT BRANCH: develop
Ran 31 Mar 2026 03:52AM UTC
Jobs 1
Files 235
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

31 Mar 2026 03:37AM UTC coverage: 91.718% (+1.0%) from 90.757%
23779262545

push

github

web-flow
perf: Migrate type descriptions to lazy lambdas (#1005)

* perf: Migrate type descriptions to lazy lambdas

Convert all eager description strings from:
  'description' => __( '...', 'wp-graphql-woocommerce' ),
to deferred lambdas:
  'description' => static function () { return __( '...', 'wp-graphql-woocommerce' ); },

This defers the __() translation call until the description is actually
needed (e.g. during schema introspection), avoiding unnecessary
translation overhead on every GraphQL request. Mirrors the pattern
used in WPGraphQL core.

1206 descriptions converted across 169 files.

* chore: Linter compliances met

3598 of 3630 new or added lines in 167 files covered. (99.12%)

1 existing line in 1 file now uncovered.

18328 of 19983 relevant lines covered (91.72%)

145.82 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
84.91
-7.4% includes/type/interface/class-product-union.php
6
94.78
-5.22% includes/type/object/class-cart-error-types.php
5
95.5
-1.95% includes/connection/class-orders.php
3
95.42
-0.51% includes/type/enum/class-id-type-enums.php
2
89.62
1.44% includes/type/object/class-customer-type.php
2
95.78
-0.74% includes/type/object/class-product-types.php
1
62.05
1.79% includes/class-compatibility.php
1
98.5
0.09% includes/connection/class-products.php
1
96.05
-0.03% includes/type/object/class-downloadable-item-type.php
1
98.73
-1.27% includes/type/object/class-payment-token-types.php

Coverage Regressions

Lines Coverage ∆ File
1
95.42
-0.51% includes/type/enum/class-id-type-enums.php
Jobs
ID Job ID Ran Files Coverage
1 23779262545.1 31 Mar 2026 03:52AM UTC 235
91.72
GitHub Action Run
Source Files on build 23779262545
  • Tree
  • List 235
  • Changed 167
  • Source Changed 0
  • Coverage Changed 167
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 684732aa on github
  • Prev Build on develop (#23778302055)
  • Next Build on develop (#23799372604)
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