WeChat-Sharing-Icon 1.5.1

Does WeChat-Sharing-Icon 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: 35.11 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.105 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=19572447cb
Aspect after-activation
HTTP status 200
Load time 0.342 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.249 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 3.036 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.373 s0.312 s-0.061 s3.72 MiB3.75 MiB+ 31.46 KiB
/wp-admin/edit.php0.209 s0.222 s+0.013 s3.75 MiB3.78 MiB+ 30.75 KiB
/wp-admin/post-new.php1.114 s1.312 s+0.198 s5.55 MiB5.58 MiB+ 39.82 KiB
/wp-admin/upload.php0.467 s0.374 s-0.093 s3.68 MiB3.71 MiB+ 30.33 KiB
/wp-admin/options-writing.php0.167 s0.145 s-0.022 s3.62 MiB3.69 MiB+ 74.23 KiB
/wp-admin/media-new.php0.591 s0.233 s-0.358 s3.66 MiB3.69 MiB+ 30.5 KiB
/wp-admin/edit-tags.php?taxonomy=category0.213 s0.214 s+0.001 s3.69 MiB3.72 MiB+ 31.41 KiB
/wp-admin/post-new.php?post_type=page0.907 s0.992 s+0.085 s5.54 MiB5.57 MiB+ 31.41 KiB
/wp-admin/options-discussion.php0.240 s0.311 s+0.071 s3.6 MiB3.65 MiB+ 58.8 KiB
/wp-admin/edit-comments.php0.246 s0.225 s-0.021 s3.69 MiB3.72 MiB+ 30.31 KiB
/0.347 s1.693 s+1.346 s3.6 MiB3.6 MiB- 2.78 KiB
Average 0.443 s0.548 s+0.105 s4.01 MiB4.04 MiB+ 35.11 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

[19-Aug-2022 08:34:29 UTC] PHP Notice:  Undefined index: do in /wp-content/plugins/apoyl-weixinshare/admin/class-apoyl-weixinshare-admin.php on line 49
[19-Aug-2022 08:34:30 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
[19-Aug-2022 08:34:30 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
[19-Aug-2022 08:34:32 UTC] PHP Notice:  Undefined property: stdClass::$access_token in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 102
[19-Aug-2022 08:34:33 UTC] PHP Notice:  Undefined property: stdClass::$ticket in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 76
[19-Aug-2022 08:34:33 UTC] PHP Notice:  Undefined index: p in /wp-content/plugins/apoyl-weixinshare/public/class-apoyl-weixinshare-public.php on line 41
[19-Aug-2022 08:34:33 UTC] PHP Notice:  Undefined index: p in /wp-content/plugins/apoyl-weixinshare/public/class-apoyl-weixinshare-public.php on line 74
[19-Aug-2022 08:34:41 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
[19-Aug-2022 08:34:41 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
[19-Aug-2022 08:34:42 UTC] PHP Notice:  Undefined property: stdClass::$access_token in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 102
[19-Aug-2022 08:34:43 UTC] PHP Notice:  Undefined property: stdClass::$ticket in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 76
[19-Aug-2022 08:34:43 UTC] PHP Notice:  Undefined index: p in /wp-content/plugins/apoyl-weixinshare/public/class-apoyl-weixinshare-public.php on line 41
[19-Aug-2022 08:34:43 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