微信分享有图-WeChat Page Sharing 1.5.2

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

Summary

Errors
13PHP notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

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

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

Environment
WordPress version6.0.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=e076157e7c
Aspect after-activation
HTTP status 200
Load time 0.326 s
Memory usage 3.7 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.424 s
Memory usage 3.66 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 1.979 s
Memory usage 3.64 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.402 s0.312 s-0.090 s3.72 MiB3.73 MiB+ 8.76 KiB
/wp-admin/edit.php0.203 s0.226 s+0.023 s3.75 MiB3.76 MiB+ 8.05 KiB
/wp-admin/post-new.php0.832 s0.968 s+0.136 s5.54 MiB5.56 MiB+ 17.12 KiB
/wp-admin/upload.php0.405 s0.350 s-0.055 s3.68 MiB3.69 MiB+ 7.63 KiB
/wp-admin/options-writing.php0.289 s0.146 s-0.143 s3.62 MiB3.6 MiB- 12.47 KiB
/wp-admin/media-new.php0.290 s0.195 s-0.095 s3.66 MiB3.67 MiB+ 7.8 KiB
/wp-admin/edit-tags.php?taxonomy=category0.186 s0.185 s-0.001 s3.69 MiB3.7 MiB+ 8.7 KiB
/wp-admin/post-new.php?post_type=page0.622 s0.654 s+0.032 s5.54 MiB5.55 MiB+ 8.7 KiB
/wp-admin/options-discussion.php0.257 s0.328 s+0.071 s3.6 MiB3.6 MiB+ 8.42 KiB
/wp-admin/edit-comments.php0.218 s0.233 s+0.015 s3.69 MiB3.7 MiB+ 7.61 KiB
/0.287 s1.623 s+1.336 s3.6 MiB3.58 MiB- 25.48 KiB
Average 0.363 s0.475 s+0.112 s4.01 MiB4.01 MiB+ 4.08 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%56217015
JavaScript0.9%503
Total 567 170 18

PHP Code Analysis | More results »

Lines of code 392
Total complexity 78
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 13 lines

[22-Aug-2022 02:35:13 UTC] PHP Notice:  Undefined index: do in /wp-content/plugins/apoyl-weixinshare/admin/class-apoyl-weixinshare-admin.php on line 49
[22-Aug-2022 02:35:14 UTC] PHP Notice:  Trying to get property 'expire_time' of non-object in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 67
[22-Aug-2022 02:35:14 UTC] PHP Notice:  Trying to get property 'expire_time' of non-object in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 94
[22-Aug-2022 02:35:15 UTC] PHP Notice:  Undefined property: stdClass::$access_token in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 102
[22-Aug-2022 02:35:16 UTC] PHP Notice:  Undefined property: stdClass::$ticket in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 76
[22-Aug-2022 02:35:16 UTC] PHP Notice:  Undefined index: p in /wp-content/plugins/apoyl-weixinshare/public/class-apoyl-weixinshare-public.php on line 41
[22-Aug-2022 02:35:16 UTC] PHP Notice:  Undefined index: p in /wp-content/plugins/apoyl-weixinshare/public/class-apoyl-weixinshare-public.php on line 74
[22-Aug-2022 02:35:24 UTC] PHP Notice:  Trying to get property 'expire_time' of non-object in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 67
[22-Aug-2022 02:35:24 UTC] PHP Notice:  Trying to get property 'expire_time' of non-object in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 94
[22-Aug-2022 02:35:24 UTC] PHP Notice:  Undefined property: stdClass::$access_token in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 102
[22-Aug-2022 02:35:25 UTC] PHP Notice:  Undefined property: stdClass::$ticket in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 76
[22-Aug-2022 02:35:25 UTC] PHP Notice:  Undefined index: p in /wp-content/plugins/apoyl-weixinshare/public/class-apoyl-weixinshare-public.php on line 41
[22-Aug-2022 02:35:25 UTC] PHP Notice:  Undefined index: p in /wp-content/plugins/apoyl-weixinshare/public/class-apoyl-weixinshare-public.php on line 74
See also: All tests for this plugin, How to Hide the "[凹凸曼]微信分享有图" Admin Menu