微信分享有图-WeChat Page Sharing 1.9.0

Does "微信分享有图-WeChat Page Sharing" work with WordPress 6.2.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
4PHP warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

Page speed impact: 0.111 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.2.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 200+
WordPress.org page https://wordpress.org/plugins/apoyl-weixinshare/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=apoyl-weixinshare%2Fapoyl-weixinshare.php&plugin_status=all&paged=1&s&_wpnonce=186c2906ce
Aspect after-activation
HTTP status 200
Load time 0.488 s
Memory usage 3.02 MiB
JS errors None
Resource errors None

Settings → settings

Page screenshot: Settings → settings
URL /wp-admin/options-general.php?page=apoyl-weixinshare-settings
Aspect menu-item
HTTP status 200
Load time 0.297 s
Memory usage 3.06 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 3.701 s
Memory usage 3.11 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.282 s0.274 s-0.008 s3.07 MiB3.08 MiB+ 10.16 KiB
/wp-admin/edit.php0.197 s0.191 s-0.006 s3.1 MiB3.11 MiB+ 9.45 KiB
/wp-admin/post-new.php0.746 s0.886 s+0.140 s5.02 MiB5.03 MiB+ 14.52 KiB
/wp-admin/upload.php0.567 s0.275 s-0.292 s3.02 MiB3.01 MiB- 7.21 KiB
/wp-admin/options-writing.php0.171 s0.140 s-0.031 s3.01 MiB2.99 MiB- 20.45 KiB
/wp-admin/media-new.php0.297 s0.366 s+0.069 s2.99 MiB3 MiB+ 4.98 KiB
/wp-admin/edit-tags.php?taxonomy=category0.207 s0.206 s-0.001 s3.01 MiB3.02 MiB+ 10.15 KiB
/wp-admin/post-new.php?post_type=page0.577 s0.613 s+0.036 s5.01 MiB5.02 MiB+ 10.11 KiB
/wp-admin/options-discussion.php0.215 s0.216 s+0.001 s3 MiB2.99 MiB- 6.41 KiB
/wp-admin/edit-comments.php0.204 s0.194 s-0.010 s3.03 MiB3.02 MiB- 7.22 KiB
/0.301 s1.620 s+1.319 s2.97 MiB3.05 MiB+ 82.96 KiB
Average 0.342 s0.453 s+0.111 s3.38 MiB3.39 MiB+ 9.18 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
Language % Lines of code Comment lines Files
PHP99.1%57917015
JavaScript0.9%503
Total 584 170 18

PHP Code Analysis | More results »

Lines of code 387
Total complexity 84
Median class complexity 7.0
Median method complexity 1.0
Most complex class Apoyl_Weixinshare_Public
Most complex function Apoyl_Weixinshare_Public::getImgurl()
Classes 9
Methods 39
Functions 4

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.

Database Tables 1

Options wp_options 2

PHP Error Log 4 lines

[24-May-2023 18:06:37 UTC] PHP Warning:  Undefined property: stdClass::$access_token in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 87
[24-May-2023 18:06:38 UTC] PHP Warning:  Undefined property: stdClass::$ticket in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 64
[24-May-2023 18:06:46 UTC] PHP Warning:  Undefined property: stdClass::$access_token in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 87
[24-May-2023 18:06:47 UTC] PHP Warning:  Undefined property: stdClass::$ticket in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 64
See also: All tests for this plugin, How to Hide the "[凹凸曼]微信分享有图" Admin Menu