Autoshare for Twitter 2.1.0

Does Autoshare for Twitter work with WordPress 6.3 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: 48.22 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.3
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=a2d0f12325
Aspect after-activation
HTTP status 200
Load time 0.316 s
Memory usage 2.81 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.220 s
Memory usage 2.8 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.170 s
Memory usage 3.16 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.648 s
Memory usage 5.3 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.621 s
Memory usage 5.29 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.396 s0.314 s-0.082 s2.82 MiB2.87 MiB+ 50.56 KiB
/wp-admin/edit.php0.206 s0.257 s+0.051 s2.85 MiB2.9 MiB+ 51.72 KiB
/wp-admin/post-new.php0.751 s0.582 s-0.169 s5.21 MiB5.3 MiB+ 87.58 KiB
/wp-admin/upload.php0.658 s0.575 s-0.083 s2.77 MiB2.8 MiB+ 33.2 KiB
/wp-admin/options-writing.php0.287 s0.208 s-0.079 s2.76 MiB2.79 MiB+ 25.37 KiB
/wp-admin/media-new.php0.340 s0.273 s-0.067 s2.74 MiB2.78 MiB+ 45.03 KiB
/wp-admin/edit-tags.php?taxonomy=category0.205 s0.224 s+0.019 s2.76 MiB2.81 MiB+ 50.2 KiB
/wp-admin/post-new.php?post_type=page0.654 s0.607 s-0.047 s5.21 MiB5.29 MiB+ 83.16 KiB
/wp-admin/options-discussion.php0.408 s0.396 s-0.012 s2.75 MiB2.78 MiB+ 35.15 KiB
/wp-admin/edit-comments.php0.245 s0.251 s+0.006 s2.78 MiB2.81 MiB+ 32.84 KiB
/0.304 s0.211 s-0.093 s3.13 MiB3.16 MiB+ 35.61 KiB
Average 0.405 s0.354 s-0.051 s3.25 MiB3.3 MiB+ 48.22 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
PHP77.9%2,1001,18513
CSS11.3%30412
JavaScript9.7%262403
SVG1.1%3107
Total 2,697 1,226 25

PHP Code Analysis | More results »

Lines of code 2,087
Total complexity 391
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 74

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

[14-Aug-2023 18:04:23 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