Clerk 4.1.4

Does Clerk work with WordPress 6.4.1 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP fatal errors
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 115.53 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version6.4.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 300+
WordPress.org page https://wordpress.org/plugins/clerkio/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=clerkio%2Fclass-clerk.php&plugin_status=all&paged=1&s&_wpnonce=475c5f34a7
Aspect after-activation
HTTP status 200
Load time 0.434 s
Memory usage 3.45 MiB
JS errors None
Resource errors None

Clerk

Page screenshot: Clerk
URL /wp-admin/admin.php?page=clerk
Aspect menu-item
HTTP status 200
Load time 0.274 s
Memory usage 3.44 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.209 s
Memory usage 3.36 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 2.617 s
Memory usage 5.58 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.414 s0.373 s-0.041 s3.38 MiB3.51 MiB+ 131.22 KiB
/wp-admin/edit.php0.289 s0.229 s-0.060 s3.41 MiB3.53 MiB+ 131.95 KiB
/wp-admin/upload.php0.645 s0.450 s-0.195 s3.32 MiB3.44 MiB+ 115.22 KiB
/wp-admin/options-writing.php0.234 s0.222 s-0.012 s3.32 MiB3.42 MiB+ 107.63 KiB
/wp-admin/media-new.php0.341 s0.402 s+0.061 s3.29 MiB3.42 MiB+ 126.98 KiB
/wp-admin/edit-tags.php?taxonomy=category0.213 s0.237 s+0.024 s3.31 MiB3.44 MiB+ 132.52 KiB
/wp-admin/options-discussion.php0.442 s0.262 s-0.180 s3.3 MiB3.42 MiB+ 117.88 KiB
/wp-admin/edit-comments.php0.281 s0.294 s+0.013 s3.34 MiB3.45 MiB+ 114.95 KiB
/0.350 s0.226 s-0.124 s3.3 MiB3.36 MiB+ 61.41 KiB
Average 0.357 s0.299 s-0.057 s3.33 MiB3.44 MiB+ 115.53 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
PO File
Language % Lines of code Comment lines Files
PHP83.1%5,8041,36322
PO File9.2%6433925
JavaScript3.9%272553
CSS2.7%18802
XML1.1%7901
Markdown0.0%201
Total 6,988 1,810 34

PHP Code Analysis | More results »

Lines of code 5,468
Total complexity 949
Median class complexity 31.0
Median method complexity 4.0
Most complex class Clerk_Rest_Api
Most complex function Clerk_Rest_Api::product_endpoint_callback()
Classes 15
Methods 133
Functions 15

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 2

Sidebar Widgets 2

ID Name
clerk_searchClerk Search
clerk_contentClerk Content

PHP Error Log 20 lines

[30-Nov-2023 14:03:50 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_product() in /wp-content/plugins/clerkio/includes/class-clerk-product-sync.php:107
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): Clerk_Product_Sync->pre_save_post()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/post.php(4760): do_action()
#4 /wp-admin/includes/post.php(753): wp_insert_post()
#5 /wp-admin/post-new.php(66): get_default_post_to_edit()
#6 {main}
  thrown in /wp-content/plugins/clerkio/includes/class-clerk-product-sync.php on line 107
[30-Nov-2023 14:03:52 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_product() in /wp-content/plugins/clerkio/includes/class-clerk-product-sync.php:107
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): Clerk_Product_Sync->pre_save_post()
#1 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /wp-includes/post.php(4760): do_action()
#4 /wp-admin/includes/post.php(753): wp_insert_post()
#5 /wp-admin/post-new.php(66): get_default_post_to_edit()
#6 {main}
  thrown in /wp-content/plugins/clerkio/includes/class-clerk-product-sync.php on line 107
See also: All tests for this plugin