Autoshare for Twitter 2.1.1

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

Summary

Errors
1PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 47.32 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 version6.4.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
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 5

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=2b3f7047af
Aspect after-activation
HTTP status 200
Load time 0.383 s
Memory usage 3.38 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.197 s
Memory usage 3.36 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 0.188 s
Memory usage 3.35 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.537 s
Memory usage 5.53 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 0.521 s
Memory usage 5.52 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.291 s0.303 s+0.012 s3.38 MiB3.44 MiB+ 57.62 KiB
/wp-admin/edit.php0.190 s0.217 s+0.027 s3.41 MiB3.46 MiB+ 58.77 KiB
/wp-admin/post-new.php0.837 s0.547 s-0.290 s5.46 MiB5.53 MiB+ 75.2 KiB
/wp-admin/upload.php0.509 s0.414 s-0.095 s3.32 MiB3.36 MiB+ 40.27 KiB
/wp-admin/options-writing.php0.209 s0.186 s-0.023 s3.32 MiB3.35 MiB+ 33.05 KiB
/wp-admin/media-new.php0.290 s0.247 s-0.043 s3.29 MiB3.35 MiB+ 52.09 KiB
/wp-admin/edit-tags.php?taxonomy=category0.191 s0.162 s-0.029 s3.31 MiB3.37 MiB+ 57.26 KiB
/wp-admin/post-new.php?post_type=page0.510 s0.529 s+0.019 s5.45 MiB5.52 MiB+ 74.79 KiB
/wp-admin/options-discussion.php0.276 s0.377 s+0.101 s3.3 MiB3.34 MiB+ 42.2 KiB
/wp-admin/edit-comments.php0.210 s0.208 s-0.002 s3.33 MiB3.37 MiB+ 39.89 KiB
/0.243 s0.177 s-0.066 s3.36 MiB3.35 MiB- 10.59 KiB
Average 0.341 s0.306 s-0.035 s3.72 MiB3.77 MiB+ 47.32 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
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP78.1%2,1411,19313
CSS11.1%30412
JavaScript9.7%265403
SVG1.1%3107
Total 2,741 1,234 25

PHP Code Analysis | More results »

Lines of code 2,149
Total complexity 398
Median class complexity 29.0
Median method complexity 1.0
Most complex class TenUp\AutoshareForTwitter\Core\Twitter_Accounts
Most complex function get_tweet_status_message()
Classes 5
Methods 46
Functions 76

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.

Options wp_options 2

Meta Boxes

{
    "post": {
        "autoshare_for_twitter_metabox": {
            "title": "Autoshare for Twitter",
            "context": "side"
        }
    },
    "page": {
        "autoshare_for_twitter_metabox": {
            "title": "Autoshare for Twitter",
            "context": "side"
        }
    }
}

PHP Error Log 1 lines

[10-Dec-2023 08:00:25 UTC] PHP Deprecated:  Implicit conversion from float 4.5 to int loses precision in /wp-content/plugins/autoshare-for-twitter/includes/class-ast-staging.php on line 178
See also: All tests for this plugin, How to Hide Autopost for X (formerly Autoshare for Twitter) Admin Menus and More