Autoshare for Twitter 1.0.4

Does Autoshare for Twitter work with WordPress 5.8.1 and PHP 7.4.8? A smoke test was performed on .

Summary

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

Memory usage: 28.23 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.8.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 5,000+
WordPress.org page https://wordpress.org/plugins/autoshare-for-twitter/
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=autoshare-for-twitter%2Fautoshare-for-twitter.php&plugin_status=all&paged=1&s&_wpnonce=2441183a12
Aspect after-activation
HTTP status 200
Load time 0.347 s
Memory usage 3.07 MiB
JS errors None
Resource errors None

Settings → Autoshare for Twitter

Page screenshot: Settings → Autoshare for Twitter
URL /wp-admin/options-general.php?page=autoshare-for-twitter
Aspect menu-item
HTTP status 200
Load time 0.170 s
Memory usage 3.03 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read property 'addEventListener' of null\n    at HTMLDocument.<anonymous> (/wp-content/plugins/autoshare-for-twitter/assets/js/admin-autoshare-for-twitter-settings.js?ver=1.0.3:10:23)",
        "trace": null,
        "code": null
    }
]
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 0.302 s
Memory usage 2.93 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.378 s0.245 s-0.133 s3.08 MiB3.11 MiB+ 31.48 KiB
/wp-admin/edit.php0.168 s0.175 s+0.007 s3.11 MiB3.15 MiB+ 34.19 KiB
/wp-admin/post-new.php0.937 s1.100 s+0.163 s5.27 MiB5.32 MiB+ 53.85 KiB
/wp-admin/upload.php0.549 s0.283 s-0.266 s3.03 MiB3.06 MiB+ 30.35 KiB
/wp-admin/options-writing.php0.162 s0.133 s-0.029 s3.02 MiB3.04 MiB+ 14.27 KiB
/wp-admin/media-new.php0.253 s0.210 s-0.043 s3.01 MiB3.04 MiB+ 30.52 KiB
/wp-admin/edit-tags.php?taxonomy=category0.178 s0.176 s-0.002 s3.04 MiB3.07 MiB+ 31.43 KiB
/wp-admin/post-new.php?post_type=page0.913 s0.848 s-0.065 s5.26 MiB5.31 MiB+ 53.44 KiB
/wp-admin/options-discussion.php0.226 s0.304 s+0.078 s3 MiB3.03 MiB+ 30.77 KiB
/wp-admin/edit-comments.php0.202 s0.212 s+0.010 s3.04 MiB3.07 MiB+ 30.34 KiB
/0.252 s0.206 s-0.046 s2.96 MiB2.93 MiB- 30.08 KiB
Average 0.383 s0.354 s-0.030 s3.44 MiB3.47 MiB+ 28.23 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
JavaScript
CSS
Language % Lines of code Comment lines Files
PHP64.8%1,1527449
JavaScript26.8%4762511
CSS8.4%14902
SVG0.1%101
Total 1,778 769 23

PHP Code Analysis | More results »

Lines of code 1,141
Total complexity 180
Median class complexity 29.0
Median method complexity 4.0
Most complex class TenUp\AutoshareForTwitter\Core\Publish_Tweet\Publish_Tweet
Most complex function maybe_enqueue_classic_editor_assets()
Classes 1
Methods 7
Functions 61

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.

No new entries found.

PHP Error Log 5 lines

[14-Sep-2021 11:00:43 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/autoshare-for-twitter/includes/admin/settings.php on line 208
[14-Sep-2021 11:00:43 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/autoshare-for-twitter/includes/admin/settings.php on line 208
[14-Sep-2021 11:00:43 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/autoshare-for-twitter/includes/admin/settings.php on line 208
[14-Sep-2021 11:00:43 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/autoshare-for-twitter/includes/admin/settings.php on line 208
[14-Sep-2021 11:00:43 UTC] PHP Notice:  Trying to access array offset on value of type bool in /wp-content/plugins/autoshare-for-twitter/includes/admin/settings.php on line 208
See also: All tests for this plugin, How to Hide Autopost for X (formerly Autoshare for Twitter) Admin Menus and More