Social Warfare 4.4.6.3

Does Social Warfare work with WordPress 6.5.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: 626.47 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.5.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=51cc950f58
Aspect after-activation
HTTP status 200
Load time 0.596 s
Memory usage 3.95 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.475 s
Memory usage 4.41 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.209 s
Memory usage 4.12 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.260 s
Memory usage 6.22 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.446 s0.349 s-0.097 s3.44 MiB4.05 MiB+ 624.89 KiB
/wp-admin/edit.php0.232 s0.224 s-0.008 s3.46 MiB4.13 MiB+ 689.03 KiB
/wp-admin/post-new.php0.914 s0.694 s-0.220 s5.59 MiB6.29 MiB+ 719.77 KiB
/wp-admin/upload.php0.607 s0.471 s-0.136 s3.38 MiB3.98 MiB+ 610.46 KiB
/wp-admin/options-writing.php0.211 s0.242 s+0.031 s3.37 MiB3.94 MiB+ 581.74 KiB
/wp-admin/media-new.php0.303 s0.235 s-0.068 s3.35 MiB3.94 MiB+ 601.94 KiB
/wp-admin/edit-tags.php?taxonomy=category0.205 s0.212 s+0.007 s3.37 MiB3.98 MiB+ 626.83 KiB
/wp-admin/post-new.php?post_type=page0.565 s0.597 s+0.032 s5.59 MiB6.28 MiB+ 715.41 KiB
/wp-admin/options-discussion.php0.243 s0.339 s+0.096 s3.36 MiB3.96 MiB+ 611.41 KiB
/wp-admin/edit-comments.php0.462 s0.249 s-0.213 s3.39 MiB3.99 MiB+ 608.39 KiB
/0.349 s0.238 s-0.111 s3.42 MiB3.91 MiB+ 501.26 KiB
Average 0.412 s0.350 s-0.062 s3.79 MiB4.4 MiB+ 626.47 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.6%6,6178,21664
CSS31.0%5,6029710
Sass17.4%3,1356519
JavaScript13.0%2,3421,22510
JSON1.1%20502
Markdown0.5%9502
SVG0.4%6711
Total 18,063 9,604 108

PHP Code Analysis | More results »

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

[10-Apr-2024 08:36:34 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 6078
[10-Apr-2024 08:36:34 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 6078
[10-Apr-2024 08:36:38 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 6078
[10-Apr-2024 08:36:39 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 6078
[10-Apr-2024 08:36:43 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 6078
See also: All tests for this plugin, How to Hide the "Social Warfare" Admin Menu