Clerk 4.1.8

Does Clerk work with WordPress 6.5.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: 116.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.5.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=79c89ee8b0
Aspect after-activation
HTTP status 200
Load time 0.494 s
Memory usage 3.51 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.211 s
Memory usage 3.5 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.215 s
Memory usage 3.42 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.225 s
Memory usage 5.73 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.322 s0.299 s-0.023 s3.44 MiB3.57 MiB+ 139.14 KiB
/wp-admin/edit.php0.189 s0.191 s+0.002 s3.46 MiB3.6 MiB+ 139.88 KiB
/wp-admin/upload.php0.595 s0.288 s-0.307 s3.38 MiB3.5 MiB+ 123.45 KiB
/wp-admin/options-writing.php0.208 s0.203 s-0.005 s3.37 MiB3.48 MiB+ 114.93 KiB
/wp-admin/media-new.php0.283 s0.229 s-0.054 s3.35 MiB3.48 MiB+ 134.91 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.185 s-0.002 s3.37 MiB3.51 MiB+ 140.45 KiB
/wp-admin/options-discussion.php0.320 s0.229 s-0.091 s3.36 MiB3.48 MiB+ 125.85 KiB
/wp-admin/edit-comments.php0.232 s0.224 s-0.008 s3.39 MiB3.51 MiB+ 122.92 KiB
/0.291 s0.296 s+0.005 s3.42 MiB3.42 MiB+ 7.28 KiB
Average 0.292 s0.238 s-0.054 s3.39 MiB3.51 MiB+ 116.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
PHP82.7%6,2071,46622
PO File8.6%6433925
JavaScript4.9%367593
CSS2.8%20702
XML1.1%7901
Markdown0.0%201
Total 7,505 1,917 34

PHP Code Analysis | More results »

Lines of code 5,870
Total complexity 1,043
Median class complexity 32.0
Median method complexity 4.0
Most complex class Clerk_Rest_Api
Most complex function Clerk_Rest_Api::product_endpoint_callback()
Classes 15
Methods 141
Functions 20

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

[15-Apr-2024 07:53:22 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_product() in /wp-content/plugins/clerkio/includes/class-clerk-realtime-updates.php:119
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): Clerk_Realtime_Updates->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(4828): do_action()
#4 /wp-admin/includes/post.php(766): 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-realtime-updates.php on line 119
[15-Apr-2024 07:53:23 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function wc_get_product() in /wp-content/plugins/clerkio/includes/class-clerk-realtime-updates.php:119
Stack trace:
#0 /wp-includes/class-wp-hook.php(324): Clerk_Realtime_Updates->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(4828): do_action()
#4 /wp-admin/includes/post.php(766): 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-realtime-updates.php on line 119
See also: All tests for this plugin