微信分享有图 1.5.0

Does 微信分享有图 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: 34.94 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.077 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=5c6861e8f7
Aspect after-activation
HTTP status 200
Load time 0.290 s
Memory usage 3.72 MiB
JS errors None
Resource errors None

Settings → WeChat-Sharing-Icon

Page screenshot: Settings → WeChat-Sharing-Icon
URL /wp-admin/options-general.php?page=apoyl-weixinshare-settings
Aspect menu-item
HTTP status 200
Load time 0.163 s
Memory usage 3.68 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 2.092 s
Memory usage 3.66 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.242 s-0.080 s3.72 MiB3.75 MiB+ 31.29 KiB
/wp-admin/edit.php0.199 s0.193 s-0.006 s3.75 MiB3.78 MiB+ 30.58 KiB
/wp-admin/post-new.php0.748 s0.909 s+0.161 s5.55 MiB5.58 MiB+ 39.65 KiB
/wp-admin/upload.php0.390 s0.337 s-0.053 s3.68 MiB3.71 MiB+ 30.16 KiB
/wp-admin/options-writing.php0.155 s0.146 s-0.009 s3.62 MiB3.69 MiB+ 74.06 KiB
/wp-admin/media-new.php0.412 s0.189 s-0.223 s3.66 MiB3.69 MiB+ 30.33 KiB
/wp-admin/edit-tags.php?taxonomy=category0.189 s0.167 s-0.022 s3.69 MiB3.72 MiB+ 31.23 KiB
/wp-admin/post-new.php?post_type=page0.974 s0.610 s-0.364 s5.54 MiB5.57 MiB+ 31.23 KiB
/wp-admin/options-discussion.php0.237 s0.315 s+0.078 s3.6 MiB3.65 MiB+ 58.63 KiB
/wp-admin/edit-comments.php0.212 s0.221 s+0.009 s3.69 MiB3.72 MiB+ 30.14 KiB
/0.264 s1.624 s+1.360 s3.6 MiB3.6 MiB- 2.95 KiB
Average 0.373 s0.450 s+0.077 s4.01 MiB4.04 MiB+ 34.94 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%56117015
JavaScript0.9%503
Total 566 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

[18-Jul-2022 02:51:42 UTC] PHP Notice:  Undefined index: do in /wp-content/plugins/apoyl-weixinshare/admin/class-apoyl-weixinshare-admin.php on line 49
[18-Jul-2022 02:51:43 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
[18-Jul-2022 02:51:43 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
[18-Jul-2022 02:51:44 UTC] PHP Notice:  Undefined property: stdClass::$access_token in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 102
[18-Jul-2022 02:51:44 UTC] PHP Notice:  Undefined property: stdClass::$ticket in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 76
[18-Jul-2022 02:51:44 UTC] PHP Notice:  Undefined index: p in /wp-content/plugins/apoyl-weixinshare/public/class-apoyl-weixinshare-public.php on line 41
[18-Jul-2022 02:51:44 UTC] PHP Notice:  Undefined index: p in /wp-content/plugins/apoyl-weixinshare/public/class-apoyl-weixinshare-public.php on line 74
[18-Jul-2022 02:51:52 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
[18-Jul-2022 02:51:52 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
[18-Jul-2022 02:51:52 UTC] PHP Notice:  Undefined property: stdClass::$access_token in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 102
[18-Jul-2022 02:51:53 UTC] PHP Notice:  Undefined property: stdClass::$ticket in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 76
[18-Jul-2022 02:51:53 UTC] PHP Notice:  Undefined index: p in /wp-content/plugins/apoyl-weixinshare/public/class-apoyl-weixinshare-public.php on line 41
[18-Jul-2022 02:51:53 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