apoyl-weixinshare 1.2.1

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

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

Environment
WordPress version5.7
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=8f640acfeb
Aspect after-activation
HTTP status 200
Load time 0.323 s
Memory usage 2.74 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.191 s
Memory usage 2.78 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.313 s
Memory usage 2.76 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.289 s0.294 s+0.005 s2.82 MiB2.85 MiB+ 35.34 KiB
/wp-admin/edit.php0.182 s0.198 s+0.016 s2.86 MiB2.9 MiB+ 35.34 KiB
/wp-admin/post-new.php1.231 s1.286 s+0.055 s5.02 MiB5.07 MiB+ 47.65 KiB
/wp-admin/upload.php0.501 s0.469 s-0.032 s2.7 MiB2.73 MiB+ 33.88 KiB
/wp-admin/options-writing.php0.312 s0.170 s-0.142 s2.71 MiB2.71 MiB+ 2.23 KiB
/wp-admin/media-new.php0.270 s0.187 s-0.083 s2.67 MiB2.71 MiB+ 34.42 KiB
/wp-admin/edit-tags.php?taxonomy=category0.230 s0.191 s-0.039 s2.77 MiB2.8 MiB+ 35.33 KiB
/wp-admin/post-new.php?post_type=page1.182 s0.685 s-0.497 s5.01 MiB5.05 MiB+ 43.23 KiB
/wp-admin/options-discussion.php0.319 s0.210 s-0.109 s2.67 MiB2.71 MiB+ 35.05 KiB
/wp-admin/edit-comments.php0.259 s0.208 s-0.051 s2.78 MiB2.81 MiB+ 34.23 KiB
/0.292 s1.971 s+1.679 s2.65 MiB2.7 MiB+ 48.88 KiB
Average 0.461 s0.534 s+0.073 s3.15 MiB3.19 MiB+ 35.05 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%55717015
JavaScript0.9%503
Total 562 170 18

PHP Code Analysis | More results »

Lines of code 388
Total complexity 77
Median class complexity 7.0
Median method complexity 1.0
Most complex class Apoyl_Weixinshare_Public
Most complex function Apoyl_Weixinshare_Public::footer()
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

[17-Mar-2021 02:21:04 UTC] PHP Notice:  Undefined index: do in /wp-content/plugins/apoyl-weixinshare/admin/class-apoyl-weixinshare-admin.php on line 49
[17-Mar-2021 02:21:04 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
[17-Mar-2021 02:21:04 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
[17-Mar-2021 02:21:06 UTC] PHP Notice:  Undefined property: stdClass::$access_token in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 102
[17-Mar-2021 02:21:07 UTC] PHP Notice:  Undefined property: stdClass::$ticket in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 76
[17-Mar-2021 02:21:07 UTC] PHP Notice:  Undefined index: p in /wp-content/plugins/apoyl-weixinshare/public/class-apoyl-weixinshare-public.php on line 41
[17-Mar-2021 02:21:07 UTC] PHP Notice:  Undefined index: p in /wp-content/plugins/apoyl-weixinshare/public/class-apoyl-weixinshare-public.php on line 70
[17-Mar-2021 02:21: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
[17-Mar-2021 02:21: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
[17-Mar-2021 02:21:15 UTC] PHP Notice:  Undefined property: stdClass::$access_token in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 102
[17-Mar-2021 02:21:15 UTC] PHP Notice:  Undefined property: stdClass::$ticket in /wp-content/plugins/apoyl-weixinshare/public/weixinapi/ApoylJSSDK.php on line 76
[17-Mar-2021 02:21:15 UTC] PHP Notice:  Undefined index: p in /wp-content/plugins/apoyl-weixinshare/public/class-apoyl-weixinshare-public.php on line 41
[17-Mar-2021 02:21:15 UTC] PHP Notice:  Undefined index: p in /wp-content/plugins/apoyl-weixinshare/public/class-apoyl-weixinshare-public.php on line 70
See also: All tests for this plugin, How to Hide the "[凹凸曼]微信分享有图" Admin Menu