Social Warfare 4.5.2

Does Social Warfare work with WordPress 6.6.1 and PHP 8.1.12? A smoke test was performed on .

Summary

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

Memory usage: 657.93 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.6.1
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 20,000+
WordPress.org page https://wordpress.org/plugins/social-warfare/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 4

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=social-warfare%2Fsocial-warfare.php&plugin_status=all&paged=1&s&_wpnonce=2119d9b9ba
Aspect after-activation
HTTP status 200
Load time 0.578 s
Memory usage 4.06 MiB
JS errors None
Resource errors None

Social Warfare

Page screenshot: Social Warfare
URL /wp-admin/admin.php?page=social-warfare
Aspect menu-item
HTTP status 200
Load time 0.484 s
Memory usage 4.48 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.212 s
Memory usage 4.16 MiB
JS errors None
Resource errors None

Widgets ‹ Test site — WordPress

Page screenshot: Widgets ‹ Test site — WordPress
URL /wp-admin/widgets.php
Aspect new-sidebar-widgets
HTTP status 200
Load time 2.519 s
Memory usage 6.28 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.312 s0.316 s+0.004 s3.47 MiB4.09 MiB+ 635.21 KiB
/wp-admin/edit.php0.207 s0.192 s-0.015 s3.54 MiB4.18 MiB+ 658.8 KiB
/wp-admin/post-new.php0.683 s0.609 s-0.074 s5.75 MiB6.46 MiB+ 720.58 KiB
/wp-admin/upload.php0.513 s0.403 s-0.110 s3.49 MiB4.1 MiB+ 622.17 KiB
/wp-admin/options-writing.php0.179 s0.199 s+0.020 s3.41 MiB4.08 MiB+ 684.35 KiB
/wp-admin/media-new.php0.233 s0.282 s+0.049 s3.4 MiB4.08 MiB+ 697.73 KiB
/wp-admin/edit-tags.php?taxonomy=category0.170 s0.182 s+0.012 s3.47 MiB4.09 MiB+ 639.22 KiB
/wp-admin/post-new.php?post_type=page0.551 s0.553 s+0.002 s5.75 MiB6.45 MiB+ 716.2 KiB
/wp-admin/options-discussion.php0.212 s0.263 s+0.051 s3.41 MiB4.08 MiB+ 686.04 KiB
/wp-admin/edit-comments.php0.218 s0.203 s-0.015 s3.49 MiB4.1 MiB+ 621.54 KiB
/0.289 s0.212 s-0.077 s3.4 MiB3.94 MiB+ 555.37 KiB
Average 0.324 s0.310 s-0.014 s3.87 MiB4.51 MiB+ 657.93 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
Sass
Language % Lines of code Comment lines Files
PHP35.1%6,6797,63164
CSS29.4%5,6029310
JavaScript16.7%3,1741,21910
Sass16.4%3,1316519
JSON1.1%20102
XML0.6%11205
Markdown0.5%8702
SVG0.4%6711
Total 19,053 9,009 113

PHP Code Analysis | More results »

Lines of code 6,674
Total complexity 1,422
Median class complexity 15.0
Median method complexity 2.0
Most complex class SWP_Post_Cache
Most complex function SWP_Permalink::get_alt_permalink()
Classes 62
Methods 422
Functions 5

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 5

Sidebar Widgets 1

ID Name
swp_popular_posts_widgetSocial Warfare: Popular Posts

PHP Error Log 5 lines

[07-Aug-2024 16:59:08 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 6085
[07-Aug-2024 16:59:08 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 6085
[07-Aug-2024 16:59:12 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 6085
[07-Aug-2024 16:59:12 UTC] PHP Deprecated:  Hook block_categories is <strong>deprecated</strong> since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 6085
[07-Aug-2024 16:59:16 UTC] PHP Notice:  Function wp_enqueue_script() was called <strong>incorrectly</strong>. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 6085
See also: All tests for this plugin, How to Hide the "Social Warfare" Admin Menu