Social Warfare 4.3.0

Does Social Warfare work with WordPress 6.1.1 and PHP 7.4.8? 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: 503.92 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.1.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
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=46aebec90c
Aspect after-activation
HTTP status 200
Load time 0.773 s
Memory usage 4.1 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.473 s
Memory usage 4.15 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.373 s
Memory usage 4.09 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 3.227 s
Memory usage 5.86 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.309 s0.381 s+0.072 s3.54 MiB4.03 MiB+ 502.96 KiB
/wp-admin/edit.php0.186 s0.217 s+0.031 s3.57 MiB4.07 MiB+ 505.22 KiB
/wp-admin/post-new.php1.069 s1.235 s+0.166 s5.46 MiB5.9 MiB+ 446.94 KiB
/wp-admin/upload.php0.772 s0.355 s-0.417 s3.41 MiB3.96 MiB+ 564.47 KiB
/wp-admin/options-writing.php0.169 s0.314 s+0.145 s3.4 MiB3.94 MiB+ 548.19 KiB
/wp-admin/media-new.php0.266 s0.203 s-0.063 s3.38 MiB3.94 MiB+ 564.64 KiB
/wp-admin/edit-tags.php?taxonomy=category0.187 s0.225 s+0.038 s3.48 MiB3.97 MiB+ 502.48 KiB
/wp-admin/post-new.php?post_type=page0.990 s0.993 s+0.003 s5.46 MiB5.89 MiB+ 441.6 KiB
/wp-admin/options-discussion.php0.207 s0.224 s+0.017 s3.38 MiB3.94 MiB+ 566.2 KiB
/wp-admin/edit-comments.php0.242 s0.227 s-0.015 s3.48 MiB3.97 MiB+ 500.57 KiB
/0.323 s0.249 s-0.074 s3.46 MiB3.86 MiB+ 399.9 KiB
Average 0.429 s0.420 s-0.009 s3.82 MiB4.31 MiB+ 503.92 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
PHP44.7%10,01210,43799
CSS25.0%5,5999811
Sass14.0%3,1306519
JavaScript10.6%2,3791,22811
PO File3.0%67611920
JSON1.2%27705
Markdown1.1%24302
SVG0.3%6601
Total 22,382 11,947 168

PHP Code Analysis | More results »

Lines of code 9,999
Total complexity 2,263
Median class complexity 16.0
Median method complexity 2.0
Most complex class Puc_v4p9_UpdateChecker
Most complex function SWP_Permalink::get_alt_permalink()
Classes 94
Methods 733
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

User Metadata wp_usermeta 1

Sidebar Widgets 1

ID Name
swp_popular_posts_widgetSocial Warfare: Popular Posts

PHP Error Log 5 lines

[16-Nov-2022 02:33:10 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 5758
[16-Nov-2022 02:33:10 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 5758
[16-Nov-2022 02:33:14 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 5758
[16-Nov-2022 02:33:14 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 5758
[16-Nov-2022 02:33:18 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/support/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 5835
See also: All tests for this plugin, How to Hide the "Social Warfare" Admin Menu