Social Warfare 4.4.5.1

Does Social Warfare work with WordPress 6.4.3 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: 378.78 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.3
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=cc57f99439
Aspect after-activation
HTTP status 200
Load time 0.635 s
Memory usage 3.88 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.511 s
Memory usage 3.87 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.237 s
Memory usage 3.86 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.508 s
Memory usage 5.77 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.356 s0.388 s+0.032 s3.38 MiB3.77 MiB+ 394.23 KiB
/wp-admin/edit.php0.230 s0.252 s+0.022 s3.41 MiB3.85 MiB+ 458.38 KiB
/wp-admin/post-new.php1.089 s0.895 s-0.194 s5.46 MiB5.82 MiB+ 368.77 KiB
/wp-admin/upload.php0.755 s0.490 s-0.265 s3.32 MiB3.69 MiB+ 377.63 KiB
/wp-admin/options-writing.php0.242 s0.265 s+0.023 s3.32 MiB3.68 MiB+ 370.16 KiB
/wp-admin/media-new.php0.322 s0.250 s-0.072 s3.3 MiB3.68 MiB+ 389.73 KiB
/wp-admin/edit-tags.php?taxonomy=category0.218 s0.214 s-0.004 s3.31 MiB3.7 MiB+ 394.62 KiB
/wp-admin/post-new.php?post_type=page0.645 s0.578 s-0.067 s5.45 MiB5.81 MiB+ 368.41 KiB
/wp-admin/options-discussion.php0.319 s0.279 s-0.040 s3.3 MiB3.67 MiB+ 379.31 KiB
/wp-admin/edit-comments.php0.261 s0.237 s-0.024 s3.34 MiB3.7 MiB+ 376.18 KiB
/0.292 s0.237 s-0.055 s3.36 MiB3.64 MiB+ 289.14 KiB
Average 0.430 s0.371 s-0.059 s3.72 MiB4.09 MiB+ 378.78 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.7%6,6288,32964
CSS31.0%5,6029710
Sass17.3%3,1356519
JavaScript13.0%2,3421,22410
JSON1.1%20502
Markdown0.5%9502
SVG0.4%6711
Total 18,074 9,716 108

PHP Code Analysis | More results »

Lines of code 6,623
Total complexity 1,410
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 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

[31-Jan-2024 06:57:21 UTC] PHP Deprecated:  Hook block_categories is deprecated since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 6031
[31-Jan-2024 06:57:21 UTC] PHP Deprecated:  Hook block_categories is deprecated since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 6031
[31-Jan-2024 06:57:25 UTC] PHP Deprecated:  Hook block_categories is deprecated since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 6031
[31-Jan-2024 06:57:25 UTC] PHP Deprecated:  Hook block_categories is deprecated since version 5.8.0! Use block_categories_all instead. in /wp-includes/functions.php on line 6031
[31-Jan-2024 06:57:29 UTC] PHP Notice:  Function wp_enqueue_script() was called incorrectly. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see <a>Debugging in WordPress</a> for more information. (This message was added in version 5.8.0.) in /wp-includes/functions.php on line 6031
See also: All tests for this plugin, How to Hide the "Social Warfare" Admin Menu