Clerk 4.1.6

Does Clerk work with WordPress 6.4.2 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: 109.67 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.2
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=f057024b51
Aspect after-activation
HTTP status 200
Load time 0.487 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.219 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.203 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.446 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.362 s0.327 s-0.035 s3.38 MiB3.51 MiB+ 131.95 KiB
/wp-admin/edit.php0.215 s0.199 s-0.016 s3.41 MiB3.53 MiB+ 132.69 KiB
/wp-admin/upload.php0.539 s0.366 s-0.173 s3.32 MiB3.44 MiB+ 115.95 KiB
/wp-admin/options-writing.php0.227 s0.200 s-0.027 s3.32 MiB3.42 MiB+ 108.37 KiB
/wp-admin/media-new.php0.318 s0.269 s-0.049 s3.29 MiB3.42 MiB+ 127.73 KiB
/wp-admin/edit-tags.php?taxonomy=category0.206 s0.201 s-0.005 s3.31 MiB3.44 MiB+ 133.26 KiB
/wp-admin/options-discussion.php0.272 s0.229 s-0.043 s3.3 MiB3.42 MiB+ 118.66 KiB
/wp-admin/edit-comments.php0.276 s0.403 s+0.127 s3.33 MiB3.45 MiB+ 115.73 KiB
/0.267 s0.215 s-0.052 s3.36 MiB3.36 MiB+ 2.66 KiB
Average 0.298 s0.268 s-0.030 s3.34 MiB3.44 MiB+ 109.67 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,8341,36522
PO File9.2%6433925
JavaScript3.9%275583
CSS2.7%18802
XML1.1%7901
Markdown0.0%201
Total 7,021 1,815 34

PHP Code Analysis | More results »

Lines of code 5,498
Total complexity 955
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

[04-Jan-2024 09:43: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
[04-Jan-2024 09:43:53 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