Social Warfare 4.4.3

Does Social Warfare work with WordPress 6.3.2 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: 357.5 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.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 30,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=b325b145b5
Aspect after-activation
HTTP status 200
Load time 0.642 s
Memory usage 3.31 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.443 s
Memory usage 3.3 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.239 s
Memory usage 3.68 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.606 s
Memory usage 5.51 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.362 s0.320 s-0.042 s2.83 MiB3.19 MiB+ 367.85 KiB
/wp-admin/edit.php0.192 s0.189 s-0.003 s2.85 MiB3.22 MiB+ 370.45 KiB
/wp-admin/post-new.php0.727 s0.639 s-0.088 s5.22 MiB5.58 MiB+ 368.09 KiB
/wp-admin/upload.php0.563 s0.402 s-0.161 s2.77 MiB3.11 MiB+ 350.53 KiB
/wp-admin/options-writing.php0.188 s0.385 s+0.197 s2.77 MiB3.1 MiB+ 342.75 KiB
/wp-admin/media-new.php0.301 s0.207 s-0.094 s2.74 MiB3.1 MiB+ 362.95 KiB
/wp-admin/edit-tags.php?taxonomy=category0.162 s0.192 s+0.030 s2.76 MiB3.12 MiB+ 367.84 KiB
/wp-admin/post-new.php?post_type=page0.559 s0.557 s-0.002 s5.21 MiB5.57 MiB+ 363.72 KiB
/wp-admin/options-discussion.php0.196 s0.246 s+0.050 s2.75 MiB3.1 MiB+ 352.53 KiB
/wp-admin/edit-comments.php0.217 s0.248 s+0.031 s2.78 MiB3.12 MiB+ 349.43 KiB
/0.264 s0.220 s-0.044 s3.13 MiB3.46 MiB+ 336.38 KiB
Average 0.339 s0.328 s-0.011 s3.26 MiB3.6 MiB+ 357.5 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
Sass
JavaScript
Language % Lines of code Comment lines Files
PHP36.9%6,6378,32664
CSS31.1%5,6029710
Sass17.4%3,1356519
JavaScript13.0%2,3421,22410
JSON1.1%20502
SVG0.4%6711
Markdown0.1%1701
Total 18,005 9,713 107

PHP Code Analysis | More results »

Lines of code 6,632
Total complexity 1,411
Median class complexity 15.0
Median method complexity 2.0
Most complex class SocialWarfare\Functions\Utilities\SWP_Post_Cache
Most complex function SocialWarfare\Utilities\SWP_Permalink::get_alt_permalink()
Classes 62
Methods 427
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 4

Sidebar Widgets 1

ID Name
swp_popular_posts_widgetSocial Warfare: Popular Posts

PHP Error Log 5 lines

[23-Oct-2023 15:57:32 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 5828
[23-Oct-2023 15:57:32 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 5828
[23-Oct-2023 15:57:36 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 5828
[23-Oct-2023 15:57:36 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 5828
[23-Oct-2023 15:57:39 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://wordpress.org/documentation/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 5905
See also: All tests for this plugin, How to Hide the "Social Warfare" Admin Menu