apoyl-weixinshare 1.2.2

Does apoyl-weixinshare work with WordPress 5.8 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: 36.49 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

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

Environment
WordPress version5.8
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=94519c1c42
Aspect after-activation
HTTP status 200
Load time 0.369 s
Memory usage 3.07 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.150 s
Memory usage 3.09 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.848 s
Memory usage 3.07 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.380 s0.265 s-0.115 s3.08 MiB3.11 MiB+ 31.05 KiB
/wp-admin/edit.php0.211 s0.189 s-0.022 s3.11 MiB3.21 MiB+ 95.05 KiB
/wp-admin/post-new.php0.966 s0.914 s-0.052 s5.27 MiB5.3 MiB+ 35.41 KiB
/wp-admin/upload.php0.571 s0.420 s-0.151 s3.03 MiB3.06 MiB+ 29.92 KiB
/wp-admin/options-writing.php0.173 s0.175 s+0.002 s3.02 MiB3.04 MiB+ 13.9 KiB
/wp-admin/media-new.php0.226 s0.190 s-0.036 s3.01 MiB3.04 MiB+ 30.09 KiB
/wp-admin/edit-tags.php?taxonomy=category0.189 s0.176 s-0.013 s3.04 MiB3.07 MiB+ 31 KiB
/wp-admin/post-new.php?post_type=page0.882 s0.978 s+0.096 s5.26 MiB5.29 MiB+ 31 KiB
/wp-admin/options-discussion.php0.222 s0.282 s+0.060 s3 MiB3.03 MiB+ 30.72 KiB
/wp-admin/edit-comments.php0.208 s0.213 s+0.005 s3.04 MiB3.07 MiB+ 29.91 KiB
/0.257 s1.813 s+1.556 s2.91 MiB2.95 MiB+ 43.35 KiB
Average 0.390 s0.510 s+0.121 s3.43 MiB3.47 MiB+ 36.49 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

[25-Jul-2021 04:03:19 UTC] PHP Notice:  Undefined index: do in /wp-content/plugins/apoyl-weixinshare/admin/class-apoyl-weixinshare-admin.php on line 49
[25-Jul-2021 04:03:19 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
[25-Jul-2021 04:03:19 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
[25-Jul-2021 04:03:21 UTC] PHP Notice:  Undefined property: stdClass::$access_token in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 102
[25-Jul-2021 04:03:22 UTC] PHP Notice:  Undefined property: stdClass::$ticket in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 76
[25-Jul-2021 04:03:22 UTC] PHP Notice:  Undefined index: p in /wp-content/plugins/apoyl-weixinshare/public/class-apoyl-weixinshare-public.php on line 41
[25-Jul-2021 04:03:22 UTC] PHP Notice:  Undefined index: p in /wp-content/plugins/apoyl-weixinshare/public/class-apoyl-weixinshare-public.php on line 74
[25-Jul-2021 04:03:28 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
[25-Jul-2021 04:03:28 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
[25-Jul-2021 04:03:29 UTC] PHP Notice:  Undefined property: stdClass::$access_token in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 102
[25-Jul-2021 04:03:30 UTC] PHP Notice:  Undefined property: stdClass::$ticket in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 76
[25-Jul-2021 04:03:30 UTC] PHP Notice:  Undefined index: p in /wp-content/plugins/apoyl-weixinshare/public/class-apoyl-weixinshare-public.php on line 41
[25-Jul-2021 04:03:30 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