apoyl-weixinshare 1.2.0

Does apoyl-weixinshare work with WordPress 5.7 and PHP 7.4.8? A smoke test was performed on .

Summary

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

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

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

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=252a5589ca
Aspect after-activation
HTTP status 200
Load time 0.298 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.162 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.076 s
Memory usage 2.76 MiB
JS errors
[
    {
        "message": "ReferenceError: wx is not defined\n    at /:177:300",
        "trace": null,
        "code": null
    }
]
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.371 s0.279 s-0.092 s2.82 MiB2.85 MiB+ 35.38 KiB
/wp-admin/edit.php0.186 s0.214 s+0.028 s2.86 MiB2.9 MiB+ 35.34 KiB
/wp-admin/post-new.php1.798 s0.633 s-1.165 s5.02 MiB5.07 MiB+ 47.65 KiB
/wp-admin/upload.php0.619 s0.290 s-0.329 s2.7 MiB2.73 MiB+ 33.88 KiB
/wp-admin/options-writing.php0.176 s0.268 s+0.092 s2.71 MiB2.71 MiB+ 2.23 KiB
/wp-admin/media-new.php0.209 s0.199 s-0.010 s2.67 MiB2.71 MiB+ 34.42 KiB
/wp-admin/edit-tags.php?taxonomy=category0.205 s0.177 s-0.028 s2.77 MiB2.8 MiB+ 35.33 KiB
/wp-admin/post-new.php?post_type=page1.266 s0.726 s-0.540 s5.01 MiB5.05 MiB+ 43.23 KiB
/wp-admin/options-discussion.php0.213 s0.280 s+0.067 s2.67 MiB2.71 MiB+ 35.05 KiB
/wp-admin/edit-comments.php0.217 s0.230 s+0.013 s2.78 MiB2.81 MiB+ 34.23 KiB
/0.271 s1.904 s+1.633 s2.65 MiB2.7 MiB+ 48.88 KiB
Average 0.503 s0.473 s-0.030 s3.15 MiB3.19 MiB+ 35.06 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.3%55717015
JavaScript0.7%402
Total 561 170 17

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 37 lines

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