Autoshare for Twitter 1.0.6

Does Autoshare for Twitter work with WordPress 5.9.3 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: 35.31 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.9.3
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=841d4a1336
Aspect after-activation
HTTP status 200
Load time 0.391 s
Memory usage 3.3 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.168 s
Memory usage 3.27 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'addEventListener')\n    at HTMLDocument.<anonymous> (/wp-content/plugins/autoshare-for-twitter/assets/js/admin-autoshare-for-twitter-settings.js?ver=1.0.6: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.267 s
Memory usage 3.37 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.357 s0.287 s-0.070 s3.37 MiB3.41 MiB+ 36.99 KiB
/wp-admin/edit.php0.172 s0.206 s+0.034 s3.4 MiB3.44 MiB+ 41.14 KiB
/wp-admin/post-new.php0.916 s1.089 s+0.173 s5.69 MiB5.74 MiB+ 53.23 KiB
/wp-admin/upload.php0.378 s0.324 s-0.054 s3.25 MiB3.29 MiB+ 43.86 KiB
/wp-admin/options-writing.php0.259 s0.137 s-0.122 s3.24 MiB3.27 MiB+ 27.65 KiB
/wp-admin/media-new.php0.257 s0.193 s-0.064 s3.23 MiB3.27 MiB+ 44.03 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.178 s-0.009 s3.27 MiB3.3 MiB+ 36.94 KiB
/wp-admin/post-new.php?post_type=page0.983 s1.158 s+0.175 s5.68 MiB5.73 MiB+ 48.82 KiB
/wp-admin/options-discussion.php0.212 s0.272 s+0.060 s3.22 MiB3.27 MiB+ 44.28 KiB
/wp-admin/edit-comments.php0.211 s0.201 s-0.010 s3.27 MiB3.3 MiB+ 35.84 KiB
/0.256 s0.199 s-0.057 s3.4 MiB3.37 MiB- 24.35 KiB
Average 0.381 s0.386 s+0.005 s3.73 MiB3.76 MiB+ 35.31 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.4%1,1887609
JavaScript25.8%4762511
CSS9.3%17112
SVG0.6%1103
Total 1,846 786 25

PHP Code Analysis | More results »

Lines of code 1,177
Total complexity 186
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 63

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

[11-Apr-2022 12:20:38 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
[11-Apr-2022 12:20:38 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
[11-Apr-2022 12:20:38 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
[11-Apr-2022 12:20:38 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
[11-Apr-2022 12:20:38 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