Clerk 4.1.7

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: 113.79 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=eab19f35b5
Aspect after-activation
HTTP status 200
Load time 0.350 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.224 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.167 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.069 s
Memory usage 5.72 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.358 s0.324 s-0.034 s3.44 MiB3.57 MiB+ 136.32 KiB
/wp-admin/edit.php0.207 s0.193 s-0.014 s3.46 MiB3.59 MiB+ 137.05 KiB
/wp-admin/upload.php0.620 s0.298 s-0.322 s3.38 MiB3.5 MiB+ 120.63 KiB
/wp-admin/options-writing.php0.215 s0.197 s-0.018 s3.37 MiB3.48 MiB+ 112.11 KiB
/wp-admin/media-new.php0.285 s0.483 s+0.198 s3.35 MiB3.48 MiB+ 132.09 KiB
/wp-admin/edit-tags.php?taxonomy=category0.194 s0.194 s+0.000 s3.37 MiB3.5 MiB+ 137.63 KiB
/wp-admin/options-discussion.php0.311 s0.232 s-0.079 s3.36 MiB3.48 MiB+ 123.03 KiB
/wp-admin/edit-comments.php0.225 s0.213 s-0.012 s3.39 MiB3.51 MiB+ 120.09 KiB
/0.277 s0.192 s-0.085 s3.42 MiB3.42 MiB+ 5.2 KiB
Average 0.299 s0.258 s-0.041 s3.39 MiB3.5 MiB+ 113.79 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.5%6,1311,46322
PO File8.7%6433925
JavaScript4.9%367593
CSS2.8%20702
XML1.1%7901
Markdown0.0%201
Total 7,429 1,914 34

PHP Code Analysis | More results »

Lines of code 5,794
Total complexity 1,020
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 140
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

[14-Apr-2024 09:41:16 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
[14-Apr-2024 09:41:18 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